ai-music-video
Generate AI music videos end-to-end. Creates music with Suno (sunoapi.org), generates visuals with OpenAI/Seedream/Google/Seedance, and assembles into music…
от modbender★ 21 звезда на GitHub
Установить ai-music-video в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AI Music Video Generator
Create complete music videos: AI music + AI visuals + ffmpeg assembly.
Quick Start
"90년대 보이밴드 풍 한국어 노래 만들어줘" → music only
"발라드 뮤비 만들어줘" → music + slideshow MV
"EDM 뮤비 풀영상으로" → music + video clips MV
"Suno 뮤비로 만들어줘" → Suno native music video
Workflow
1. Plan scenes from lyrics/mood
Before generating, create prompts.json — array of scene descriptions derived from the song's lyrics, mood, and narrative. 8-12 scenes for a 3-min song.
[
{"prompt": "Neon-lit city street at night, rain reflections", "type": "image"},
{"prompt": "Camera slowly panning across a rooftop at sunset", "type": "video"},
"A lone figure walking through cherry blossoms"
]
2. Generate music
bash scripts/suno_music.sh \
--prompt "가사 또는 설명" \
--style "90s boy band pop, korean" \
--title "너만을 원해" \
--model V4_5ALL --custom \
--outdir /tmp/mv_project
Options:
--model V4_5ALL(default),V5,V4_5PLUS,V4_5,V4--instrumental— no vocals--vocal-gender m|f— vocal gender hint--negative-tags "Heavy Metal, Drums"— styles to avoid--music-video— generate Suno native music video (MP4)--dry-run— cost check only
Persona (일관된 스타일 유지):
--persona-id ID— 기존 페르소나 사용 (같은 보컬/스타일로 여러 곡 생성)--create-persona— 생성된 곡에서 페르소나 생성 →persona.json저장--persona-name "이름"/--persona-desc "설명"/--persona-style "스타일"
Auto features:
- 🎤 Timestamped Lyrics: Non-instrumental tracks automatically fetch lyrics timestamps and save as
{outdir}/lyrics.srt - 🎬 Suno Native MV: With
--music-video, Suno generates a visualized MP4 video directly - 🎭 Persona: With
--create-persona, extracts voice/style identity for reuse
3. Generate visuals (custom MV flow)
bash scripts/gen_visuals.sh \
--mode slideshow \
--prompts-file /tmp/mv_project/prompts.json \
--image-provider seedream \
--outdir /tmp/mv_project
Or with OpenAI (cheaper, lower res):
bash scripts/gen_visuals.sh \
--mode slideshow \
--prompts-file /tmp/mv_project/prompts.json \
--image-provider openai --image-model gpt-image-1-mini --image-quality medium \
--outdir /tmp/mv_project
Add --dry-run first to show cost estimate before spending.
4. Assemble
bash scripts/assemble_mv.sh \
--audio /tmp/mv_project/track_0_xxx.mp3 \
--outdir /tmp/mv_project \
--output /tmp/mv_project/final_mv.mp4 \
--transition fade
Subtitle behavior:
- Auto-detects
{outdir}/lyrics.srtand overlays lyrics automatically --subtitle /path/to/custom.srt— use custom SRT file--no-subtitle— disable lyrics overlay entirely
Modes
| Mode | Visual | Best For | Cost (10 scenes) |
|---|---|---|---|
slideshow |
AI images | Fast, cheap | ~$0.02 (mini low) / ~$0.09 (mini med) / ~$0.45 (Seedream) |
video |
AI video clips | Premium | ~$1.40 (Seedance Lite) / ~$8.00 (Sora 2) |
hybrid |
Mix of both | Balanced | ~$0.50-$4.00 |
suno-native |
Suno MV | Easiest | Suno credits only |
Image cost is token-based — actual billing may be lower than listed estimates. Use --dry-run for precise cost.
Provider Options
Images: --image-provider seedream (recommended), openai, or google-together
Image Model (OpenAI): --image-model gpt-image-1-mini (default, cheap) or gpt-image-1 (premium)
Videos: --video-provider sora (default), sora-pro, seedance-lite, seedance-pro, veo-fast, veo-audio
Quality: --image-quality low|medium|high
Cost Tracking
Every script outputs cost before and after. Always --dry-run first.
Cost data saved to {outdir}/cost_estimate.json and {outdir}/visuals_meta.json.
Environment Variables
export SUNO_API_KEY="your-sunoapi-key" # Required — sunoapi.org
export OPENAI_API_KEY="your-openai-key" # Required — images + Sora video
export BYTEPLUS_API_KEY="your-byteplus-key" # Optional — Seedream 4.5 (recommended for images)
export TOGETHER_API_KEY="your-together-key" # Optional — Seedance, Veo, Imagen
export SUNO_CALLBACK_URL="" # Optional — see Callback URL below
⚠️ Required keys: SUNO_API_KEY and OPENAI_API_KEY must be set before running any script.
BYTEPLUS_API_KEY is needed for Seedream image provider (sign up at console.byteplus.com, 200 free images).
TOGETHER_API_KEY is only needed for Seedance/Veo/Imagen providers.
Callback URL
The Suno API requires a callBackUrl field for music generation requests.
By default, if SUNO_CALLBACK_URL is not set, the script uses https://localhost/noop
as a harmless no-op endpoint (an unreachable localhost URL that effectively disables callbacks).
To customize: set SUNO_CALLBACK_URL to your own endpoint, or set it to
any dummy U
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/sunoapi.md
- references/visual-providers.md
- scripts/assemble_mv.sh
- scripts/gen_visuals.sh
- scripts/suno_music.sh
FAQ
Что делает скилл ai-music-video?
Generate AI music videos end-to-end. Creates music with Suno (sunoapi.org), generates visuals with OpenAI/Seedream/Google/Seedance, and assembles into music video with ffmpeg. Supports timestamped lyrics (auto SRT), Suno native music video generation, slideshow/video/hybrid modes. Token-based cost tracking per generation.
Как установить скилл ai-music-video?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-music-video запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…