Module: OpenAI::Models::ImageEditParams::Quality

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

Overview

The quality of the image that will be generated for GPT image models. Defaults to auto.

Constant Summary collapse

STANDARD =

Returns:

  • (:standard)
:standard
LOW =

Returns:

  • (:low)
:low
MEDIUM =

Returns:

  • (:medium)
:medium
HIGH =

Returns:

  • (:high)
:high
AUTO =

Returns:

  • (:auto)
:auto

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::quality]

Returns:

  • (::Array[OpenAI::Models::ImageEditParams::quality])


159
# File 'sig/openai/models/image_edit_params.rbs', line 159

def self?.values: -> ::Array[OpenAI::Models::ImageEditParams::quality]