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 GeminiLiveConfig fields for the Python SDK. The JavaScript SDK passes the same settings via the flat config object; the Go SDK via RealtimeOptions.
Constructor
GeminiLiveConfig
Import paths
To pair the realtime model with an external STT or TTS, see
Hybrid mode.