Hi Team,
I’m facing an issue with the Google TTS plugin while using LiveKit Agents.
I am currently using:
livekit-plugins-google==1.4.4
Issue 1 – chirp_3 Model Not Working with Streaming
When I try to use the chirp_3 model for TTS, I receive the following error:
{“message”: “failed to synthesize speech: Streaming for this Gemini-TTS model is currently not supported. Please use another Gemini-TTS model or Chirp3: HD voices for streaming., retrying in 0.1s”,
“level”: “WARNING”,
“name”: “livekit.agents”,
“tts”: “livekit.plugins.google.tts.TTS”,
“attempt”: 1,
“streamed”: true,
“timestamp”: “2026-03-13T10:47:24.540323+00:00”}
From the message, it appears that streaming is not supported for this model. However, the error message itself suggests using Chirp3 HD voices for streaming, which is confusing because the chirp_3 model fails when used.
Issue 2 – Gemini Default Model Random Timeout
If I switch to the default Gemini TTS model, the agent initially starts speaking correctly. However, after some time, it randomly fails with a timeout error:
{“message”: “failed to synthesize speech, retrying in 0.1s
Traceback (most recent call last):
File “/app/.venv/lib/python3.12/site-packages/livekit/agents/tts/tts.py”, line 456, in _main_task
await self._run(output_emitter)
File “/app/.venv/lib/python3.12/site-packages/livekit/plugins/google/tts.py”, line 398, in _run
await asyncio.gather(*tasks)
File “/app/.venv/lib/python3.12/site-packages/livekit/plugins/google/tts.py”, line 391, in _run_segments
await self._run_stream(input_stream, output_emitter, streaming_config)
File “/app/.venv/lib/python3.12/site-packages/livekit/plugins/google/tts.py”, line 443, in _run_stream
raise APITimeoutError() from None
livekit.agents._exceptions.APITimeoutError: Request timed out. (body=None, retryable=True)”,
“level”: “WARNING”,
“name”: “livekit.agents”,
“tts”: “livekit.plugins.google.tts.TTS”,
“attempt”: 1,
“streamed”: true
}