for tts configuration, i'm using elevenlabs, can i...
# ask-ai
e
for tts configuration, i'm using elevenlabs, can i be able to use all voices from elevenlabs, or there is a limitation because i've used one voice_id from elevenlabs and it's not working, getting error failed to syntesis
t
Thanks for reaching out, Aman. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — you're asking whether all ElevenLabs voices can be used and why one
voice_id
gave a "failed to syntesis" error. Quick checklist and next steps so we can pinpoint the problem: 1) Which integration method are you using? • LiveKit Inference (voice specified as a string like
"elevenlabs/eleven_turbo_v2_5:VOICE_ID"
) — only default ElevenLabs voices are supported; custom/cloned/community voices will fail. • ElevenLabs plugin (
elevenlabs.TTS(...)
with your
ELEVEN_API_KEY
) — full access to default and custom voices in your ElevenLabs account. 2) If you’re using Inference, try a known default voice ID (for example
EXAVITQu4vr4xnSDxMaL
or
Xb7hH8MSUJpSbSDYk0k2
) to confirm it works. 3) If you’re using the plugin, confirm your
ELEVEN_API_KEY
is set and valid. 4) Please share: • The exact
voice_id
you tried (you can redact sensitive parts). • The integration method (Inference string vs plugin). • Any full error log or debug output you see. I’ll use those details to tell you whether the voice is supported or what else to change. Would you like steps to enable debug logging next? Sources: ElevenLabs TTS | LiveKit Docs | ElevenLabs TTS plugin guide | LiveKit Docs
e
i'm using elevenlabs plugin voice_id is Sm1seazb4gs7RSlUVw7c i've api key set for elevenlab
t
Thanks — since you’re using the ElevenLabs plugin and have an API key set, custom voices like
Sm1seazb4gs7RSlUVw7c
should be supported. Let’s narrow this down. Please try the following and share results or error logs: 1. Confirm the voice ID is active in your ElevenLabs account (ElevenLabs Voice Library). 2. Test a known default voice ID (e.g.,
EXAVITQu4vr4xnSDxMaL
) to confirm plugin calls succeed. 3. Explicitly set a compatible model, for example:
Copy code
tts=elevenlabs.TTS(
  voice_id="Sm1seazb4gs7RSlUVw7c",
  model="eleven_multilingual_v2"
)
1. Increase
streaming_latency
(try
3
) to avoid timeouts:
Copy code
streaming_latency=3
1. Ensure the input text is non-empty and contains no unsupported SSML (or set
enable_ssml_parsing=True
if using SSML). 2. If it still fails, paste the full error/log output from the TTS call (redact any secrets). Send the test results and logs and I’ll identify the next step. Sources: ElevenLabs TTS plugin guide | LiveKit Docs | ElevenLabs TTS | LiveKit Docs