Prompt Buddy logoPrompt Buddy

google · Google AI Docs

Gemini API Real-time music generation using Lyria RealTime

Implementation guide for generating music in real-time using the Lyria RealTime model via the Gemini API.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Gemini API Real-time music generation using Lyria RealTime

Implementation guide for generating music in real-time using the Lyria RealTime model via the Gemini API.

When To Use

Use when you need to implement a workflow for generating real-time audio music streams using the Lyria RealTime model.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-real-time-music-generation-using-lyria-realtime-workflow-guide.mdA guide explaining how to use the Lyria RealTime model via the Gemini API to generate and steer streaming music in real-time using Python and JavaScript.Questions about a guide explaining how to use the Lyria RealTime model via the Gemini API to generate and steer streaming music in re...
examples/gemini-api-real-time-music-generation-using-lyria-realtime-gemini-api-ly.textA Python asynchronous code example demonstrating how to use the Gemini API and Lyria to generate and process real-time music audio chunks.Exact payloads, commands, or snippets shown in A Python asynchronous code example demonstrating how to use the Gemini API and Lyria to generate and process real-tim...
examples/gemini-api-real-time-music-generation-using-lyria-realtime-gemini-api-ly-2.textA Node.js code example demonstrating how to connect to the Lyria RealTime model using the Google GenAI SDK to generate music.Exact payloads, commands, or snippets shown in A Node.js code example demonstrating how to connect to the Lyria RealTime model using the Google GenAI SDK to generat...
examples/gemini-api-real-time-music-generation-using-lyria-realtime-gemini-api-ly-3.textA Python code snippet demonstrating how to use the set_weighted_prompts method to control music generation parameters in the Gemini API using Lyria RealTime.Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to use the setweightedprompts method to control music generation parameters i...
examples/gemini-api-real-time-music-generation-using-lyria-realtime-gemini-api-ly-4.textA code snippet demonstrating how to configure weighted music generation prompts using the Lyria RealTime API.Exact payloads, commands, or snippets shown in A code snippet demonstrating how to configure weighted music generation prompts using the Lyria RealTime API.
examples/gemini-api-real-time-music-generation-using-lyria-realtime-gemini-api-ly-5.textA Python code snippet demonstrating how to configure live music generation parameters such as BPM and scale using the Gemini API Lyria RealTime session.Exact payloads, commands, or snippets shown in A Python code snippet demonstrating how to configure live music generation parameters such as BPM and scale using the...
examples/gemini-api-real-time-music-generation-using-lyria-realtime-gemini-api-ly-6.textA code snippet demonstrating how to configure music generation parameters such as BPM and density using the Lyria RealTime API.Exact payloads, commands, or snippets shown in A code snippet demonstrating how to configure music generation parameters such as BPM and density using the Lyria Rea...

What This Skill Covers

  • Experimental: Lyria RealTime is an experimental model.
  • Main sections: Generate and control music, Python, JavaScript, Steer music in real-time, Prompt Lyria RealTime.

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/realtime-music-generation