The terms list of a brand glossary sets how the voice says each term. Every entry has a term, matched case-insensitively in the script, and at least one way to say it: a respelling in pronunciation, an IPA transcription in ipa, or both. Pronunciations change the audio only; captions and subtitles keep the original spelling.
Respellings
A respelling is written the way you would coach someone to say the term:hey-jen, hyper frames, twenty twenty-four. Add a term once you have heard it come out wrong.
IPA
IPA is enabled per account. Contact sales to turn it on. Accounts without it get
400 invalid_parameter on any request that sends ipa, and responses leave the field out.- Send
pronunciation,ipa, or both. Withipaalone, HeyGen writes the respelling for you and returns it, so every voice has a pronunciation to read. - HeyGen generates up to 10 respellings per minute, and up to 10 per request. Send
pronunciationwith any further entries, or spread them over several requests that each send the full list. - Write
ipabetween slashes, as in/ˈheɪ.dʒɛn/, in up to 512 characters. - Respelling generation runs on Google AI. If the workspace’s AI vendor policy blocks it, send both fields. If generation fails, the request returns
503and nothing is saved.
Editing IPA
Updates replace theterms list in full. Within that list:
- An entry sent back with the same
pronunciationand language keeps its IPA, with or withoutipain the body. - Changing
pronunciationwithout sendingipaclears the old IPA, since it no longer matches. "ipa": nullwith apronunciationremoves IPA from the entry.- Teammates without IPA access can still edit the glossary, and the entries they leave unchanged keep their IPA.
Per-language pronunciations
Addpronunciation_language to apply a pronunciation in one language:
ak-may and every other language says ack-mee.
- Omit the field, or send
{ "scope": "all" }, for a rule that applies to all languages. codeis a base language code:fr,es,de.- A language-specific rule takes precedence over an all-languages rule for that language.
- A term can appear once per language.
pronunciation_language only on language-specific rules.
