Script supported XML tags

Synthesia API Scripts

Synthesia API scripts support a set of HTML-like tags that let you control timing and pronunciation in generated videos.

Quick Reference

Tag Purpose Example
<break> Insert a pause Hello <break time="2s"/> world
<sub> Control pronunciation <sub alias="Syn-the-zia">Synthesia</sub>

Insert Pauses with <break>

Use the <break> tag to add pauses or delays in narration:

Syntax:

HTML

<break time="1s"/>

Example:

Text

Hello <break time="2s"/> world

Control Pronunciation with <sub>

Use the <sub> tag to make the avatar say one word while displaying another as on-screen text:

Syntax:

HTML

<sub alias="spoken text">caption text</sub>

Example:

Text

The word is <sub alias="Syn-the-zia">Synthesia</sub>