VoiceResponseAudioOutput interface

The flat response audio-output projection, with optional voice, voice_type, voice_locale, and format fields.

Properties

format

The audio format used for the response's audio output.

voice

The voice name used for the response's audio output.

voice_locale

The BCP-47 locale of the voice used for the response's audio output.

voice_type

The extensible provider/type of the voice used for the response's audio output.

Property Details

format

The audio format used for the response's audio output.

format?: RealtimeAudioFormatsUnion

Property Value

voice

The voice name used for the response's audio output.

voice?: string

Property Value

string

voice_locale

The BCP-47 locale of the voice used for the response's audio output.

voice_locale?: string

Property Value

string

voice_type

The extensible provider/type of the voice used for the response's audio output.

voice_type?: VoiceType

Property Value