Skip to main content
Fix how a word is spoken. Pass pronunciations inline for one request, or save them in a lexicon and reuse it by ID.

Two ways to set a pronunciation

Pronunciation kinds

Inline example

kind is required on each inline entry.

Lexicon example

The reply has a lexicon_id (lx_...). Pass it as lexicon_id when you synthesize.