llm slot with no separate STT or TTS.
The Pipeline auto-detects Realtime mode when you pass
it.
Setup
Set your Google API key in the worker environment. Generate a key from the Google AI Studio:To run Gemini Live through Vertex AI, set
vertexai=True and authenticate with a
service account (GOOGLE_APPLICATION_CREDENTIALS), as with the Gemini LLM
plugin.Usage
Pass the realtime model to the pipeline’sllm slot, no stt or tts needed.
The default model is
gemini-3.1-flash-live-preview in every SDK. Pass model explicitly for
consistency.Configuration
GeminiRealtime constructor and config keys in both SDKs. The Python and Node JS SDKs share these field names.
Constructor
config keys
Import paths
To pair the realtime model with an external STT or TTS, see
Hybrid mode.