music-video
О программе
Этот навык создает музыкальное видео для существующей песни, генерируя анимацию на основе p5.js/p5.brush или компилируя локальные изображения и видеоклипы. Он активируется по запросам на создание лирик-видео, визуализаторов или раскадровок и выполняет локальный аудиоанализ для синхронизации. Разработчикам следует использовать его для сборки видео и анимации на основе кода, а не для сочинения музыки или генерации нового медиаконтента через API.
Быстрая установка
Claude Code
Рекомендуетсяnpx skills add NoizAI/skills -a claude-code/plugin add https://github.com/NoizAI/skillsgit clone https://github.com/NoizAI/skills.git ~/.claude/skills/music-videoСкопируйте и вставьте эту команду в Claude Code для установки этого навыка
Документация
music-video
Turn one finished song into a 24fps music video. The song is the master audio. Scene intervals cover it exactly once.
Triggers
- music video / MV / lyric video / visualizer / storyboard
- 音乐视频 / MV合成 / 歌词动画 / 歌曲动画
Capabilities
code: initialize a pinned p5.js and p5.brush project, then animate the song in JavaScript.hybrid: inspect local character images, scene stills, and video clips, then assemble them. No image or video generation API is called.- Local beat, onset, low-frequency, and loudness analysis for cut points and animation cues.
- Frame-exact assembly with the original song as the only soundtrack.
Inputs
Required:
song: local audio (.mp3,.wav,.m4a,.flac,.ogg,.aac)brief: the visual idea, audience, and any required referencesmode:codeorhybrid
Optional:
lyrics: text or.srt. Required before storyboarding when the vocal timing matters.assets: directory of stills and clips forhybridaspect:16:9(default),9:16,1:1, or4:3
If the user wants a song created first, use text-to-music, then return here with the chosen file.
Outputs
<project>/output/final.mp4docs/CREATIVE_BRIEF.md,docs/STORYBOARD.md,docs/TASKS.md, anddocs/PROGRESS.mdaudio/analysis.json, anddocs/inspect.jsonwhen assets exist
Workflow
Run python3 skills/music-video/scripts/mv.py from the repository root. If this skill is installed elsewhere, use the scripts/mv.py beside this file. Create the project outside the skill directory.
- Choose
codewhen the video is drawn in JavaScript. Choosehybridwhen the user supplies stills or clips. Ask once when neither is clear. - Initialize an isolated project:
python3 skills/music-video/scripts/mv.py init \
--project ./mv-project --song ./song.mp3 --lyrics ./lyrics.txt --mode code
python3 skills/music-video/scripts/mv.py init \
--project ./mv-project --song ./song.mp3 --lyrics ./lyrics.srt \
--assets ./clips --mode hybrid --aspect 16:9
- Analyze the song. Treat tempo changes as approximate and confirm section boundaries from the audio:
python3 skills/music-video/scripts/mv.py analyze --project ./mv-project
- Get lyric timing. If the user did not supply it, use speech-to-text only when
NOIZ_API_KEYor~/.config/noiz/api_keyalready exists. Never print the key. If neither exists, ask for lyrics or timestamps and do not upload the song. - Read references/opus-5.5-prompt.md and follow it. Write the creative brief and storyboard before scene code or assembly. Review the opening and main peak before building the other chapters.
- In
codemode, read<project>/animation/ANIMATION_GUIDE.mdbefore drawing. SetPROJECT.bpmandPROJECT.offsetfromaudio/analysis.json. The pinned template canvas is 1920×1080; changestudio.htmland the renderer window before using another aspect. Check motion with the template renderer:
node render.mjs --sheet=1,2,3 --out=../output/sheets/pilot.jpg
node render.mjs --strip=START:END --out=../output/sheets/pilot-motion.jpg
node render.mjs --clip --range=START:END --out=../output/pilots/opening.mp4
Run those inside <project>/animation. Pass --chrome or set CHROME_PATH when Chrome is not in a standard location. A contact sheet only screens layout. A --strip, or playback of the opening, peak, and ending, is the motion review.
7. In hybrid mode, inspect local media and stop if a required clip is missing. Do not generate a replacement.
python3 skills/music-video/scripts/mv.py inspect --project ./mv-project
- Write
timeline.jsonusing references/timeline.schema.json. Intervals are inclusive atstart_frameand exclusive atend_frame. - Assemble and probe the result:
python3 skills/music-video/scripts/mv.py assemble --project ./mv-project
Timeline
{
"fps": 24,
"width": 1920,
"height": 1080,
"audio": "audio/source.mp3",
"scenes": [
{
"id": "opening",
"start_frame": 0,
"end_frame": 240,
"source": "output/pilots/opening.mp4",
"source_start": 0,
"fit": "cover",
"transition": "fade",
"fade_frames": 6
}
],
"overlays": []
}
fade stays inside its own scene. Do not overlap scenes to create a crossfade.
Completion
Finish only when every item is true:
[0, ceil(duration × 24))is covered exactly once, with no gap or overlap.final.mp4has a video stream and the complete original song.- The opening, main peak, and ending were reviewed in motion.
- The last story read has time to land.
docs/PROGRESS.mdhas no open blocker.
Security
init --mode code clones JohnHeibel/ClaudeAnimationBase at commit 0ac8bf2b31942376cb6b8c4074715595d512acd2 into the project. That template is MIT licensed. Analysis, inspection, rendering, and assembly stay local. Hybrid mode does not upload media and does not call an image, video, or music generation service.
Requirements
ffmpegandffprobe- Python 3.9+
analyze:uv pip install 'numpy>=2,<3'codemode:git, Node.js, and Google Chromehybridmode: local assets only
Limitations
- This skill does not compose music, generate sound effects, or create images and video through an API.
- The beat grid assumes a mostly steady tempo.
- Watercolour fills in code mode can take seconds per frame without a discrete GPU. Ask the renderer to avoid those fills on integrated graphics.
- Assembly rejects a clip that is shorter than its scene instead of freezing or retiming it.
GitHub репозиторий
Часто задаваемые вопросы
Что такое Skill music-video?
music-video — это Claude Skill от NoizAI. Skills объединяют инструкции и ресурсы, которые Claude загружает по мере необходимости, чтобы выполнять задачи, связанные с music-video, без дополнительных запросов.
Как установить music-video?
Используйте команды установки на этой странице: добавьте music-video в Claude Code как плагин или клонируйте репозиторий в каталог skills, затем перезапустите Claude, чтобы загрузить Skill.
К какой категории относится music-video?
music-video относится к категории Мета.
Можно ли использовать music-video бесплатно?
Да. music-video размещён на AIMCP и доступен для бесплатной установки.
Похожие навыки
Этот навык предоставляет проверенную в продакшене настройку для Content Collections — TypeScript-ориентированного инструмента, который преобразует файлы Markdown/MDX в типобезопасные коллекции данных с валидацией Zod. Используйте его при создании блогов, сайтов документации или контентных приложений на Vite + React для обеспечения типобезопасности и автоматической проверки содержимого. Он охватывает всё: от настройки плагина Vite и компиляции MDX до оптимизации развертывания и валидации схем.
Этот навык позволяет разработчикам создавать приложения на платформе прогнозных рынков Polymarket, включая интеграцию с API для торговли и получения рыночных данных. Он также обеспечивает потоковую передачу данных в реальном времени через WebSocket для отслеживания текущих сделок и рыночной активности. Используйте его для реализации торговых стратегий или создания инструментов, обрабатывающих обновления рынка в реальном времени.
Этот навык помогает разработчикам создавать плагины OpenCode, которые подключаются к более чем 25 типам событий, таким как команды, файлы и операции LSP. Он предоставляет структуру плагина, спецификации API событий и шаблоны реализации для модулей на JavaScript/TypeScript. Используйте его, когда вам нужно перехватывать, отслеживать или расширять жизненный цикл ассистента OpenCode AI с помощью пользовательской событийно-ориентированной логики.
SGLang — это высокопроизводительный фреймворк для обслуживания больших языковых моделей (LLM), специализирующийся на быстрой структурированной генерации JSON, regex и рабочих процессов агентов с использованием кэширования префиксов RadixAttention. Он обеспечивает значительно более высокую скорость вывода, особенно для задач с повторяющимися префиксами, что делает его идеальным для сложных структурированных результатов и многократных диалогов. Выбирайте SGLang вместо альтернатив, таких как vLLM, когда вам требуется ограниченное декодирование или вы создаете приложения с интенсивным совместным использованием префиксов.
