Text to Speech

The voice the agent speaks with. Applies to the Cascading pipeline only.

Provider, model, language, and voice

Sidebar → Agents → open an agent → Builder tab → Text-to-Speech. Text to Speech (TTS) is the agent's voice: it turns the model's written reply into spoken audio. Because the voice is a large part of how an agent feels to a caller, use the Preview button before you commit to one.

This section only applies to the Cascading pipeline; under Gemini Live it is replaced by a notice, the same as Speech to Text.

The Provider field lists 17 speech vendors: ElevenLabs, OpenAI TTS, Cartesia, Sarvam AI (Bulbul, Indian TTS), Deepgram (Aura), Azure Speech, Rime, MiniMax, IndicF5, Chatterbox, ZAI Q v1.0 TTS, ZAI ZV v1.0 TTS, Google TTS, PlayHT, Gemini Live TTS, Kokoro, and Custom REST TTS. Only 9 of these (ElevenLabs, Sarvam AI, Cartesia, Deepgram, Google, Azure, OpenAI, Rime, and MiniMax) have a proper Model/Language/Voice dropdown; for the other 8, those fields become free-text boxes and you paste in the exact voice id the provider expects. Underneath the Voice field, a short note tells you where to find that provider's voice ids, for example "Any ElevenLabs voice id works, paste one from your ElevenLabs voice library."

SettingStored asTypeDefaultWhat it does
Provider
config.tts.provider
Searchable dropdown
None
Which of the 17 text-to-speech vendors to use.
Model
config.tts.model
Dropdown (9 providers) or free text (others)
None
The synthesis model, when the provider offers a choice. For providers with no models at all (such as Deepgram), this field is replaced by Language in the same spot.
Language
config.tts.language
Dropdown (9 providers) or free text (others)
en
The language the agent speaks in.
Voice
config.tts.voice
Dropdown (9 providers) or free text (others), with Preview
None
The specific voice. Click Preview next to this field to hear a short sample sentence before you save.
Speed
config.tts.speed
Slider, 0.5 to 2
1
How fast the agent talks. 1 is a natural pace.
Sample rate (Hz)
config.tts.sample_rate
Select: 8000, 16000, 24000, 44100
24000
Audio quality. Higher numbers sound clearer but use more bandwidth. Shown for every provider, not only Deepgram.

Using the Preview button

Click Preview and Voice Studio generates a short spoken sample ("Hello! This is a preview of how this agent will sound.") using your current Provider, Model, Voice, Language, and Speed settings, then plays it right in your browser - there is no visible player or progress bar, it simply plays. The button reads Playing… the instant the request is sent, and switches back to Preview as soon as playback begins, not when it finishes, so do not be surprised if the label changes back while the audio is still playing.

ElevenLabs-only extras

SettingStored asTypeDefaultWhat it does
Stability
config.tts.stability
Slider, 0 to 1 (ElevenLabs only)
0.5
Trades consistency for expressiveness. Only appears when the provider is ElevenLabs.
Similarity
config.tts.similarity
Slider, 0 to 1 (ElevenLabs only)
0.75
How closely the voice matches the original reference recording. Only appears when the provider is ElevenLabs.

Style, Emotion, and Streaming

SettingStored asTypeDefaultWhat it does
Style
config.tts.style
Text
Empty
A speaking-style hint, for example "conversational" or "narration." Shown for every provider, but currently has no effect on the audio produced.
Emotion
config.tts.emotion
Text
Empty
An emotion hint, for example "friendly" or "calm." Shown for every provider, but currently has no effect.
Streaming
config.tts.streaming
Toggle
On
Shown as a setting for sending audio in pieces as it is generated. In practice this already happens automatically, sentence by sentence, regardless of this toggle.
Important

Style and Emotion look like normal working fields but currently do nothing. Streaming's own toggle is redundant, since sentence-by-sentence audio delivery already happens without it.