Class TextToSpeechOptions
[Serializable]
public class TextToSpeechOptions : GenerativeOptions, IGENOptions
- Inheritance
-
objectTextToSpeechOptions
- Implements
- Inherited Members
Fields
SpeechAudioFormat
Parameters for audio output. Required when audio output is requested with modalities: ["audio"].
public SerializableNullable<AudioEncoding> SpeechAudioFormat
Field Value
- SerializableNullable<AudioEncoding>
VoiceId
The voice the model uses to respond. Supported voices are alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, and shimmer.
public string VoiceId
Field Value
- string