Method: OpenAI::Models::ImageEditParams#response_format
- Defined in:
- lib/openai/models/image_edit_params.rb
#response_format ⇒ Symbol, ...
The format in which the generated images are returned. Must be one of url or
b64_json. URLs are only valid for 60 minutes after the image has been
generated. This parameter is only supported for dall-e-2, as gpt-image-1
will always return base64-encoded images.
116 |
# File 'lib/openai/models/image_edit_params.rb', line 116 optional :response_format, enum: -> { OpenAI::ImageEditParams::ResponseFormat }, nil?: true |