Karaoke video — how to make it with code and an AI agent
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.mdto its path. Before generating anything, show the person the options on the use-case page.
Lines that fill word by word as they are sung, with a count-in and a backing picture.
Output: 16:9 · full song · Input: The song and word timings
Ready templates
- Anime JP Subtitles — Japanese captions in four anime styles from one subs.json: fansub lines with a karaoke sweep, TV telop with popping letters, a vertical tategaki column and katakana SFX stamps. · install:
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-jp-subtitles && bash make.command
Recipe, beat by beat
Each beat lists components that build it; install any with its command, then fill its slots.
Count-in (Progress & timers)
- Chart Story — One chart builds from data in reading order and lands the exact supplied values: staggered bars, a left-to-right line with area fill, a swee ·
npx hyperframes add chart-story - Conic Progress Ring — A token-driven conic progress ring whose angular fill and center count settle together from one registered percentage. ·
npx hyperframes add conic-progress-ring - Count Up — A token-native stat counter that eases between values, counting up or down, and lands with a restrained scale pulse. ·
npx hyperframes add count-up
Lines (Captions & subtitles, Text reveals)
- Anime JP Subtitles — Japanese captions in four anime styles from one subs.json: fansub lines with a karaoke sweep, TV telop with popping letters, a vertical tate ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-jp-subtitles && bash make.command - varg Music Video — 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 t ·
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 - Blend Difference — Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background ·
npx hyperframes add caption-blend-difference - Apple Notes Video — Any text typed live in an iPhone Apple Notes screen over the iOS keyboard, with key clicks, optional music and an end card. 9:16. ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/apple-notes-video && bun install - Blur In — An Operator Black word-level content reveal that resolves its own text from controlled blur ·
npx hyperframes add blur-in
Backing (Backgrounds & gradients, Galleries & carousels)
- ASCII Trail Reveal — An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel. ·
npx hyperframes add ascii-trail-reveal - Aurora — Green and violet aurora curtains ripple across a night sky. A WebGPU shader from the Shaders library (shaders.com, MIT). ·
npx hyperframes add aurora - Aurora Drift — Three soft accent-derived aurora fields drift in an exact ambient loop over a deep base and faint vignette. ·
npx hyperframes add aurora-drift - Card Catalog Explainer — A 56 s explainer: a wall of code-made videos, then one request travels through a card catalog to the finished MP4. Point config.json at any ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/card-catalog-explainer && bash make.command - Stamp Carousel — An iPhone swiping through your pictures as perforated postage stamps, the screen colour following each stamp. MP4 on a background or with al ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/stamp-carousel && bash make.command - Camera Shake — Procedural handheld, telephoto and rig camera shake for any wrapper: nine measured profiles with per-lens projection, closed-form and seek-s ·
npx hyperframes add camera-shake
Across the whole video: Beat sync
Generated footage, voice and music
Code renders the layout for free. Anything generated — AI shots, voiceover, music, lip-sync — runs on varg with one key: npx skills add vargHQ/skills --skill varg-ai, the Claude Code plugin claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg, or the MCP https://mcp.varg.ai/mcp.