bulky-actor-93512
10/03/2025, 3:04 PMtall-airline-16756
10/03/2025, 3:04 PMtall-airline-16756
10/03/2025, 3:05 PMbulky-actor-93512
10/03/2025, 3:05 PMtall-airline-16756
10/03/2025, 3:06 PMspeed or emotion with the sonic-2 model can cause issues, as these parameters are only supported with sonic-2-2025-03-07, which isn't available in your current setup.
• Invalid or Non-Synthesizable Text: Your input text might include placeholders that the engine can't resolve, or it could be just punctuation or non-text characters that the TTS can't process.
• Successful but Invalid Request: Occasionally, the Cartesia API might respond successfully but still fail to generate audio because of internal processing rules.
To help you move forward, please check the following:
1. Make sure you're not using speed or emotion parameters with the sonic-2 model.
2. Verify that your input text is valid and doesn't contain unsupported characters or placeholders.
3. Confirm that the Cartesia API is properly configured and running smoothly.
If you continue to face this issue, just let me know—I'm here to help and we can work through some additional troubleshooting together.
Sources: livekit-agents/livekit/agents/tts/fallback_adapter.pybulky-actor-93512
10/03/2025, 3:06 PMtall-airline-16756
10/03/2025, 3:07 PMcartesia/sonic-2:a167e0f3-df7e-4d52-a9c3-f949145efdab) looks correct, so the hiccup might be with the voice ID itself. Let’s walk through a few important points together:
• Voice ID Scope: LiveKit Inference works with default Cartesia voices only. If a167e0f3-df7e-4d52-a9c3-f949145efdab is a custom voice, it won’t be compatible here. For custom voices, you’d want to use the Cartesia plugin along with your own API key.
• Voice ID Validity: It’s a good idea to double-check that this voice ID actually exists in the Cartesia Voice Library. If it’s not a valid voice, the synthesis won’t go through.
• Authentication: Make sure your LiveKit project is set up properly for inference services — LiveKit takes care of authentication behind the scenes.
To help narrow things down, you might try using a known default voice like cartesia/sonic-2:794f9389-aac1-45b6-b726-9d9369183238. This can show if the issue is really tied to the voice ID.
Please feel free to reach out if you’d like me to guide you through checking the voice ID or if you have any other questions. I’m here to help!
Sources: examples/src/basic_agent.ts | livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/models.py | Cartesia TTS | LiveKit Docs | Cartesia TTS plugin guide | LiveKit Docs | Text-to-speech (TTS) models | LiveKit Docs