brainy-coat-78975
10/30/2025, 10:41 AMtall-airline-16756
10/30/2025, 10:41 AMtall-airline-16756
10/30/2025, 10:41 AMinworld/inworld-tts-1 model. You just need to specify a voice and, if you'd like, a language code like "fr" for French in your AgentSession.
• Inworld Plugin: If you prefer, you can use your own Inworld account to access all the default voices available in the Inworld API, including those lovely French voices.
To explore the voices and get a feel for them, you might enjoy trying out the Inworld TTS Playground. If you have any questions or need a hand with anything, just let me know—I'm here to help!
Sources: Inworld TTS | LiveKit Docs | Inworld TTS plugin guide | LiveKit Docsbrainy-coat-78975
10/30/2025, 10:44 AMtall-airline-16756
10/30/2025, 10:44 AMlanguage="fr") in your setup. Otherwise, the system might default to English, which could be why it’s not sounding quite right.
3. Check Integration Type:
◦ If you’re using LiveKit Inference, make sure you’re using the model ID inworld/inworld-tts-1 and that your LiveKit credentials are correctly entered.
◦ If you’re working with the Inworld Plugin, double-check that your INWORLD_API_KEY is valid and properly configured.
1. Inspect Logs: Turning on logging can really help pinpoint what’s going on by capturing detailed error messages. This can reveal issues like invalid voice IDs or network hiccups.
If you’re still running into trouble after these steps, please don’t hesitate to share the specific error messages or the details of your configuration. I’m here to help you get this sorted out!
Sources: avatars/hedra/pipeline_avatar/agent.py | Inworld TTS | LiveKit Docs | Inworld TTS plugin guide | LiveKit Docs | examples/voice_agents/realtime_with_tts.pybrainy-coat-78975
10/30/2025, 10:46 AMtall-airline-16756
10/30/2025, 10:47 AMbrainy-coat-78975
10/30/2025, 10:48 AMtall-airline-16756
10/30/2025, 10:49 AMinworld/inworld-tts-1, you'll want to explicitly set the language parameter. Here's a simple way to adjust your code:
async def entrypoint(ctx: agents.JobContext):
session = AgentSession[
Any](
stt="deepgram/nova-3:multi",
llm="openai/gpt-4.1-mini",
tts=inworld.TTS(voice="Alex", language="fr"), # Specify French language
vad=silero.VAD.load(),
)
If you'd like to switch languages dynamically during the session, you can easily do so using the update_options() method:
session.tts.update_options(language="fr")
Just a quick tip: make sure the voice you’re using supports French. You can check that out using the Inworld TTS Playground. If you run into any issues or have questions, feel free to reach out—I’m here to help!
Sources: Inworld TTS | LiveKit Docs | basics/say_in_voice.py | livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/__init__.py | Inworld TTS plugin guide | LiveKit Docsbrainy-coat-78975
10/30/2025, 11:20 AMBVCTelephony instead for better results
_noise_cancellation_=noise_cancellation.BVC()
)
)
await session.generate_reply(
instructions="Greet the user and offer your assistance.",
)
if name == "__main__":
agents.cli.run_app(agents.WorkerOptions(_entrypoint_fnc_=entrypoint))tall-airline-16756
10/30/2025, 11:20 AMinworld module hasn’t been imported in your code yet. No worries—just add this import statement at the very top of your script to fix it:
from livekit.plugins import inworld
Once you’ve added that, your inworld.TTS call should work smoothly. If you run into any other issues or have questions, feel free to reach out—I’m here to help!tall-airline-16756
10/30/2025, 11:26 AMlivekit-plugins-inworld package might not be installed yet or isn’t set up properly. No worries, I’m here to help you through it! Let’s try these steps together to get things working smoothly:
1. Install the Plugin: First, let’s make sure the package is installed by running this command: pip install livekit-plugins-inworld
2. Verify the Installation: Next, double-check that the plugin is installed in your current Python environment with: pip list | grep livekit-plugins-inworld
3. Check Your Python Environment: It’s important to confirm you’re using the right Python environment where the package is installed. You can do this by running: which python
4. Reinstall if Necessary: If you’re still seeing the error, try uninstalling and then reinstalling the plugin to refresh everything: pip uninstall livekit-plugins-inworld
pip install livekit-plugins-inworld
5. Update Core LiveKit Agents: To keep everything compatible, let’s also upgrade the core LiveKit agents package with: pip install --upgrade livekit-agents
Once you’ve gone through these steps, try importing the plugin again like this:
from livekit.plugins import inworld
If you’re still running into issues after this, please don’t hesitate to reach out. I’m here to help and we can explore some more troubleshooting options together!
Sources: avatars/hedra/pipeline_avatar/agent.py | livekit-plugins/livekit-plugins-upliftai/livekit/plugins/upliftai/py.typedbrainy-coat-78975
10/30/2025, 11:46 AMtall-airline-16756
10/30/2025, 11:46 AM