Files

Google AI plugin for LiveKit Agents

Support for Gemini, Gemini Live, Cloud Speech-to-Text, and Cloud Text-to-Speech.

See https://docs.livekit.io/agents/integrations/google/ for more information.

Installation

pip install livekit-plugins-google

Pre-requisites

For credentials, you'll need a Google Cloud account and obtain the correct credentials. Credentials can be passed directly or via Application Default Credentials as specified in How Application Default Credentials works.

To use the STT and TTS API, you'll need to enable the respective services for your Google Cloud project.

  • Cloud Speech-to-Text API
  • Cloud Text-to-Speech API

Live API model support

LiveKit supports the Gemini Live API through both the Gemini Developer API and Vertex AI. Model availability and behavior differ between APIs. Some models, such as gemini-3.8-live, are available on both.

For model/API pairs that appear incompatible, the plugin logs a warning and lets the API decide whether the model is available.

The following models are supported by Gemini Developer API:

  • gemini-3.8-live
  • gemini-3.8-live-extended-thinking
  • gemini-3.1-flash-live-preview
  • gemini-2.5-flash-native-audio-preview-09-2025
  • gemini-2.5-flash-native-audio-preview-12-2025

On the Gemini Developer API, gemini-3.8-live does not support thinking_config.thinking_level. Use gemini-3.8-live-extended-thinking for configurable thinking.

And these on Vertex AI:

  • gemini-3.8-live
  • gemini-live-2.5-flash-native-audio

References: