SSML Reference
Resemble accepts Speech Synthesis Markup Language (SSML) so you can precisely control pronunciation, pacing, and style. Punctuation is handled automatically, but SSML tags unlock finer control such as emphasizing a word, spelling out acronyms, or inserting pauses.
Supported Elements
<speak> Root Element
Inline Tags
Inline tags are placed at a specific point in the text to produce a vocal expression, such as a laugh, pause, or breath. They use square brackets and do not wrap any text.
Pauses
Laughter & Crying
Mouth Sounds
Breathing
Place inline tags where the expression would naturally occur in conversation, and combine them with punctuation for the most natural results.
Wrapping Tags
Wrapping tags enclose a section of text to modify its delivery style, such as whispering or singing. Wrap complete phrases rather than individual words.
Volume & Intensity
Pitch & Speed
Vocal Style
Wrapping tags can be nested to combine styles:
<say-as>
Spell out characters or indicate alternate interpretation.
<sub>
<lang>
Switch the language mid-stream if the voice supports it.
Supported xml:lang Codes
<resemble:convert>
Performs speech-to-speech using a donor recording.
Maximum file size: 50 MB, maximum duration: 300 seconds. Files exceeding either limit are trimmed.
Original Audio
Converted Audio
Prompting with Speech-to-Speech
For speech-to-speech conversion, place the prompt attribute directly on the <resemble:convert> tag:
The prompt will guide how the donor audio is converted to the target voice, allowing you to adjust accent, tone, or delivery style.
