Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]
. Learn more.
Name | Type | Description | Notes |
---|---|---|---|
voice | VoiceEnum | Specifies the voice type. Supported voices are `alloy`, `echo`, `fable`, `onyx`, `nova`, and `shimmer`. | |
format | FormatEnum | Specifies the output audio format. Must be one of `wav`, `mp3`, `flac`, `opus`, or `pcm16`. |
Name | Value |
---|---|
ALLOY | "alloy" |
ECHO | "echo" |
FABLE | "fable" |
ONYX | "onyx" |
NOVA | "nova" |
SHIMMER | "shimmer" |
Name | Value |
---|---|
WAV | "wav" |
MP3 | "mp3" |
FLAC | "flac" |
OPUS | "opus" |
PCM16 | "pcm16" |