OpenAIAudioConfig

Parameters for audio output.

Constructors

Link copied to clipboard
constructor(format: OpenAIAudioFormat, voice: OpenAIAudioVoice)

Properties

Link copied to clipboard

Specifies the output audio format. Must be one of wav, mp3, flac, opus or pcm16.

Link copied to clipboard

The voice the model uses to respond. Supported voices are alloy, ash, ballad, coral, echo, fable, nova, onyx, sage and shimmer