Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

lyria

Skill by OpenMontageInc

Guides an assistant through generating music with Google Lyria via the Gemini Interactions API. Built for creators and developers producing music for video with OpenMontage.

  • Score 92
  • 84k stars
  • AGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install lyria

Built from the published package, never by AI.

git clone --depth 1 https://github.com/OpenMontageInc/OpenMontage /tmp/OpenMontage && mkdir -p ~/.claude/skills && cp -r /tmp/OpenMontage/.agents/skills/lyria ~/.claude/skills/lyria

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install lyria in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an assistant a structured workflow for generating music with Google Lyria through the Gemini Interactions API. It explains how to choose between Lyria 3.5, Lyria 3 Clip, the legacy Lyria 3 Pro preview and the experimental Lyria RealTime model. It sets out a required sequence: confirm the musical role, announce the provider and cost, write one structured prompt, make one approved call, preserve the returned source, then probe and listen to the file.

The skill also covers prompt structure, instrumental-only output, custom lyrics and vocal direction, and authentication and failure diagnosis. Duration is treated as untrusted until a file probe confirms it, and exact-length music is produced as a separate derived master. It is written for people using OpenMontage's google_music adapter to create music for video.

Written from the project's SKILL.md and checked against it.

What it can do

  • Model selectionHelps choose between Lyria 3.5, Lyria 3 Clip, the legacy Pro preview and Lyria RealTime.
  • Structured prompt designSets out an ordered prompt contract covering purpose, tempo, instruments, structure, dynamics and exclusions.
  • Vocal and lyric guidanceDefines vocal roles, language handling and custom lyric formatting with section labels.
  • Instrumental-only promptsProvides a text block to exclude vocals, speech, choir and recognizable quotations.
  • Exact-duration masteringDescribes deriving a trimmed production master with a fade while keeping the provider source unchanged.
  • Duration probingUses ffprobe to check the real duration, codec, sample rate and channels of the generated file.
  • Credential and error diagnosisExplains which API key or Vertex path is used and how to treat 403 and permission errors.
  • Result recordingLists the provenance fields to record, including prompt, requested and probed duration, and cost.

What you need

  • Gemini API key (GEMINI_API_KEY) or Google API key (GOOGLE_API_KEY)
  • Vertex service-account credentials, if using Vertex instead
  • OpenMontage google_music adapter
  • ffprobe for checking generated audio files

Try asking

  • Write a 30-second instrumental cue for a product video using Lyria.
  • Which Lyria model should I use for a looping background score?
  • Make an exact 20-second master from this Lyria track for my edit.

Good to know

  • The OpenMontage google_music adapter does not expose Clip, WAV selection or RealTime controls.
  • Full-song duration is set through prompt instructions, so the output length is not exact.
  • Lyria 3 Pro preview is a legacy model and availability should be verified before use.
  • Lyria RealTime is an experimental WebSocket workflow and is not routed through google_music.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/lyria/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB
  • agents/openai.yaml231 B
  • references/api-and-prompting.md9 KB

Alternatives to lyria

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

lyria: common questions

Does Lyria generate exact-length music for a video?

Full-song output is controlled through prompt instructions and timestamps, not an exact parameter. The skill advises probing the file and deriving an exact-duration master by trimming with a short fade.

What does a Lyria generation cost?

The skill lists Gemini Developer API prices of $0.04 per request for Clip and $0.08 per request for Lyria 3.5 and the legacy Pro preview, checked on 2026-10-10.

Can Lyria create vocals with custom lyrics?

Yes. The skill explains how to separate performance direction from a Lyrics block with section labels, and says returned vocals should be auditioned before approval.

How do I install lyria?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is lyria free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is lyria safe to use?

It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to lyria?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

Add to stack

Loading.