Class SpeechGenerationOptions
public class SpeechGenerationOptions
- Inheritance
-
objectSpeechGenerationOptions
Properties
SpeechAudioFormat
Parameters for audio output. Required when audio output is requested with modalities: ["audio"].
public AudioEncoding? SpeechAudioFormat { get; set; }
Property Value
- 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 { get; set; }
Property Value
- string