Communitygithub.com

google-gemini/gemini-live-api-dev

在開發即時雙向串流應用程式(使用 Gemini Live API)時使用此技能。涵蓋 WebSocket 音訊/視訊/文字串流、語音活動偵測 (VAD)、原生音訊功能、函式呼叫、工作階段管理、用戶端驗證的臨時權杖、即時翻譯以及所有 Live API 配置選項。支援的 SDK:google-genai (Python)、@google/genai (JavaScript/TypeScript)。

gemini-live-api-dev 是什麼?

這個技能專為使用 Gemini Live API 構建即時、雙向串流應用程式的開發人員設計。它涵蓋 WebSocket 基礎的音訊、視訊與文字串流,並支援語音活動偵測 (VAD)、原生音訊功能、函式呼叫以及工作階段管理等進階功能。此技能也包含用戶端驗證的臨時權杖生成、即時翻譯功能與所有 Live API 配置選項。支援 Python 的 google-genai SDK 與 JavaScript/TypeScript 的 @google/genai SDK,幫助開發者快速整合即時互動體驗。無論是建立語音助理、即時翻譯工具還是多模態互動應用,此技能都能提供完整指引。

相容平台~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/google-gemini/gemini-skills/tree/main/skills/gemini-live-api-dev

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

gemini-live-api-dev 是做什麼的?

在開發即時、雙向串流應用程式(使用 Gemini Live API)時使用此技能。涵蓋 WebSocket 基礎的音訊/視訊/文字串流、語音活動偵測 (VAD)、原生音訊功能、函式呼叫、工作階段管理、用戶端驗證的臨時權杖、即時翻譯以及所有 Live API 配置選項。支援的 SDK:google-genai (Python)、@google/genai (JavaScript/TypeScript)。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

google-gemini/gemini-api-dev

Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google/genai for JavaScript/TypeScript, com.google.genai:google-genai for Java, google.golang.org/genai for Go), model selection, and API capabilities.

google-gemini/gemini-interactions-api

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.

google-gemini/gemini-skills

Use this skill for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni 1.1 Flash (gemini-omni-1.1-flash) via the official google-genai SDK. Includes workflows for pre-processing/optimizing high-resolution or long source videos with ffmpeg, stripping audio for full sound regeneration, and handling turn-by-turn video editing and parallel execution.

google-gemini/vertex-ai-api-dev

Guides the usage of Gemini API on Google Cloud Vertex AI with the Gen AI SDK. Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.

相關技能