← google/skills

/gemini-live-api

寫程式google/skillsAI翻譯

用使用者選擇的程式語言,產生 Gemini LiveAPI 用戶端服務類別。要建立連到 Gemini Enterprise LiveAPI websocket 端點的用戶端時使用,處理工作階段建立與恢復、token 更新。

安裝次數
5700
專案星數
2.2 萬 ★
授權
Apache-2.0
專案更新
2026-11-02

怎麼裝

npx skills add https://github.com/google/skills --skill gemini-live-api

安裝前請先看過原文內容。中文說明是 AI 翻譯,不保證安全。

原文

Generates a Gemini LiveAPI client service class in the user's chosen programming language. Use when the user wants to build, scaffold, or integrate a client that connects to the Gemini Enterprise LiveAPI websocket endpoint, handles session setup/resumption, bearer token refresh, and sending/receiving `ClientMessage`/`ServerMessage` protos. Don't use for general (non-live, non-bidirectional) Gemini API usage such as one-shot `generateContent`, embeddings, image/video generation, or fine-tuning — use the `gemini-api` skill for those.