Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.1 KB

CreateChatCompletionRequestAudio.md

File metadata and controls

40 lines (24 loc) · 1.1 KB

CreateChatCompletionRequestAudio

Parameters for audio output. Required when audio output is requested with modalities: [\"audio\"]. Learn more.

Properties

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`.

Enum: VoiceEnum

Name Value
ALLOY "alloy"
ECHO "echo"
FABLE "fable"
ONYX "onyx"
NOVA "nova"
SHIMMER "shimmer"

Enum: FormatEnum

Name Value
WAV "wav"
MP3 "mp3"
FLAC "flac"
OPUS "opus"
PCM16 "pcm16"