# varg Music Video — template for beat sync (python)

> **For AI agents:** find the right skill in one call — `curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"` returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the use-case page.

An AI music video from a song: song map with beats and word timings, a beat-grid storyboard, Seedance scenes with QA, a frame-exact cut on the song, lyrics and graphics in HyperFrames.

- **Install:** `git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-music-video/scripts/songmap.py song.mp3 --lyrics lyrics.txt --out songmap.json`
- **Registry:** varg · **Framework:** python · **License:** MIT
- **Docs and preview:** https://github.com/vargHQ/code2video-templates/tree/main/varg-music-video
- **Source:** https://github.com/vargHQ/code2video-templates/tree/main/varg-music-video
- **Example:** https://s3.varg.ai/files/194b94d0-58ff-4e8b-91de-4f1959d04013/file_5e78548332d5.gif
- **Runs:** needs generation credits (AI footage) — on varg with one key
- **Aspect:** any

## Slots (what you fill in)

- `song` (audio)
- `lyrics` (string)
- `story` (string) — a one-line idea

## Used in

- [Lyric video](https://skills.varg.ai/video/lyric-video.md)
- [Beat-synced slideshow](https://skills.varg.ai/video/beat-slideshow.md)
- [Music video](https://skills.varg.ai/video/music-video.md)
- [Live-coded music video](https://skills.varg.ai/video/live-code-music.md)
- [Kinetic manifesto](https://skills.varg.ai/video/manifesto.md)
- [Game trailer](https://skills.varg.ai/video/game-trailer.md)

## More beat sync

- [Anime Triple Split](https://skills.varg.ai/component/varg.anime-triple-split.md) — `git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-triple-split && bash make.command`
- [Beat Accent](https://skills.varg.ai/component/hf.beat-accent.md) — `npx hyperframes add beat-accent`
- [Beat Freeze Cut](https://skills.varg.ai/component/hf.beat-freeze-cut.md) — `npx hyperframes add beat-freeze-cut`
- [Beat Pulse Background](https://skills.varg.ai/component/hf.beat-pulse-background.md) — `npx hyperframes add beat-pulse-background`
- [Beat Timeline](https://skills.varg.ai/component/hf.beat-timeline.md) — `npx hyperframes add beat-timeline`
- [Icon Morph Beat](https://skills.varg.ai/component/hf.icon-morph-beat.md) — `npx hyperframes add icon-morph-beat`
