Method: OpenAI::Models::ImageEditParams#mask
- Defined in:
- lib/openai/models/image_edit_params.rb
#mask ⇒ Pathname, ...
An additional image whose fully transparent areas (e.g. where alpha is zero)
indicate where image should be edited. If there are multiple images provided,
the mask will be applied on the first image. Must be a valid PNG file, less than
4MB, and have the same dimensions as image.
58 |
# File 'lib/openai/models/image_edit_params.rb', line 58 optional :mask, OpenAI::Internal::Type::FileInput |