Module: OpenAI::Models::ImageEditParams::ResponseFormat
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/image_edit_params.rb,
sig/openai/models/image_edit_params.rbs
Overview
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 (default is url for
dall-e-2), as GPT image models always return base64-encoded images.
Constant Summary collapse
- URL =
:url- B64_JSON =
:b64_json
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values
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?.values ⇒ ::Array[OpenAI::Models::ImageEditParams::response_format]
170 |
# File 'sig/openai/models/image_edit_params.rbs', line 170
def self?.values: -> ::Array[OpenAI::Models::ImageEditParams::response_format]
|