Inline IPA in the request text
Write the IPA transcription between slashes, directly where the word would be:normalize: false
for that request: this skips the language-model pass, while basic number,
date and currency expansion still runs.
- Python
- JavaScript
- cURL
Use real IPA characters (the non-ASCII phonetic alphabet, e.g.
ˈ, ː,
ɡ), not ASCII respellings, inside the slashes. A plain English word
between slashes is just read as text. SSML <phoneme> tags are not
supported; write the IPA inline instead.Pronunciation dictionaries
A dictionary is a per-project word list. It applies to a synthesis request only when that request sends the dictionary’sproject_id. Each entry maps a
word to either:
- a replacement spelling (write it how it sounds), or
- an IPA transcription (exact phonetic control).
replacement is required on every entry; when ipa is also set,
IPA wins.
project_id on synthesis from the raw API, from
every generation and session method in Python (project_id), Java and
JavaScript (projectId), or from the LiveKit and Pipecat plugins. Full
management guide: Dictionaries ·
API reference · SDK pages:
Python, JavaScript,
Java.
Choosing the right tool
Quick example
Send the dictionary’s project ID on synthesis. WithprojectId set, the
project’s active dictionaries for the request language apply; use
dictionaryIds when you need an exact selection:
Next steps
Dictionaries
Project word lists and per-request selection
Spell tags
Read codes and emails character by character
Text normalization
How numbers, dates and currencies are read
Dictionaries API
Raw HTTP contract for dictionaries and entries