Scenario kinetic music video

From scenario-labs/skills · View interactive version

Scenario kinetic music video is an AI agent skill from the GitHub repository scenario-labs/skills. Use when turning a song into a kinetic-typography or motion-design music video, lyric video, visualizer or K-pop style MV with Scenario, landscape or vertical 9:16 for TikTok, Reels and Shorts: a generated subject sheet, style frames and footage, plus a deterministic JavaScript/three.js engine for l

How to use this skill

Skill file

Kinetic Music Video

A song goes in. A 1080p60 music video comes out, landscape for YouTube and X or vertical for TikTok,

Reels and Shorts: a motion designer's showreel cut to the track. Kinetic type, 2D and 3D graphics

and transitions land on the beats and sung syllables. Generated footage of the subject is woven

through it where the concept wants a performer. The approved master is the only soundtrack. Preserve

the original; an authorized audio edit produces a new, versioned master.

The work splits by what each tool does best:

and lip-sync, in whatever art style each section needs.

and beats, infographics, compositing around the subject, and endless re-renders at zero generation

cost.

loop keep them coherent.

Connection and the generation loop: the scenario skill. For a song-to-video cut without the

engine, see scenario-seedance-music-video. If a sibling skill named here is missing from your

available skills, load it with skill_get (Scenario MCP) or ask the user to install it

(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag

the gap.

Read references/lessons.md before starting: every item in it cost real time or money.

references/motion_library.md is the design menu.

Before you start (ask once, then run)

likeness (their own photos and consent only), or nobody (a pure motion-graphics or lyric video).

color asks without references drift to safe palettes.

fast and upbeat showreel energy.

the director wants them.

dry_run (one run per distinct payload, then total) before spending. Relative anchors at 720p: a

6 s clip costs about twenty style frames, a 10 s clip about thirty-five, and a full mixed video

about five hundred. A 1080p clip measured about 2.5 times its 720p price, so settle the footage

resolution before quoting.

landscape 16:9 for YouTube or X (unattended with no destination: landscape). It is CANVAS in

engine/timeline.js, and style frames and footage are generated at that ratio, never cropped from

the other. On portrait, check the destination's current length cap and plan the teaser as the

platform cut when the song runs longer, or when you cannot check. Both ratios only on request: the

code re-renders free with --canvas and most shots are windowed, but each shot that must fill the

second frame (hook, lip-sync close-ups, finale) is paid again (references/pipeline.md §9). X

caps standard accounts at 2:20, so plan a teaser.

uncertain words at the end.

With no one around to answer, choose sensible defaults for the creative choices and write them into

TREATMENT.md. Do not default the money: with no stated budget or no explicit team and project, stop

before the first paid step and say what is missing.

Workflow

1. Scaffold and analyze the song

No song yet: generate one at the length the video needs first (references/pipeline.md §2). Run

bash <skill>/scripts/scaffold.sh <song> inside a new project folder (macOS on Apple Silicon or

Linux x86_64 with glibc 2.28+: the Python lock covers those two), then follow

references/pipeline.md §2:

onsets, and 60 fps envelopes. Measure the tempo; labels lie (a "130 BPM" song was 98 with

double-time drums).

lyrics_align.py align writes engine/data/lyrics.json with word onsets.

locates onsets but cannot prove pronunciation or musical continuity.

1a. Edit the soundtrack when requested

For pronunciation repairs, lyric changes, section replacements or structural cuts, read

references/audio_editing.md. Use scenario-ace-step for its

Cover/Repaint contracts. Keep the current cut and master until a candidate is selected; preserve

audio outside the agreed window and rebuild affected timing data after applying it. A picture-only

revision reuses the approved soundtrack.

2. Research (parallel, background)

Launch two sub-agents with web access while you work on other things:

a verified fact, its iconic visual form, an insert idea and a short on-screen string.

frames), plus genre direction techniques. Extract timing numbers, color hex values and

implementable JS moves. Measure each reference per section into analysis/targets.json

(references/dynamism.md §5).

Save the condensed results as analysis/research_*.md. Scene agents read them alongside

references/motion_library.md.

3. Concept, style bible and treatment

a device that progresses through the whole video, for example a counter, clock or countdown that

moves with the song while the cut rate or the looks escalate with it. The spine usually lives in

the HUD counters.

muted autoplay)

(unattended, this is the stop point if the budget is unstated).

4. Subject, style frames and footage on Scenario

Skip this for a graphics-only video, apart from any stills or 3D props. Otherwise follow

references/pipeline.md §3-5:

then crop identity references from it.

images), in its section's look. Compose with negative space for type (on portrait, the face and

the type space inside the safe band), on a set that composites (black void with rim light, flat

color cyc, or white high-key). No text. In a lip-sync frame nothing covers the mouth (no mic, hand

or prop): a covered mouth fails the sync check and is paid again. Contact-sheet them and get the

look approved cheaply (unattended: proceed only inside a stated budget).

dances that lock to the song, then beat-warp.

reference-audio video plus a lip-sync correction model.

(the render takes sound only from the master either way), and launch in waves within the team's

concurrency ceiling (jobs_wait re-called with pending_job_ids, never job_get). Relaunch only

a launch refused with 429 parallel-custom-jobs: it created no job, and dropping it leaves a hole

in the cut.

Scenario background removal as the fallback; see references/pipeline.md §5) and tracking

(MediaPipe pose plus the matte bbox). Inspect the mattes. Write each clip's content, key moments,

slot and matte quality into the footage map.

5. Engine and scene agents

their energy, HUD (title, mark, section codes, spine counters) and POST (neutral by

default).

only: backdrop → one word).

agent per section in a single message. Each gets its file, time range, lyrics, must-have ideas and

clips, and reads AGENTS_BRIEF, STYLE, TREATMENT, ENGINE_API and the research first. Log the agent

ids. For a teaser or anything under about 30 s, the lead may write the scenes itself and skip the

research agents, PLAN.md and the per-section agents; keep the smoke test.

moments, slot").

yourself (they affect everyone) and tell the agents what changed.

6. Assemble, watch, iterate

motion blur). Wait for it in the foreground (or poll until it prints wrote), then verify and

deliver: never end the run mid-render or mid-encode, since a headless session that stops kills it.

0.15 the visual lag means nothing (type leading by E.LEAD reads as up to -3 frames): check

onset stills instead.

replaces its JSON); unattended, after 3 rounds on a section or at the budget, deliver and report

the failing sections.

band.

theme. Decide motion blur from an A/B of the fastest 5 s (--blur, references/pipeline.md §7;

unattended: off unless the user asked for it, then judge the pair yourself).

to the owning agent via SendMessage. Resuming keeps its context. Fix a weak shot by replacing it

with a new generation in a different look, or with code, never by adding effects. Offer

alternatives as timeline variants (render with --variant b) instead of guessing.

<skill>/scripts/ into tools/, and add the template's dynamism check to AGENTS_BRIEF.md.

Replace ENGINE_API.md with references/engine_api.md only when engine/canvas.js exists;

otherwise add its energy line. Then tag each TIMELINE entry's energy from TREATMENT.md

(references/dynamism.md §2).

7. Deliver

other file is made from it.

MB; portrait: the vertical upload in references/pipeline.md §8), a teaser (verse plus first

chorus), plus one file per variant. With both canvases asked for, one set per canvas, suffixed

_16x9 and _9x16. Use distinct filenames, because macOS is case-insensitive.

from the dry_run quotes of this run's charged jobs (successes, plus xAI moderation stops, per

scenario; logged in analysis/jobs.md). cuCost omits any quality-gate fee; usage is

project-wide and includes other work.

Quality bar

track), and hero words peak on the onset frame.

the matte, tracked to it, timed to its move, or continuing its shapes). The footage pixels are

untouched.

Behind-the-subject type still reads. On portrait, every word, logo and face sits inside the safe

band.

same type treatment on two consecutive lines. Cut density climbs with the song's energy, and

showcase moments (logo, end card) get time.

pairs of opposing luminance changes).

Files in this skill

audio_analysis.py, lyrics_align.py,

plot_lyrics.py

package.json, package-lock.json

macos-arm64.txt,

linux-x86_64.txt, resolved from

requirements.in

audio_paths.py

beatwarp.py

matte.swift, fixmatte.py,

matte_keyed.py, matte_fallback.py,

track.py

dance_sync_check.py, av_sync_check.py

rectify_screen.py (flattens a phone-filmed screen),

references/dynamism.md

still.mjs, serve.mjs, sheet.py,

delivery_check.py

main.js, blur.js,

canvas.js, core.js,

plate.js, roto.js,

typekit.js, hud.js, plus

timeline.template.js and

scene.template.js

(canvas and safe band, plates, mattes, tracking, post, HUD, variants)

integration ideas, transitions, timing, easing, sync and cut density

agent reads

held

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.