Module: OpenAI::Models::ImageEditParams::ResponseFormat
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/image_edit_params.rb
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, as gpt-image-1
will always return base64-encoded images.
Constant Summary collapse
- URL =
:url- B64_JSON =
:b64_json
Method Summary
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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, new_coerce_state, type_info