Skip to main content
Every agent speaks through a Text-to-Speech (TTS) engine that converts the LLM’s text response into audio in real time. TruGen ships with ElevenLabs and Cartesia as the default providers — both deliver sub-150 ms first-audio latency across dozens of languages and voice styles. The voice is configured per agent via voice_id. Copy an ID from the Voice Library and drop it into your agent config.

Setting a voice

Set voice_id when you create or update an agent. Everything else — provider, model, sample rate, encoding — falls back to platform defaults if omitted.
You can also change the voice directly from the Create New Agent form in the Developer Portal — no code required.

Full TTS configuration

For advanced use — custom pronunciations, sample rate, pitch, speaking rate, stability — pass a full tts object:
See the full agent configuration reference for every field.

Choosing a voice

Choosing a TTS provider

Full provider list in Providers.

Custom pronunciations

Product names, acronyms, and industry jargon often get mispronounced. Fix them per-voice by adding entries to customPronounciation:
Pronunciations apply to whichever voice is set on the agent. For dictionaries shared across many agents, see pronunciation dictionaries (coming soon).

Fallback voices

If the primary TTS provider fails or is rate-limited, TruGen falls back to a secondary voice automatically. Set fallback_voice_id to a voice from a different provider for resilience:

Voice cloning

For a fully custom voice — a spokesperson, a specific character, or your CEO — TruGen supports voice cloning through ElevenLabs Professional Voice Cloning. Contact sales@trugen.ai or provide an existing PVC voice ID directly as voice_id.

What’s next

Voice Library

Browse every stock voice and copy the ID.

Multilingual

Configure STT + TTS for 60+ languages.