Module: OpenAI::Models::ImageGenerateParams::Quality

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

Overview

The quality of the image that will be generated.

  • ‘auto` (default value) will automatically select the best quality for the given model.

  • ‘high`, `medium` and `low` are supported for `gpt-image-1`.

  • ‘hd` and `standard` are supported for `dall-e-3`.

  • ‘standard` is the only option for `dall-e-2`.

Constant Summary collapse

STANDARD =
:standard
HD =
:hd
LOW =
:low
MEDIUM =
:medium
HIGH =
:high
AUTO =
:auto

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

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info