calm-article-62769
11/11/2025, 7:19 AMtall-airline-16756
11/11/2025, 7:19 AMtall-airline-16756
11/11/2025, 7:20 AMgemini-2.5-flash-native-audio-preview-09-2025, rather than gemini-live-2.5-flash-preview-native-audio-09-2025. Just a heads up, this model works with the Gemini Developer API, not Vertex AI.
Here’s how you can fix this:
1. Make sure to use the correct model name: gemini-2.5-flash-native-audio-preview-09-2025.
2. Double-check that your API key is set properly using GOOGLE_API_KEY for the Gemini Developer API.
3. If you’re using advanced features like proactivity or affective dialog, avoid forcing API version `v1beta`—these need v1alpha.
4. Don’t forget to install the necessary plugin by running pip install livekit-plugins-google.
If you’d like, I’m here to help you step-by-step with the setup. Just let me know!
Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/realtime/real... | Gemini Live API plugin | LiveKit docs | web/src/data/playground-state.ts | realtime/gemini_live_vision.pycalm-article-62769
11/11/2025, 7:21 AMv1alpha.
how can we decidie this,, i am ok with v1 alpha but dont know how to switch it from livekittall-airline-16756
11/11/2025, 7:21 AMv1alpha when you’re using advanced features like proactivity or affective dialog in LiveKit. The system is designed to automatically set the API version to v1alpha whenever these features are turned on.
Here’s a quick example to help you get started:
from livekit.plugins.google import RealtimeModel
model = RealtimeModel(
api_key="your-api-key",
enable_affective_dialog=True, # Enables emotional responses
proactivity=True, # Allows model to initiate speech
voice="Puck",
# api_version will automatically be set to "v1alpha"
)
If you have any more questions or need a hand with this setup, just let me know—I’m here to help!
Sources: examples/README.md | Gemini Live API plugin | LiveKit docs | Gemini Live API plugin | LiveKit docs