{"slug":"muapi-music-video","title":"muapi-music-video","summary":"Build a short music video from a song theme — N keyframes, animate each, generate matching music.","platform":"opencode","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-01T17:42:39.701681Z","repo":{"url":"https://github.com/SamurAIGPT/Generative-Media-Skills","stars":4295,"forks":492,"license":"MIT","updatedAt":"2026-09-08T23:14:35Z"},"bodyHtml":"<hr>\n<h2>slug: muapi-music-video\nname: muapi-music-video\nversion: \"1.0.0\"\ndescription: Build a short music video from a song theme — N keyframes, animate each, generate matching music.\nacceptLicenseTerms: true</h2>\n<h1>Music Video</h1>\n<p><strong>Build a short music video from a song theme — N keyframes, animate each, generate matching music.</strong></p>\n<h2>Inputs</h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left\">Name</th>\n<th style=\"text-align: left\">Type</th>\n<th style=\"text-align: left\">Required</th>\n<th style=\"text-align: left\">Default</th>\n<th style=\"text-align: left\">Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style=\"text-align: left\"><code>theme</code></td>\n<td style=\"text-align: left\">text</td>\n<td style=\"text-align: left\">yes</td>\n<td style=\"text-align: left\">—</td>\n<td style=\"text-align: left\">Song / video theme (e.g. \"lonely robot finds a friend, hopeful\").</td>\n</tr>\n<tr>\n<td style=\"text-align: left\"><code>scenes</code></td>\n<td style=\"text-align: left\">int</td>\n<td style=\"text-align: left\">no</td>\n<td style=\"text-align: left\">3</td>\n<td style=\"text-align: left\">Number of scenes (each becomes a 5s clip).</td>\n</tr>\n<tr>\n<td style=\"text-align: left\"><code>music_style</code></td>\n<td style=\"text-align: left\">text</td>\n<td style=\"text-align: left\">no</td>\n<td style=\"text-align: left\">ambient cinematic, instrumental, slow tempo, warm</td>\n<td style=\"text-align: left\">Suno-style tags for the soundtrack.</td>\n</tr>\n<tr>\n<td style=\"text-align: left\"><code>visual_style</code></td>\n<td style=\"text-align: left\">text</td>\n<td style=\"text-align: left\">no</td>\n<td style=\"text-align: left\">cinematic, photoreal, soft volumetric light, 16:9</td>\n<td style=\"text-align: left\"></td>\n</tr>\n</tbody>\n</table>\n<h2>Steps</h2>\n<p>Build one the plan covering:</p>\n<ol>\n<li><strong>Layer A (parallel)</strong> — N keyframes + 1 music track all at once.\n<ul>\n<li>For each scene 1..N: <code>muapi image generate</code> with a beat-specific prompt +\n<code>{{visual_style}}</code>, model=nano-banana-pro (these feed video gen).</li>\n<li>One <code>muapi audio create</code> (kind=music) using <code>{{music_style}}</code>, duration =\nN × 5 + a 2s tail.</li>\n</ul>\n</li>\n<li><strong>Layer B (parallel, depends on Layer A)</strong> — animate each keyframe.\n<ul>\n<li>For each scene: <code>muapi video from-image</code> with <code>image=$nX.url</code>, model=veo3.1-image-to-video,\nduration=5, prompt=scene-specific motion direction.</li>\n</ul>\n</li>\n<li>Return:\n<ul>\n<li>The scene keyframes (asset ids in order).</li>\n<li>The animation clips (asset ids in order).</li>\n<li>The music track asset id.</li>\n<li>A short summary describing the cut order.</li>\n</ul>\n</li>\n</ol>\n<h2>Notes</h2>\n<ul>\n<li>Keep character continuity by repeating the character description in every\nscene prompt verbatim.</li>\n<li>Don't auto-confirm any single video call &gt; 50 cr — those need the user's\nnod (the loop will prompt automatically).</li>\n<li>If a scene's <code>muapi video from-image</code> fails after failover, fall back to\n<code>muapi video generate</code> (text-to-video) for that scene only.</li>\n</ul>\n<h2>Trigger Keywords</h2>\n<p><code>music video</code>, <code>mv</code>, <code>video story</code>, <code>song visualization</code></p>\n<hr>\n<h2>Notes for the Executing Agent</h2>\n<ul>\n<li>This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call <code>muapi</code> CLI commands. Use <code>muapi auth configure</code> first if <code>MUAPI_API_KEY</code> is unset.</li>\n<li>For model IDs without a CLI alias yet, fall back to the raw endpoint via <code>curl -X POST https://api.muapi.ai/api/v1/&lt;endpoint&gt; -H \"x-api-key: $MUAPI_API_KEY\" -H 'content-type: application/json' -d '{...}'</code> and poll with <code>muapi predict wait &lt;request_id&gt;</code>.</li>\n<li>Substitute <code>{{input_name}}</code> placeholders with the user's actual inputs before issuing each call.</li>\n</ul>\n","files":[{"path":"SKILL.md","sizeBytes":2608,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-01T17:43:22.827174Z","sha256":"F51AE2B12266DD491611F66AC8BC1E18E934E3914291CB37C98B32DF183BC6CD","sizeBytes":1430},"review":null,"source":{"repositoryUrl":"https://github.com/SamurAIGPT/Generative-Media-Skills","path":"library/motion/music-video","license":"MIT","commit":"5519622e885abc60217a65c8e090bcb1d9830746","subtreeSha":"F3E19872069D6DA26A7938CEB5406D2E187F9B4F8B60524A9B1D2105C7A69BA9","lastSyncedAt":"2026-09-18T12:16:43.426464Z"},"reviewedAt":"2026-09-01T17:45:43.604242Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/SamurAIGPT/Generative-Media-Skills/tree/main/library/motion/music-video"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install samuraigpt-generative-media-skills@llmmart"},{"target":"git","command":"git clone https://github.com/SamurAIGPT/Generative-Media-Skills.git"}]}