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