Module: OpenAI::Models::ImageEditParams::Model
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/image_edit_params.rb,
sig/openai/models/image_edit_params.rbs
Overview
The model to use for image generation. One of dall-e-2 or a GPT image model
(gpt-image-1, gpt-image-1-mini, gpt-image-1.5, gpt-image-2,
gpt-image-2-2026-04-21, or chatgpt-image-latest). Defaults to
gpt-image-1.5.
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants
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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Instance Method Details
#self?.variants ⇒ ::Array[OpenAI::Models::ImageEditParams::model]
133 |
# File 'sig/openai/models/image_edit_params.rbs', line 133
def self?.variants: -> ::Array[OpenAI::Models::ImageEditParams::model]
|