{"id":48857205,"url":"https://github.com/google-gemini/gemini-live-api-examples","last_synced_at":"2026-04-15T13:34:37.859Z","repository":{"id":341903885,"uuid":"1157699202","full_name":"google-gemini/gemini-live-api-examples","owner":"google-gemini","description":"Gemini Live provides multimodal realtime agent capabilities. Build voice agents that can process vision and text in realtime.","archived":false,"fork":false,"pushed_at":"2026-03-26T17:25:09.000Z","size":188,"stargazers_count":46,"open_issues_count":0,"forks_count":11,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T07:21:45.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ai.google.dev/gemini-api/docs/live","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google-gemini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-14T06:39:30.000Z","updated_at":"2026-03-27T06:42:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/google-gemini/gemini-live-api-examples","commit_stats":null,"previous_names":["google-gemini/gemini-live-api-examples"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/google-gemini/gemini-live-api-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-gemini%2Fgemini-live-api-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-gemini%2Fgemini-live-api-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-gemini%2Fgemini-live-api-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-gemini%2Fgemini-live-api-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google-gemini","download_url":"https://codeload.github.com/google-gemini/gemini-live-api-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google-gemini%2Fgemini-live-api-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31843050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-15T13:34:33.904Z","updated_at":"2026-04-15T13:34:37.850Z","avatar_url":"https://github.com/google-gemini.png","language":"JavaScript","funding_links":[],"categories":["End-to-End Speech Models | 端到端语音模型"],"sub_categories":["Speech-to-Speech \u0026 Full-Duplex Models | 语音对话与全双工模型"],"readme":"# Gemini Live API Examples\n\nThe Live API enables low-latency, real-time voice and video interactions with\nGemini. It processes continuous streams of audio, video, or text to deliver\nimmediate, human-like spoken responses, creating a natural conversational\nexperience for your users.\n\n![Live API Overview](https://ai.google.dev/gemini-api/docs/images/live-api-overview.png)\n\n[Try the Live API in Google AI Studio](https://aistudio.google.com/live)\n\n## Example use cases\n\nLive API can be used to build real-time voice and video agents for a\nvariety of industries, including:\n\n*   **E-commerce and retail:** Shopping assistants that offer personalized\n    recommendations and support agents that resolve customer issues.\n*   **Gaming:** Interactive non-player characters (NPCs), in-game help\n    assistants, and real-time translation of in-game content.\n*   **Next-gen interfaces:** Voice- and video-enabled experiences in robotics,\n    smart glasses, and vehicles.\n*   **Healthcare:** Health companions for patient support and education.\n*   **Financial services:** AI advisors for wealth management and investment\n    guidance.\n*   **Education:** AI mentors and learner companions that provide personalized\n    instruction and feedback.\n\n## Key features\n\nLive API offers a comprehensive set of features for building\nrobust voice and video agents:\n\n*   [**Multilingual support**](https://ai.google.dev/gemini-api/docs/live-guide#supported-languages):\n    Converse in 70 supported languages.\n*   [**Barge-in**](https://ai.google.dev/gemini-api/docs/live-guide#interruptions):\n    Users can interrupt the model at any time for responsive interactions.\n*   [**Tool use**](https://ai.google.dev/gemini-api/docs/live-tools):\n    Integrates tools like function calling and Google Search for dynamic\n    interactions.\n*   [**Audio transcriptions**](https://ai.google.dev/gemini-api/docs/live-guide#audio-transcription):\n    Provides text transcripts of both user input and model output.\n*   [**Proactive audio**](https://ai.google.dev/gemini-api/docs/live-guide#proactive-audio):\n    Lets you control when the model responds and in what contexts.\n*   [**Affective dialog**](https://ai.google.dev/gemini-api/docs/live-guide#affective-dialog):\n    Adapts response style and tone to match the user's input expression.\n\n## Technical specifications\n\nThe following table outlines the technical specifications for the\nLive API:\n\n| Category          | Details                                                                                     |\n| :---------------- | :------------------------------------------------------------------------------------------ |\n| Input modalities  | Audio (raw 16-bit PCM audio, 16kHz, little-endian), images/video (JPEG \u003c= 1FPS), text       |\n| Output modalities | Audio (raw 16-bit PCM audio, 24kHz, little-endian), text                                    |\n| Protocol          | Stateful WebSocket connection (WSS)                                                         |\n\n## Examples\n\n*   **[Gen AI SDK Python example](./gemini-live-genai-python-sdk/README.md)**: Recommended for ease of use. Connect to the Gemini Live API using the Gen AI SDK to build a real-time multimodal application with a Python backend.\n*   **[Epheremal tokens and raw WebSocket example](./gemini-live-ephemeral-tokens-websocket/README.md)**: RAW protocol control. Connect to the Gemini Live API using WebSockets to build a real-time multimodal application with a JavaScript frontend and a Python backend.\n*   **[Command-line Python example](./command-line/python/README.md)**: A minimal command-line app that streams microphone audio to the Gemini Live API and plays back the response in real time using Python.\n*   **[Command-line Node.js example](./command-line/node/README.md)**: A minimal command-line app that streams microphone audio to the Gemini Live API and plays back the response in real time using Node.js.\n\n\u003e [!TIP]\n\u003e Install the [Gemini Live API Dev](https://github.com/google-gemini/gemini-skills?tab=readme-ov-file#gemini-live-api-dev) skill for AI-assisted development with the Live API in your coding agents.\n\n## Partner integrations\n\nTo streamline the development of real-time audio and video apps, you can use\na third-party integration that supports the Gemini Live\nAPI over WebRTC or WebSockets.\n\n*   [LiveKit](https://docs.livekit.io/agents/models/realtime/plugins/gemini/): Use the Gemini Live API with LiveKit Agents.\n*   [Pipecat by Daily](https://docs.pipecat.ai/guides/features/gemini-live): Create a real-time AI chatbot using Gemini Live and Pipecat.\n*   [Fishjam by Software Mansion](https://docs.fishjam.io/tutorials/gemini-live-integration): Create live video and audio streaming applications with Fishjam.\n*   [Vision Agents by Stream](https://visionagents.ai/integrations/gemini): Build real-time voice and video AI applications with Vision Agents.\n*   [Voximplant](https://voximplant.com/products/gemini-client): Connect inbound and outbound calls to Live API with Voximplant.\n*   [Agent Development Kit (ADK)](https://google.github.io/adk-docs/streaming/): Create an agent and use the Agent Development Kit (ADK) Streaming to enable voice and video communication.\n*   [Firebase AI SDK](https://firebase.google.com/docs/ai-logic/live-api?api=dev): Get started with the Gemini Live API using Firebase AI Logic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle-gemini%2Fgemini-live-api-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle-gemini%2Fgemini-live-api-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle-gemini%2Fgemini-live-api-examples/lists"}