Skip to content

Commit 90d1e49

Browse files
committed
fixed passing image options
1 parent 216407f commit 90d1e49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

py/image.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
def make_openai_image_options(options):
88
return {
99
'model': options['model'],
10-
'quality': 'standard',
11-
'size': '1024x1024',
12-
'style': 'vivid',
10+
'quality': options['quality'],
11+
'size': options['size'],
12+
'style': options['style'],
1313
'response_format': 'b64_json',
1414
}
1515

0 commit comments

Comments
 (0)