Speech Synthesis Markup Language (SSML)
SSML is an XML-based markup language for controlling how text is spoken. On the current models, simba-3.2 and simba-3.0, it sets pauses, speaking rate and pronunciation. Wrap your content in a <speak> tag:
Escaping Characters
Transforming text into SSML requires escaping certain characters to ensure correct interpretation:
An attribute value we do not recognise is ignored, not refused: a misspelled emotion or level synthesizes as ordinary speech and still returns 200. Malformed XML is different - unbalanced tags or undeclared entities return 400. Check the spelling of an attribute value if a tag seems to have had no effect.
What each model applies
Accepted, not applied means the request still returns 200 and the text inside the tag is spoken, without the change the tag describes. Simba 1.6 is retired for new workspaces. From 2026-11-21 both of its ids are served by the current models, so they apply only the tags in the current-model column. See Migrating off Simba 1.6.
Supported SSML Tags
prosody
The prosody tag changes how a span is spoken. Every model applies rate; only Simba 1.6 applies pitch and volume.
Parameters
Alters speech speed.
Values:
x-slow,slow,medium(alsodefault),fast,x-fast- Percentage adjustments:
-50%to+9900%(e.g.,+20%,-30%)
Adjusts the pitch of speech delivery. Simba 1.6 only: simba-3.2 and simba-3.0 accept it and do not apply it.
Values:
x-low,low,medium(alsodefault),high,x-high- Percentage adjustments:
-83%to+100%(e.g.,+20%,-30%)
Controls speech loudness. Simba 1.6 only: simba-3.2 and simba-3.0 accept it and do not apply it.
Values:
silent,x-soft,soft,medium(alsodefault),loud,x-loud- Decibel adjustments: Number with
dBsuffix (e.g.,-6dB) - Percentage adjustments:
-100%to+900%(e.g.,+20%,-30%)
break
The break tag controls pausing between words, following W3 specifications.
Parameters
Specifies pause strength.
Values:
none: 0msx-weak: 250msweak: 500msmedium: 750msstrong: 1000msx-strong: 1250ms
Specifies pause duration (0-10 seconds). A single break is capped at 10 seconds, and the total silence one document may insert is capped at 30 seconds - past that, further pauses are dropped rather than rejected.
Values:
- Milliseconds:
mssuffix (e.g.,100ms) - Seconds:
ssuffix (e.g.,1s)
emphasis
The emphasis tag adds or removes emphasis from text, modifying speech similarly to prosody but without setting individual attributes. Simba 1.6 only: simba-3.2 and simba-3.0 accept it and speak the text without emphasis.
Parameters
Specifies emphasis level.
Values:
reducedmoderatestrong
sub
The sub tag replaces pronunciation for contained text, following W3 specifications.
Parameters
Specifies text to be spoken instead of enclosed text.
speechify:style
The speechify:style tag sets an emotion style. Simba 1.6 only: simba-3.2 and simba-3.0 accept it and speak the text without the style. See Emotion styles.
Parameters
Sets the voice emotion on Simba 1.6. Values: angry, cheerful, sad, terrified, relaxed, fearful, surprised, calm, assertive, energetic, warm, direct, bright.