Module: OpenAI::Models::ImageEditParams::Size

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/image_edit_params.rb

Overview

The size of the generated images. Must be one of 1024x1024, 1536x1024 (landscape), 1024x1536 (portrait), or auto (default value) for the GPT image models, and one of 256x256, 512x512, or 1024x1024 for dall-e-2.

Constant Summary collapse

SIZE_256X256 =
:"256x256"
SIZE_512X512 =
:"512x512"
SIZE_1024X1024 =
:"1024x1024"
SIZE_1536X1024 =
:"1536x1024"
SIZE_1024X1536 =
:"1024x1536"
AUTO =
:auto

Class Method Summary collapse

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, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/image_edit_params.rb', line 292