fix: use Polza 16:9 aspect ratio
This commit is contained in:
parent
33385957b4
commit
ece8cea2e2
2 changed files with 2 additions and 2 deletions
|
|
@ -199,7 +199,7 @@ class PolzaClient:
|
|||
async def create(self, model: str, prompt: str) -> str:
|
||||
input_payload = {
|
||||
"prompt": prompt,
|
||||
"aspect_ratio": "1792x1024",
|
||||
"aspect_ratio": "16:9",
|
||||
"max_images": 1,
|
||||
}
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ class ImageGenerationPromptTest(unittest.TestCase):
|
|||
|
||||
self.assertEqual(generation_id, "gen-test")
|
||||
payload = http_client.post.await_args.kwargs["json"]
|
||||
self.assertEqual(payload["input"], {"prompt": "prompt", "aspect_ratio": "1792x1024", "max_images": 1})
|
||||
self.assertEqual(payload["input"], {"prompt": "prompt", "aspect_ratio": "16:9", "max_images": 1})
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue