4:3 aspect ratio
Browse files- flumina.py +4 -1
flumina.py
CHANGED
@@ -28,6 +28,8 @@ _ASPECT_RATIOS = [
|
|
28 |
(2, 3),
|
29 |
(9, 16),
|
30 |
(9, 21),
|
|
|
|
|
31 |
]
|
32 |
|
33 |
# Util
|
@@ -346,7 +348,8 @@ if __name__ == "__main__":
|
|
346 |
import asyncio
|
347 |
out = asyncio.run(f.text_to_image(
|
348 |
body=Text2ImageRequest(
|
349 |
-
prompt="test"
|
|
|
350 |
),
|
351 |
accept="*/*"
|
352 |
))
|
|
|
28 |
(2, 3),
|
29 |
(9, 16),
|
30 |
(9, 21),
|
31 |
+
(4, 3),
|
32 |
+
(3, 4),
|
33 |
]
|
34 |
|
35 |
# Util
|
|
|
348 |
import asyncio
|
349 |
out = asyncio.run(f.text_to_image(
|
350 |
body=Text2ImageRequest(
|
351 |
+
prompt="test",
|
352 |
+
aspect_ratio="4:3",
|
353 |
),
|
354 |
accept="*/*"
|
355 |
))
|