When using ElevenLabs TTS, can i use pronounciatio...
# ask-ai
f
When using ElevenLabs TTS, can i use pronounciation dictionaries ?
t
Thanks for reaching out, Carlos. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for reaching out! I wanted to share that ElevenLabs TTS doesn’t support traditional pronunciation dictionaries just yet. But don’t worry—you can still customize pronunciations by using SSML
phoneme
tags. This handy feature lets you specify exactly how individual words or phrases should sound in your text. To get started, just enable SSML parsing by setting the
enable_ssml_parsing
parameter in your TTS configuration. Keep in mind, this method lets you adjust pronunciations on a case-by-case basis rather than creating a global dictionary. If you need any help setting this up, I’m here for you! Sources: Agent speech and audio | LiveKit docs | ElevenLabs TTS plugin guide | LiveKit Docs | livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/model...
f
With which ElevenLabs models does this work ? Any of them that supports spanish ?
t
I'm happy to share that the ElevenLabs TTS model eleven_turbo_v2_5 fully supports both SSML phoneme tags and the Spanish language. To take advantage of these features, just enable SSML parsing by setting
enable_ssml_parsing=true
and specify
language="es"
for Spanish. Other models like eleven_flash_v2_5 and eleven_multilingual_v2 also support Spanish, though their compatibility with SSML phoneme tags isn't explicitly confirmed. To ensure everything works smoothly, I’d recommend using eleven_turbo_v2_5. Sources: pipeline-tts/changing_language/elevenlabs_change_language.py | ElevenLabs TTS plugin guide | LiveKit Docs | ElevenLabs TTS | LiveKit Docs | livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/stt.p...