When i use the new gemini realtime model i get the...
# ask-ai
r
When i use the new gemini realtime model i get the error that i have no access to v1alpha features. Is this a livekit issue or a google issue for me?
t
Thanks for reaching out, Phanos. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like you're encountering the error "no access to v1alpha features" when using the Gemini realtime model. This usually happens when trying to access some of the experimental features without having the right API version set up. Just to clarify, this is more about how the Gemini model and its API are configured, rather than something specific to LiveKit. Here are a few steps that might help you get past this: 1. Make sure you're using a model version that supports v1alpha features, like
gemini-2.5-flash-native-audio-preview-09-2025
. 2. Set
api_version="v1alpha"
explicitly in your configuration. Alternatively, turning on features such as
enable_affective_dialog=True
or
proactivity=True
will automatically set the API version to v1alpha for you. 3. Double-check your authentication by ensuring the
GOOGLE_API_KEY
environment variable is set correctly or by passing the
api_key
parameter. If you’re still running into trouble after this, it’s a good idea to confirm that your Google API key has the right permissions to access the Gemini Live API and that the LiveKit Google plugin version you’re using is compatible. Sources: Gemini Live API plugin | LiveKit Docs | livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime... | plugins/google/src/beta/realtime/realtime_api.ts | realtime/gemini_realtime_api.py