Give HeyGen Voice a pronunciation for a name, brand, or unfamiliar term while keeping its written spelling. Choose where the rule should apply:
For Text to Speech, use a public or instant voice with
heygen-voice-1 or heygen-voice-1-turbo. Both completed speech and streaming speech accept inline IPA and pronunciation dictionaries.
Listen: the same spelling, different pronunciations
The script says each name twice, with a different country each time. Compare the automatic reading with a version that supplies IPA for each occurrence.The same name can sound different across countries: Thomas in America, Thomas in France; José in Spain, José in Portugal; David in England, David in France. Same spelling, different pronunciation.
Without IPA
Automatic pronunciation · 15.60 seconds
With inline IPA
IPA supplied for each name · 13.02 seconds
heygen-voice-1, language: "en", and expressiveness_boost: 0.5. Both start with [explaining to a confused customer] and use the same [pause] tags. Only the inline IPA markup changes between the submitted requests. Timing can vary between takes; listen to the names themselves.
The inline version requests these pronunciations:
Set a pronunciation for one occurrence
Wrap the written word in<pron> and put its IPA in the ipa attribute, between slashes:
POST /v3/models/audio/tts:
audio_url and its duration. To make the automatic version, remove the <pron> wrappers while keeping the names, punctuation, audio tags, and other fields unchanged.
Download the exact request bodies used for the samples: without IPA · with inline IPA.
Apply one pronunciation throughout a request
Usepronunciation_dictionary when every occurrence of a term should have the same pronunciation. Each key is the written term, and its value is slash-wrapped IPA:
<pron> tag overrides the dictionary for the text it wraps. For the country comparison above, use inline tags so each occurrence can have its own pronunciation.
Tips
- Keep IPA values between
/slashes. The stress markˈgoes before the stressed syllable. - A TTS dictionary can contain up to 100 entries. Term keys can be up to 128 characters and IPA values up to 512 characters. A request can apply up to 100 pronunciation occurrences across the dictionary and inline tags.
- Keep the voice, model, language, audio tags, and other settings the same when comparing pronunciation rules.
- Listen to the result in context before reusing a rule across scripts. See the TTS pronunciation reference for supported models and validation errors.

