Prompt Buddy logoPrompt Buddy

google · Google AI Docs

Gemini API Live API best practices

Provides guidance on optimizing performance, managing latency, and implementing efficient patterns for the Gemini Multimodal Live API.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Gemini API Live API best practices

Provides guidance on optimizing performance, managing latency, and implementing efficient patterns for the Gemini Multimodal Live API.

When To Use

Use when you need to optimize latency, manage session stability, or implement efficient real-time multimodal interactions using the Live API.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-live-best-practices-workflow-guide.mdA guide outlining best practices for designing system instructions, defining tools, and crafting prompts for the Gemini API Live API.Questions about a guide outlining best practices for designing system instructions, defining tools, and crafting prompts for the Gemi...
examples/gemini-api-live-best-practices-language-prompt-template.textA text template demonstrating how to instruct the Gemini API Live API to respond consistently in a specific output language.Exact payloads, commands, or snippets shown in A text template demonstrating how to instruct the Gemini API Live API to respond consistently in a specific output la...
examples/gemini-api-live-best-practices-gemini-api-live-persona.textA text-based example defining a specific persona for a career coach to guide Gemini API Live API interactions.Exact payloads, commands, or snippets shown in A text-based example defining a specific persona for a career coach to guide Gemini API Live API interactions.
examples/gemini-api-live-best-practices-tool-definition.textA text-based example of a tool definition for creating a client profile within the Gemini API Live API context.Exact payloads, commands, or snippets shown in A text-based example of a tool definition for creating a client profile within the Gemini API Live API context.

What This Skill Covers

  • Preview: The Live API is in preview.
  • Main sections: Design clear system instructions, Define tools precisely, Craft effective prompts, Specify language, Streaming.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://ai.google.dev/gemini-api/docs/live-api/best-practices