Skip to main content
Google’s Gemini provides streaming speech-to-text through its Live transcription models, with automatic language detection and built-in turn detection.
Vision Agents uses Stream Video for real-time WebRTC transport by default. External WebRTC transports are supported as well. Most AI providers offer free tiers to get started.
Gemini also provides an LLM with built-in tools and Realtime speech-to-speech. You can use the STT and LLM in the same agent.

Installation

Quick Start

Set GOOGLE_API_KEY or GEMINI_API_KEY in your environment, or pass api_key directly.

Parameters

Language Detection

Gemini detects the spoken language automatically. Pass language_codes when you know which languages to expect, which helps in multilingual calls:

Custom Vocabulary

Product names, jargon, and proper nouns are often transcribed incorrectly. Pass them as custom_vocabulary to bias recognition towards the spelling you want:

Transcripts and Turns

The plugin streams 16 kHz PCM audio to Gemini and emits standard transcript events as speech arrives, followed by a final transcript when the utterance completes. Turn detection is built in, so no separate turn detection plugin is required.
Google also publishes gemini-3.5-transcribe for file transcription. This plugin uses the Live model for real-time streaming.

Next Steps

Gemini LLM

LLM with built-in tools and RAG

Build a Voice Agent

Get started with voice