Allow image_generation.size to be null for OpenAI and default it to that
The API spec for image creation and image editing says "string or null", so we're allowing `null` now to trigger automatic selection.
This commit is contained in:
@@ -20,5 +20,5 @@ text_to_speech:
|
||||
image_generation:
|
||||
model_id: gpt-image-1
|
||||
style: null
|
||||
size: 1024x1024
|
||||
size: null
|
||||
quality: null
|
||||
|
||||
@@ -16,5 +16,5 @@ text_to_speech:
|
||||
image_generation:
|
||||
model_id: gpt-image-1
|
||||
style: null
|
||||
size: 1024x1024
|
||||
size: null
|
||||
quality: null
|
||||
|
||||
Reference in New Issue
Block a user