Method: OpenAI::Models::ImageGenerateParams#quality

Defined in:
lib/openai/models/image_generate_params.rb

#qualitySymbol, ...

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.


90
# File 'lib/openai/models/image_generate_params.rb', line 90

optional :quality, enum: -> { OpenAI::ImageGenerateParams::Quality }, nil?: true