When deploying to LiveKit Cloud and trying to use ...
# agents
p
When deploying to LiveKit Cloud and trying to use the agent, I am getting an error, causing TTS not to work:
Copy code
livekit.agents._exceptions.APITimeoutError: 11labs tts timed out after 10.0 seconds
...
livekit.agents._exceptions.APIStatusError: Could not synthesize (status_code=-1, request_id=None, body=None, retryable=True)
For extra context: • It works fine during dev, but is a persistent issue with the deployed version • agent ID is
AD_kpRTqQCmWZMp
• I'm on a paid ElevenLabs plan (creator) • I am using the ElevenLabs plugin rather than LiveKit inference so I can use custom voices • If I use another STT like Cartesia, it works fine, meaning LLM & TTS nodes are not the issue
e
Might be configuration issue for llm. Verify the output and input of LLM and TTS models.
p
Thanks for jumping in. If I use another STT like Cartesia, it works fine, meaning LLM & TTS nodes are not the issue
e
So which STT you are using earlier?
p
The issue is with ElevenLabs
For clarification I am using the ElevenLabs plugin rather than LiveKit inference so I can use custom voices
r
Can you please double check the voice id is correct. I saw a report similar to this yesterday and the voice id the user was using had a typo
Oh, wait I just noticed you say you are using plugin and not gateway.. What is the difference in your dev and prod env. Not sure why it would work in one and not the other.
p
for anyone finding this via search, I issued a new API key on my Elevnlabs (paid) account, and that seemed to fix the issue (strange tbh) potentially could have been the livekit cloud instance was still referring to my API key of the free tier account, but I'm pretty sure I updated it
👍🏼 1
👀 1