busy-breakfast-32623
12/11/2025, 8:26 AMtall-airline-16756
12/11/2025, 8:26 AMtall-airline-16756
12/11/2025, 8:26 AMlive- and models/ prefix. Example:
◦ Correct: gemini-2.5-flash-native-audio-preview-09-2025
◦ Update the model field in your RealtimeModel config to that exact string.
• API access & scope:
◦ Ensure your Google Cloud project has Gemini Live / Live API access enabled and your credentials (API key or GOOGLE_APPLICATION_CREDENTIALS) are for a project enrolled in the preview model if it’s a preview.
• Bidi (realtime) compatibility:
◦ Not every Gemini model supports bidirectional realtime (bidi) streaming. Confirm the specific preview model supports realtime audio/video; if it’s preview-limited you may need explicit enrollment.
• SDK / endpoint versioning:
◦ Make sure you’re using the LiveKit plugin / Google genai client versions that match the Realtime API expectations. Let LiveKit’s RealtimeModel (AgentSession) handle the connection rather than manually opening raw WebSocket connections.
• Example pattern to use:
llm = google.realtime.RealtimeModel(
model="gemini-2.5-flash-native-audio-preview-09-2025",
voice="Puck",
)
session = AgentSession(llm=llm, room=ctx.room, room_options=room_io.RoomOptions(video_input=True))
await session.start()
If you update the model string and still get 1008, tell me:
• the exact model string you changed to,
• whether your Google project is enrolled for Gemini Live preview,
• and a short snippet of the RealtimeModel/AgentSession code you’re using.
I’ll use that to guide the next troubleshooting steps.
Sources: Vision | LiveKit Docs | Gemini Live API plugin | LiveKit docs