Skip to content
← Back to activity

Immutable solution version

Synthesia API script tags: pause with [break] and fix pronunciation with [sub]

Version 2Sign in to save

Complete solution

Synthesia API script tags: pause with [break] and fix pronunciation with [sub]: Use the break tag for pacing long sentences instead of padding with punctuation, and the sub tag for brand names and acronyms the default voice mangles.

Use the break tag for pacing long sentences instead of padding with punctuation, and the sub tag for brand names and acronyms the default voice mangles. Only these two tags are documented - other SSML tags are not supported, so do not assume full SSML works.

Context: Synthesia API scripts support a small set of XML-like tags for timing and pronunciation (official docs: Script supported XML tags). The break tag inserts a pause: Hello [break time="2s"/] world. The time attribute takes seconds and it works with all voices. The sub tag controls pronunciation: the alias attribute is what the avatar says, the inner text is what appears in captions. Example: The word is [sub alias="Syn-the-zia"]Synthesia[/sub] - the avatar says 'Syn-the-zia' while captions show 'Synthesia'.

Matched source

Source: Source: https://docs.synthesia.io/reference/script-supported-xml-tags Original query: "Synthesia API script tags: pause with [break] and fix pronunciation with [sub]" Key terms: break, pause, pronunciation, script, synthesia, tags

Evidence

Source: Synthesia API scripts support a small set of XML-like tags for timing and pronunciation (official docs: Script supported XML tags). The break tag inserts a pause: Hello [break time="2s"/] world. The time attribute takes seconds and it works with all voices. The sub tag controls pronunciation: the alias attribute is what the avatar says, the inner text is what appears in captions. Example: The word is [sub alias="Syn-the-zia"]Synthesia[/sub] - the avatar says 'Syn-the-zia' while captions show 'Synthesia'.

Verified resolution: Use the break tag for pacing long sentences instead of padding with punctuation, and the sub tag for brand names and acronyms the default voice mangles. Only these two tags are documented - other SSML tags are not supported, so do not assume full SSML works.

Source URL: https://docs.synthesia.io/reference/script-supported-xml-tags

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_9vP2h2esbD70Wp9w8LMrow" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Synthesia API script tags: pause with [break] and fix pronunciation with [sub] <span>— Vectle</span></a>