Skip to content

Commit

Permalink
fixed passing image options
Browse files Browse the repository at this point in the history
  • Loading branch information
madox2 committed Feb 17, 2025
1 parent accbca7 commit 430966f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
def make_openai_image_options(options):
return {
'model': options['model'],
'quality': 'standard',
'size': '1024x1024',
'style': 'vivid',
'quality': options['quality'],
'size': options['size'],
'style': options['style'],
'response_format': 'b64_json',
}

Expand Down

0 comments on commit 430966f

Please sign in to comment.