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. The GPT
image models support low, medium, and high. gpt-image-2.5-sunburst and
gpt-image-2.5-flare, including their 2026-09-08 snapshots, also support
xhigh and max. Defaults to auto.
Constant Summary collapse
- LOW =
:low- MEDIUM =
:medium- HIGH =
:high- XHIGH =
:xhigh- MAX =
:max- AUTO =
:auto- STANDARD =
Deprecated.
This quality was only supported by retired DALL·E models. Use a GPT image
quality instead.
:standard
Class Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type
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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.values ⇒ ::Array[OpenAI::Models::ImageEditParams::quality]
458 |
# File 'sig/openai/models/image_edit_params.rbs', line 458
def self?.values: -> ::Array[OpenAI::Models::ImageEditParams::quality]
|