Module: OpenAI::Models::ImageEditParams::Image
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/image_edit_params.rb,
sig/openai/models/image_edit_params.rbs
Overview
The image(s) to edit. Must be a supported image file or an array of images.
For the GPT image models (gpt-image-1-mini, gpt-image-1.5, gpt-image-2,
gpt-image-2-2026-04-21, gpt-image-2.5-sunburst,
gpt-image-2.5-sunburst-2026-09-08, gpt-image-2.5-flare, and
gpt-image-2.5-flare-2026-09-08), each image should be a png, webp, or
jpg file less than 50MB. You can provide up to 16 images.
chatgpt-image-latest follows the same input constraints as GPT image models.
Constant Summary collapse
Class Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.variants ⇒ Array(StringIO, Array<StringIO>)
|
|
# File 'lib/openai/models/image_edit_params.rb', line 384
|