Method: OpenAI::Models::ImageEditParams#image
- Defined in:
- lib/openai/models/image_edit_params.rb
#image ⇒ Pathname, ...
The image(s) to edit. Must be a supported image file or an array of images.
For gpt-image-1, each image should be a png, webp, or jpg file less than
50MB. You can provide up to 16 images.
For dall-e-2, you can only provide one image, and it should be a square png
file less than 4MB.
22 |
# File 'lib/openai/models/image_edit_params.rb', line 22 required :image, union: -> { OpenAI::ImageEditParams::Image } |