Module: OpenAI::Models::ImageGenerateParams::Size
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/image_generate_params.rb
Overview
The size of the generated images. Must be one of ‘1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`.
Constant Summary collapse
- AUTO =
:auto
- SIZE_1024X1024 =
:"1024x1024"
- SIZE_1536X1024 =
:"1536x1024"
- SIZE_1024X1536 =
:"1024x1536"
- SIZE_256X256 =
:"256x256"
- SIZE_512X512 =
:"512x512"
- SIZE_1792X1024 =
:"1792x1024"
- SIZE_1024X1792 =
:"1024x1792"
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