Can you give me an example of using SSML to custom...
# ask-ai
f
Can you give me an example of using SSML to customize pronunciation in the tts node, like adding a pause between certain characters?
t
Thanks for reaching out, Abdullah. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to help you customize pronunciation in the TTS node using SSML! You can use tags like
<say-as>
and
<break>
to achieve this. For instance, here's a friendly example of spelling out "URL" with pauses between each character:
Copy code
<speak>
  Please visit the U<break time="500ms"/>R<break time="500ms"/>L.
</speak>
Another way you might try is:
Copy code
<speak>
  Please visit the <say-as interpret-as="characters">URL</say-as><break time="500ms"/>.
</speak>
Just a quick tip: make sure your TTS plugin supports SSML parsing. For example, if you’re using ElevenLabs, you’ll want to set
enable_ssml_parsing=True
so it can properly process those SSML tags. If you have any questions or want to explore more options, feel free to ask—I'm here to help! Sources: Docs::Agents | Google Cloud TTS integration guide | LiveKit Docs | Docs::Agents | Docs::Agents | Agent speech and audio | LiveKit Docs
f
Does Cartesia support ssml parsing?
t
Thank you for reaching out! At the moment, I’m not entirely sure if Cartesia supports SSML parsing for TTS. Could you please share a bit more about the specific SSML features you're interested in or what you're hoping to achieve? That way, I can assist you more effectively and find the best solution together.