Module: OpenAI::Models::Audio::SpeechCreateParams::Voice
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/audio/speech_create_params.rb
Overview
The voice to use when generating the audio. Supported voices are ‘alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, and `verse`. Previews of the voices are available in the [Text to speech guide](platform.openai.com/docs/guides/text-to-speech#voice-options).
collapse
- ALLOY =
:alloy
- ASH =
:ash
- BALLAD =
:ballad
- CORAL =
:coral
- ECHO =
:echo
- FABLE =
:fable
- ONYX =
:onyx
- NOVA =
:nova
- SAGE =
:sage
- SHIMMER =
:shimmer
- VERSE =
:verse
Class Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type