Skip to main content
Custom pronunciation is supported by Mist and Mist v2 only. It is not yet supported on Mist v3.
For uncommon words, such as unique brand names or product names, Rime’s speech synthesis model may not always pronounce them correctly out of the box. While the Rime team can add new words to the dictionary in about a week (reach out to your account manager via Slack or email, or contact sales@rime.ai, if you need faster turnaround or have an SLA), if you want to specify the pronunciation yourself, you can input a custom pronunciation string within curly brackets. Before writing a pronunciation string by hand, you can check the dictionary coverage to see whether the word is already covered. Custom pronunciations use Rime’s phonetic alphabet, which is inspired by the International Phonetic Alphabet (IPA). For example, the word custom would be represented as {k1Ast0xm}. This even works for made-up words, like gorbulets, which would be {g1orby0ul2Ets}.
Audio clipSentence
actually, {g1orby0ul2Ets} is a word i just made up.
When making an API request, you must set phonemizeBetweenBrackets to true. The request would look like this:
Custom pronunciation example
{
	"text": "actually, {g1orby0ul2Ets} is a word i just made up.",
    "speaker": "peak",
    "modelId": "mistv2",
    "phonemizeBetweenBrackets": true
}

Check coverage

Before writing a custom pronunciation by hand, check whether the word is already in Rime’s dictionary using the Coverage API. For an overview of all the ways to control pronunciation, see Pronunciation control.

Generate a pronunciation string from audio

If you know how a word should sound, you don’t have to write the phonetic string by hand. Record the word and post the audio to the Phonemize API — it returns a string in the Rime phonetic alphabet that you can paste into your TTS request inside {}.

The Rime phonetic alphabet

The Rime phonetic alphabet is inspired by IPA and covers vowels, consonants, and syllabic stress. The full symbol reference lives on its own page: Rime phonetic alphabet.