Generates and validates music with Google Lyria via the Gemini Interactions API. Guides model selection (Lyria 3.5, Clip, RealTime), prompt design, and cost-aware workflow for music generation.
Ships in openmontage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Model and adapter guidance updated by andromia3 on 2026-10-10; distributed under the repository's AGPL-3.0 license.
Use Lyria 3.5 or Clip as a single-turn music generator. Keep them distinct from Lyria RealTime, which is an experimental WebSocket model for continuously steered instrumental performance.
Read references/api-and-prompting.md when choosing a model, designing vocals or custom lyrics, using image inputs, debugging the response, or checking current limits and pricing.
| Need | Model | Contract |
|---|---|---|
| Prompt iteration, preview, loop, exact 30-second source | lyria-3-clip-preview | Always generates a 30-second MP3; currently $0.04/request |
| Full song, vocals, longer structure, image-conditioned score | lyria-3.5 | Prompt-influenced duration; currently $0.08/request |
| Explicitly requested legacy Pro workflow | lyria-3-pro-preview | Legacy model; verify availability before use; currently $0.08/request |
| Live, continuously steered instrumental performance | lyria-realtime-exp | Separate WebSocket workflow; do not route through google_music |
The current OpenMontage google_music adapter accepts model="lyria-3.5" (default) or model="lyria-3-pro-preview". It does not expose Clip, WAV response selection, multiple images, or RealTime controls. Its Lyria 3.5 cost estimator requires a current price quote; do not assume the legacy estimate supplies that quote. Prices above are Gemini Developer API prices checked on 2026-10-10, not a guarantee for every backend or future request.
Do not change models silently. For a 30-second video, either use the approved full-song model plus exact-duration mastering or use Clip through an explicitly supported path.
Specify, in this order:
[Intro], [Verse], [Chorus], [Bridge], [Outro].For video underscore, use timestamp windows that cover the full requested duration. Ask for one primary change per window and identify the exact synchronization moment.
For instrumental-only output, say all of the following when they matter:
Instrumental only. No lead or backing vocals, speech, choir, humming,
vocal chops, spoken samples, lyrical fragments, or recognizable quotations.
For custom lyrics, put performance direction before a separate Lyrics: block and use section labels. Prompt in the language the singer should use.
When vocals are requested, define these before writing the prompt:
Lyrics: block, use [Verse], [Chorus], [Bridge], and [Outro], and reserve parentheses for intentional backing-vocal echoes.Treat the returned vocal as untrusted until auditioned. Check lyric adherence, language drift, pronunciation, intelligibility, unwanted backing vocals, vocal/instrument balance, and whether the performance follows the requested emotional arc. A technically valid file with poor diction or altered lyrics is not an approved vocal result.
Full-song duration is controlled through prompt instructions and timestamps, not an exact API parameter. The OpenMontage adapter appends a target-duration instruction and bounds its requested duration to 5–184 seconds, but its returned duration_seconds field is the request, not a media probe. Treat those bounds as adapter validation, not proof of the returned duration.
Always inspect the generated file:
ffprobe -v error -show_entries \
format=duration,format_name,bit_rate:stream=codec_name,sample_rate,channels \
-of json output.mp3
If exact duration is required:
The Gemini API commonly uses GEMINI_API_KEY. OpenMontage also supports GOOGLE_API_KEY and Vertex service-account credentials.
GOOGLE_API_KEY takes precedence over GEMINI_API_KEY when both are non-empty. GOOGLE_GENAI_USE_VERTEXAI=true/1 or GOOGLE_GENAI_USE_ENTERPRISE=true/1 selects Vertex instead; a configured service-account file also selects Vertex when neither API key is present.403, API_KEY_SERVICE_BLOCKED, and project/service restrictions as authentication or Google-project configuration failures, not prompt-quality failures.Prefer interaction.output_audio. For interleaved responses, traverse model_output steps and select the audio block; capture output text separately if lyrics or a structure description are relevant.
Record:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins in one repository ship this exact skill · first indexed Nov 12, 2026
92 skills in this plugin
/3d-asset-generationGenerate, reconstruct, inspect, and route production 3D assets for OpenMontage worlds using Atlas Cloud, fal.ai, licensed catalogs, and Blender./acestepAI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction for video production. Use when generating music, soundtracks, jingles, or working with audio stems. Triggers include background music, soundtrack, jingle, music generation, stem extraction, cover, style transfer, or musical composition tasks./agentsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience./openmontage:lyriafrom openmontage
openmontage@giofornari is listed by giofornari/skills — review the source before installing
npx claudepluginhub giofornari/skills --plugin openmontageOther plugins' skills for the same job