Class SpeechGenerationOptions
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class SpeechGenerationOptions
Properties
| Edit this page View SourceSpeechAudioFormat
Parameters for audio output. Required when audio output is requested with modalities: ["audio"].
Declaration
[JsonProperty("format")]
public AudioEncoding? SpeechAudioFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| AudioEncoding? |
VoiceId
The voice the model uses to respond. Supported voices are alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, and shimmer.
Declaration
[JsonProperty("voice")]
public string VoiceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |