Control how your persona pronounces specific words, names, and terms during conversations.
Pronunciation dictionaries let you define custom pronunciation rules so your persona says words exactly how you want. This is useful for brand names, technical terms, acronyms, and foreign words that TTS engines may mispronounce.Tavus automatically syncs your dictionary to your TTS provider, so rules work regardless of which TTS engine your persona uses.
You create a pronunciation dictionary with a set of rules
Each rule maps a text (the word to match) to a pronunciation (how it should be spoken)
You attach the dictionary to a persona via the pronunciation_dictionary_id field in the TTS layer
When you update a dictionary’s rules, all personas referencing it are automatically updated. When you delete a dictionary, it is cleanly removed from all linked personas.
If you provide your own TTS API key, you can use Tavus pronunciation dictionaries the same way — just set pronunciation_dictionary_id on the TTS layer. Tavus will sync the dictionary rules to your provider account automatically.
word_boundaries is only applied by ElevenLabs. When syncing to Cartesia, this option is ignored and the rule is applied without word-boundary matching.
Each persona supports one pronunciation dictionary at a time. Setting a new pronunciation_dictionary_id replaces the previous one. Setting it to an empty string removes the dictionary.