Module: OpenAI::Models::ImageGenerateParams::ResponseFormat
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/image_generate_params.rb
Overview
The format in which generated images with ‘dall-e-2` and `dall-e-3` 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 isn’t supported for ‘gpt-image-1` which 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