Agent skill · practicalswan

gemini-live-api-dev

Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API. Covers WebSocket-based audio/video/text streaming, voice activity detection (VAD), native audio features, function calling, session management, ephemeral tokens for client-side auth, live translation, and all Live API configuration options. SDKs covered - google-genai (Python), @google/genai (JavaScript/TypeScript).

What it needs

About 9k tokens when loaded.

What this skill does

Gemini Live API Development Skill Overview The Live API enables low-latency, real-time voice and video interactions with Gemini over WebSockets. It processes continuous streams of audio, video, or text to deliver immediate, human-like spoken responses. Key capabilities: Bidirectional audio streaming — real-time mic-to-speaker conversations Video streaming — send camera/screen frames alongside audio Text input/output — send and receive text within a live session Audio transcriptions — get text transcripts of both input and output audio Voice Activity Detection (VAD) — automatic interruption handling Native audio — thinking (with configurable thinkingLevel) Function calling — synchronous tool use Google Search grounding — ground responses in real-time search results Session management — context compression, session resumption, GoAway signals Ephemeral tokens — secure client-side authentication [!NOTE] The Live API currently only supports WebSockets. For WebRTC support or simplified integration, use a partner integration. Models gemini-3.1-flash-live-preview — Optimized for low-latency, real-time dialogue. Native audio output, thinking (via thinkingLevel). 128k context window. This is the recommended model for all Live API use cases. gemini-3.5-transcribe-live — Real-time streaming speech-to-text with interim hypotheses, finalized transcripts, smart formatting, and Hybrid VAD. gemini-3.5-live-translate-preview — Real-time streaming translation model. [!WARNING] The following Live API models are deprecated and will be shut down. Migrate to gemini-3.1-flash-live-preview. - gemini-2.5-flash-native-audio-preview-12-2025 — Migrate to gemini-3.1-flash-live-preview. - gemini-live-2.5-flash-preview — Released June 17, 2025. Shutdown: December 9, 2025. - gemini-2.0-flash-live-001 — Released April 9, 2025. Shutdown: December 9, 2025. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills practicalswan/gemini-live-api-dev

View the source on GitHub

Browse the @skills marketplace