Module: OpenAI::Models::Audio::SpeechCreateParams::Model

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/audio/speech_create_params.rb,
sig/openai/models/audio/speech_create_params.rbs

Overview

One of the available TTS models: tts-1, tts-1-hd, gpt-4o-mini-tts, or gpt-4o-mini-tts-2025-12-15.

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

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?.variants::Array[OpenAI::Models::Audio::SpeechCreateParams::model]

Returns:

  • (::Array[OpenAI::Models::Audio::SpeechCreateParams::model])


73
# File 'sig/openai/models/audio/speech_create_params.rbs', line 73

def self?.variants: -> ::Array[OpenAI::Models::Audio::SpeechCreateParams::model]