Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gemini-live-api

БесплатноБез исполняемых скриптовНе проверен

Builds, integrates, and troubleshoots Gemini Enterprise Agent Platform Live API (BidiGenerateContent) WebSocket clients and sessions. Use when scaffolding a…

googleот google★ 25 380 звёзд на GitHub

Об этом скилле

[!IMPORTANT] Gemini Enterprise Agent Platform was previously named "Vertex AI"; the API service endpoint remains aiplatform.googleapis.com.

LiveAPI Service Skill

This skill provides instructions for generating a LiveAPI client service class that connects to the Gemini Enterprise Agent Platform Live API over WebSockets (LlmBidiService/BidiGenerateContent), as well as diagnosing and resolving Live API runtime issues. The generated client handles bidirectional JSON frame streaming, bearer-token authentication via Application Default Credentials (ADC), transparent session resumption, tool call responses, mid-session context updates, and ClientMessage / ServerMessage proto exchange.

The skill also produces a demo frontend + backend service so the user can interactively validate the generated client (text, audio, video, transcription, and interrupt handling).

Usage Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read and follow the instructions in Usage Attribution.

Prerequisites

Before running the generation flow, verify or guide the user through the following prerequisites (always ask for user approval before modifying host configurations or installing system tools):

  • Google Cloud Project & Billing: An active Google Cloud project with a linked billing account (review Gemini Enterprise Agent Platform pricing):

    gcloud config set project {project_id}
    
  • API Enablement & IAM: The aiplatform.googleapis.com API enabled on the project, and the caller principal granted at least Vertex AI User (roles/aiplatform.user):

    gcloud services enable aiplatform.googleapis.com
    
  • Application Default Credentials (ADC): Configured on the host running the generated client (see Google Cloud authentication):

    gcloud auth application-default login
    
  • Regional Location: Default to us-central1 unless the user specifies another supported US or EU region (e.g., europe-west4; see supported locations). Live API models do not support the global endpoint.

  • Isolated Output Directory: A destination folder supplied by the user (e.g., /tmp/liveapi_out) where generated code, virtual environments, and the demo service will be written. Never mutate the host's system Python environment.

  • Implementation Language: Python is the default and reference language when the user does not specify another language.

Supported Live API Models

  • gemini-3.8-live (GA — Recommended default): Native audio I/O, VAD, affective dialog and proactive audio always enabled by default, NON_BLOCKING and BLOCKING function calling, mid-session context_update, and custom transcription vocabulary.
  • gemini-live-2.5-flash-native-audio (GA): Native audio I/O, transcriptions, VAD, optional generation_config.enable_affective_dialog and proactivity.proactive_audio, and function calling.
  • gemini-3.5-transcribe-live-preview (Preview): Dedicated low-latency speech-to-text streaming (input_transcription and interim_input_transcription) with VERBATIM and SMART modes and custom vocabulary.

Reference Files

Load these files from references/ on demand (do not treat them as standalone skills):

Полный SKILL.md на GitHub

Установить gemini-live-api в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/attribution.mdreferences/client_server_messages.mdreferences/client_server_messages.protoreferences/session_manager.mdreferences/troubleshooting_audio_voice.mdreferences/troubleshooting_tools_lifecycle.mdreferences/troubleshooting_turns_vad.md

FAQ

Что делает скилл gemini-live-api?

Builds, integrates, and troubleshoots Gemini Enterprise Agent Platform Live API (BidiGenerateContent) WebSocket clients and sessions. Use when scaffolding a LiveAPI client or demo UI/backend (GA v1 WebSockets, isolated Python venv, ADC bearer token refresh, transparent session resumption, ClientMessage and ServerMessage JSON protos, tool responses, context_update, interrupt and transcription handling) or debugging Live API issues such as silent or empty turns, audio amplitude collapse, tonal humming, voice gender or accent drift, premature turn completion, barge-in failures, output_transcription leaks, malformed or looping tool calls, WebSocket 1008/1011/goAway drops, or latency spikes. Don't use for non-live, non-bidirectional Gemini API calls such as unary generateContent, embeddings, image/video generation, or fine-tuning — use the gemini-api skill for those.

Как установить скилл gemini-live-api?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gemini-live-api запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gemini-live-api с