Skip to content

Commit f931861

Browse files
ian-massinghamcollindutter
authored andcommitted
fix: doc string update for gpt-image-1 in OpenAiImageGenerationDriver (#1936)
1 parent 5757e5a commit f931861

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

griptape/drivers/image_generation/openai_image_generation_driver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class OpenAiImageGenerationDriver(BaseImageGenerationDriver):
3131
image_size: Size of the generated image. Must be one of the following, depending on the requested model:
3232
dall-e-2: [256x256, 512x512, 1024x1024]
3333
dall-e-3: [1024x1024, 1024x1792, 1792x1024]
34+
gpt-image-1: [1024x1024, 1536x1024, 1024x1536, auto]
3435
response_format: The response format. Currently only supports 'b64_json' which will return
3536
a base64 encoded image in a JSON object.
3637
background: Optional and only supported for gpt-image-1. Can be either 'transparent', 'opaque', or 'auto'.

0 commit comments

Comments
 (0)