Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 93
  • 5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-dev

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gemini-live-api-dev in Claude Code

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

A

No 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 →

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.

gemini-live-api-dev Install

Add to stack

Loading.