gemini-live-api-dev
Skill by google-gemini
Guides developers building real-time voice and video apps with the Gemini Live API. It covers WebSocket streaming, voice activity detection, background reasoning and migration to gemini-4-live.
Install gemini-live-api-dev
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google-gemini/gemini-skills /tmp/gemini-skills && mkdir -p ~/.claude/skills && cp -r /tmp/gemini-skills/skills/gemini-live-api-dev ~/.claude/skills/gemini-live-api-devRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google-gemini/gemini-skills /tmp/gemini-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gemini-skills/skills/gemini-live-api-dev ~/.gemini/antigravity-cli/skills/gemini-live-api-devAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gemini-live-api-dev in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for building real-time, bidirectional streaming applications with the Gemini Live API. It covers WebSocket-based audio, video and text streaming, voice activity detection, asynchronous function calling, session management, ephemeral tokens, live transcription and live translation. It also explains how to migrate legacy Live models to gemini-4-live and gemini-4-live-translate.
The skill documents the google-genai Python SDK and the @google/genai JavaScript and TypeScript SDK, both at version 3.2.0 or later. It states that the Live API requires the v1beta API version and shows connection code, audio formats and event handling. It is aimed at developers building low-latency voice and video agents.
Written from the project's SKILL.md and checked against it.
What it can do
- Bidirectional audio streamingSupports real-time microphone-to-speaker conversations over WebSockets with 16kHz input and 24kHz output.
- Video streamingSends camera or screen frames alongside audio, with optional Proactive Video responses.
- Background reasoningRuns multi-step reasoning while the model speaks conversational updates on gemini-4-live.
- Asynchronous function callingExecutes tools without blocking audio streaming, using NON_BLOCKING function declarations.
- Voice activity detectionCovers automatic server VAD, client-side Hybrid VAD and manual Push-to-Talk.
- Live translationDescribes speech-to-speech translation across 70+ languages with gemini-4-live-translate.
- Live transcriptionProvides interim and finalized speech-to-text using gemini-3.5-transcribe-live.
- Session managementCovers context compression, session resumption, GoAway signals and ephemeral tokens.
What you need
- Gemini API key set in the GEMINI_API_KEY environment variable or passed to the client
- google-genai Python package version 3.2.0 or later
- @google/genai npm package version 3.2.0 or later
Try asking
- Show me how to connect to the Gemini Live API from Python with audio input.
- Write a JavaScript example that streams microphone audio to gemini-4-live.
- How do I migrate a gemini-2.5 Live app to gemini-4-live?
Good to know
- The Live API connects over WebSockets. WebRTC needs a partner integration.
- thinking_budget and XHIGH are not supported on gemini-4-live.
- gemini-4-live-translate does not support tools, thinking or text input.
- Legacy SDKs google-generativeai and @google/generative-ai are deprecated.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/gemini-live-api-dev/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md26 KB -
references/migration.md14 KB
Alternatives to gemini-live-api-dev
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
gemini-live-api-dev: common questions
Does the Gemini Live API support WebRTC?
The source says the Live API connects directly via WebSockets. For WebRTC, it points to partner integrations such as LiveKit and Pipecat.
Which API version does the Live API need?
The source says v1beta is required for the Live API. It notes that SDKs version 3.0.0 and later default to v1, so clients must be set to v1beta.
Which models does this skill cover?
It covers gemini-4-live and gemini-4-live-translate as current models. It lists legacy models such as gemini-3.8-live, gemini-2.5 native audio and gemini-2.0-flash-live-001 with migration guidance.
How do I install gemini-live-api-dev?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gemini-live-api-dev free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gemini-live-api-dev safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gemini-live-api-dev?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
