技能圖譜SKILLSGROVE
技能圖譜/影片製作/SamurAIGPT/muapi-skills/muapi-music-video

muapi-music-video

安裝

$npx skills add https://github.com/SamurAIGPT/muapi-skills --skill muapi-music-video
$git clone --depth 1 https://github.com/SamurAIGPT/muapi-skills.git /tmp/muapi-skills && mkdir -p ~/.claude/skills && cp -r /tmp/muapi-skills/skills/library/motion/music-video ~/.claude/skills/muapi-music-video
請幫我安裝這個 Agent Skill:https://github.com/SamurAIGPT/muapi-skills/tree/1dd7527a9d5e0477e18af8baf8c6915053585680/skills/library/motion/music-video ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITBuild a short music video from a song theme — N keyframes, animate each, generate matching music.
以下 SKILL.md 內容轉載自 SamurAIGPT/muapi-skills(提交 1dd7527),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Music Video

Build a short music video from a song theme — N keyframes, animate each, generate matching music.

Inputs

Name Type Required Default Description
theme text yes — Song / video theme (e.g. "lonely robot finds a friend, hopeful").
scenes int no 3 Number of scenes (each becomes a 5s clip).
music_style text no ambient cinematic, instrumental, slow tempo, warm Suno-style tags for the soundtrack.
visual_style text no cinematic, photoreal, soft volumetric light, 16:9

Steps

Build one the plan covering:

  1. Layer A (parallel) — N keyframes + 1 music track all at once.
    • For each scene 1..N: muapi image generate with a beat-specific prompt + {{visual_style}}, model=nano-banana-pro (these feed video gen).
    • One muapi audio create (kind=music) using {{music_style}}, duration = N × 5 + a 2s tail.
  2. Layer B (parallel, depends on Layer A) — animate each keyframe.
    • For each scene: muapi video from-image with image=$nX.url, model=veo3.1-image-to-video, duration=5, prompt=scene-specific motion direction.
  3. Return:
    • The scene keyframes (asset ids in order).
    • The animation clips (asset ids in order).
    • The music track asset id.
    • A short summary describing the cut order.

Notes

  • Keep character continuity by repeating the character description in every scene prompt verbatim.
  • Don't auto-confirm any single video call > 50 cr — those need the user's nod (the loop will prompt automatically).
  • If a scene's muapi video from-image fails after failover, fall back to muapi video generate (text-to-video) for that scene only.

Trigger Keywords

music video, mv, video story, song visualization


Notes for the Executing Agent

  • This recipe is LLM-orchestrated: read each phase, gather any missing inputs from the user, then call muapi CLI commands. Use muapi auth configure first if MUAPI_API_KEY is unset.
  • For model IDs without a CLI alias yet, fall back to the raw endpoint via curl -X POST https://api.muapi.ai/api/v1/<endpoint> -H "x-api-key: $MUAPI_API_KEY" -H 'content-type: application/json' -d '{...}' and poll with muapi predict wait <request_id>.
  • Substitute {{input_name}} placeholders with the user's actual inputs before issuing each call.
檢視許可證全文(MIT)
MIT License

Copyright (c) 2026

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.