VoiceAgentAudioOutputConfig interface
Output audio configuration for a voice agent. Extends the voice configuration with the session-level format and
output_audio_timestamp_types settings, which apply to every voice type.
- Extends
Properties
| format | The output audio format. Applies to every |
| output_audio_timestamp_types | Timestamp kinds to include with output audio. Applies to every |
Inherited Properties
| custom_lexicon_url | The URL of a custom pronunciation lexicon. Applies to |
| custom_text_normalization_url | The URL of a custom text-normalization configuration. Applies to |
| custom_voice_endpoint_id | The Azure custom-voice deployment endpoint identifier. Applies only when |
| personal_voice_model | The Azure personal or avatar voice model. Applies only when |
| pitch | The voice pitch adjustment. Applies to |
| prefer_locales | Preferred BCP-47 locales for multilingual synthesis. Applies to |
| speed | The numeric output speed multiplier. Applies to all known |
| style | The voice speaking style. Applies only when |
| voice | The voice name or identifier. Applies to |
| voice_locale | The enforced BCP-47 output locale. Applies to |
| voice_temperature | The voice variation temperature. Applies to |
| voice_type | The voice implementation. |
| volume | The voice volume adjustment. Applies to |
Property Details
format
The output audio format. Applies to every voice_type and defaults to 24 kHz PCM.
format?: RealtimeAudioFormatsUnion
Property Value
output_audio_timestamp_types
Timestamp kinds to include with output audio. Applies to every voice_type.
output_audio_timestamp_types?: "word"[]
Property Value
"word"[]
Inherited Property Details
custom_lexicon_url
The URL of a custom pronunciation lexicon. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
custom_lexicon_url?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.custom_lexicon_url
custom_text_normalization_url
The URL of a custom text-normalization configuration. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
custom_text_normalization_url?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.custom_text_normalization_url
custom_voice_endpoint_id
The Azure custom-voice deployment endpoint identifier. Applies only when voice_type is azure-custom.
custom_voice_endpoint_id?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.custom_voice_endpoint_id
personal_voice_model
The Azure personal or avatar voice model. Applies only when voice_type is azure-personal or avatar-voice-sync.
personal_voice_model?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.personal_voice_model
pitch
The voice pitch adjustment. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
pitch?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.pitch
prefer_locales
Preferred BCP-47 locales for multilingual synthesis. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
prefer_locales?: string[]
Property Value
string[]
Inherited From VoiceAgentVoiceConfig.prefer_locales
speed
The numeric output speed multiplier. Applies to all known voice_type values and defaults to 1.
speed?: number
Property Value
number
Inherited From VoiceAgentVoiceConfig.speed
style
The voice speaking style. Applies only when voice_type is azure-standard.
style?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.style
voice
The voice name or identifier. Applies to openai, azure-standard, azure-custom, azure-personal, and azure-realtime-native. It does not apply to avatar-voice-sync, which derives the voice name from the avatar.
voice?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.voice
voice_locale
The enforced BCP-47 output locale. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
voice_locale?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.voice_locale
voice_temperature
The voice variation temperature. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
voice_temperature?: number
Property Value
number
Inherited From VoiceAgentVoiceConfig.voice_temperature
voice_type
The voice implementation.
voice_type?: VoiceType
Property Value
Inherited From VoiceAgentVoiceConfig.voice_type
volume
The voice volume adjustment. Applies to azure-standard, azure-custom, azure-personal, and avatar-voice-sync.
volume?: string
Property Value
string
Inherited From VoiceAgentVoiceConfig.volume