← ScenarioCONTENT HISTORY

Update to Scenario

Snapshot Nov 25, 2026 · 18:15 UTC · version 0.2.2

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Scenario and check future changes in Following.

Up to 3 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "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 lyric type, mattes and tracked graphics timed to sung onsets. Also for revising, recutting or cutting teasers from such a video.",
  "included_files": [
    {
      "relative_path": "README.md",
      "size_in_bytes": 6792
    },
    {
      "relative_path": "assets/engine/canvas.js",
      "size_in_bytes": 4270
    },
    {
      "relative_path": "assets/engine/core.js",
      "size_in_bytes": 14886
    },
    {
      "relative_path": "assets/engine/index.html",
      "size_in_bytes": 2600
    },
    {
      "relative_path": "assets/engine/main.js",
      "size_in_bytes": 14415
    },
    {
      "relative_path": "assets/engine/plate.js",
      "size_in_bytes": 5011
    },
    {
      "relative_path": "assets/engine/roto.js",
      "size_in_bytes": 9231
    },
    {
      "relative_path": "assets/engine/scenes/hud.js",
      "size_in_bytes": 8617
    },
    {
      "relative_path": "assets/engine/typekit.js",
      "size_in_bytes": 8129
    },
    {
      "relative_path": "assets/npm/package-lock.json",
      "size_in_bytes": 2682
    },
    {
      "relative_path": "assets/npm/package.json",
      "size_in_bytes": 198
    },
    {
      "relative_path": "assets/python/linux-x86_64.txt",
      "size_in_bytes": 164294
    },
    {
      "relative_path": "assets/python/macos-arm64.txt",
      "size_in_bytes": 158617
    },
    {
      "relative_path": "assets/python/requirements.in",
      "size_in_bytes": 543
    },
    {
      "relative_path": "assets/scene.template.js",
      "size_in_bytes": 5162
    },
    {
      "relative_path": "assets/timeline.template.js",
      "size_in_bytes": 2742
    },
    {
      "relative_path": "references/agent_brief_template.md",
      "size_in_bytes": 7319
    },
    {
      "relative_path": "references/audio_editing.md",
      "size_in_bytes": 6520
    },
    {
      "relative_path": "references/engine_api.md",
      "size_in_bytes": 18811
    },
    {
      "relative_path": "references/lessons.md",
      "size_in_bytes": 12914
    },
    {
      "relative_path": "references/motion_library.md",
      "size_in_bytes": 21934
    },
    {
      "relative_path": "references/pipeline.md",
      "size_in_bytes": 21694
    },
    {
      "relative_path": "scripts/audio_analysis.py",
      "size_in_bytes": 4132
    },
    {
      "relative_path": "scripts/audio_paths.py",
      "size_in_bytes": 502
    },
    {
      "relative_path": "scripts/av_sync_check.py",
      "size_in_bytes": 2313
    },
    {
      "relative_path": "scripts/beatwarp.py",
      "size_in_bytes": 1972
    },
    {
      "relative_path": "scripts/dance_sync_check.py",
      "size_in_bytes": 1584
    },
    {
      "relative_path": "scripts/fixmatte.py",
      "size_in_bytes": 1632
    },
    {
      "relative_path": "scripts/lipsync_check.py",
      "size_in_bytes": 2067
    },
    {
      "relative_path": "scripts/lyrics_align.py",
      "size_in_bytes": 7187
    },
    {
      "relative_path": "scripts/matte.swift",
      "size_in_bytes": 2072
    },
    {
      "relative_path": "scripts/matte_fallback.py",
      "size_in_bytes": 1104
    },
    {
      "relative_path": "scripts/matte_keyed.py",
      "size_in_bytes": 2383
    },
    {
      "relative_path": "scripts/plot_lyrics.py",
      "size_in_bytes": 1922
    },
    {
      "relative_path": "scripts/prep_clip.sh",
      "size_in_bytes": 1606
    },
    {
      "relative_path": "scripts/prep_video.py",
      "size_in_bytes": 2557
    },
    {
      "relative_path": "scripts/render.mjs",
      "size_in_bytes": 5682
    },
    {
      "relative_path": "scripts/scaffold.sh",
      "size_in_bytes": 6338
    },
    {
      "relative_path": "scripts/serve.mjs",
      "size_in_bytes": 1690
    },
    {
      "relative_path": "scripts/sheet.py",
      "size_in_bytes": 1287
    },
    {
      "relative_path": "scripts/still.mjs",
      "size_in_bytes": 3350
    },
    {
      "relative_path": "scripts/synth_beat.py",
      "size_in_bytes": 2030
    },
    {
      "relative_path": "scripts/track.py",
      "size_in_bytes": 1876
    }
  ],
  "name": "scenario-kinetic-music-video",
  "skill_md_contents": "---\nname: scenario-kinetic-music-video\ndescription: \"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 lyric type, mattes and tracked graphics timed to sung onsets. Also for revising, recutting or cutting teasers from such a video.\"\nlicense: MIT\n---\n\n# Kinetic Music Video\n\nA song goes in. A 1080p60 music video comes out, landscape for YouTube and X or vertical for TikTok,\nReels and Shorts: a motion designer's showreel cut to the track. Kinetic type, 2D and 3D graphics\nand transitions land on the beats and sung syllables. Generated footage of the subject is woven\nthrough it where the concept wants a performer. The approved master is the only soundtrack. Preserve\nthe original; an authorized audio edit produces a new, versioned master.\n\nThe work splits by what each tool does best:\n\n- **Scenario** supplies what code can't: a consistent subject with real physics, choreography, hair\n  and lip-sync, in whatever art style each section needs.\n- **The JS engine** supplies what video models can't: exact typography, frame-exact timing to onsets\n  and beats, infographics, compositing around the subject, and endless re-renders at zero generation\n  cost.\n- **Sub-agents** give each section a dedicated designer. A shared style bible and a verification\n  loop keep them coherent.\n\nConnection and the core generation loop: see the `scenario` skill in this repo. For a song-to-video\ncut without the engine, see `scenario-seedance-music-video`. If a sibling skill named here is\nmissing from your available skills, load it with `skill_get` (Scenario MCP) or ask the user to\ninstall it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas\nand flag the gap.\n\nRead `references/lessons.md` before starting. Every item in it cost real time or money once.\n`references/motion_library.md` is the design menu.\n\n## Before you start (ask once, then run)\n\n- **Workspace:** the Scenario team and project (`teams_list`; ask if there is more than one).\n- **Subject:**\n  - Who or what performs: a character from reference images, a mascot, a product, the artist's own\n    likeness (their own photos and consent only), or nobody (a pure motion-graphics or lyric video).\n  - Footage share: performer-led, a mix (often about 60/40), or graphics only.\n- **Look:**\n  - Ask for references: images, videos or links for the mood, the motion and the **color**. Vague\n    color asks without references drift to safe palettes.\n  - Decide the 2-4 looks and which sections own which.\n  - Ask what must never appear.\n  - Defaults: generated footage shown clean (no filters on it), graphics layered on and around it, a\n    fast and upbeat showreel energy.\n- **Brand:** any logo, wordmark or credit. Use official files in their official colors, only where\n  the director wants them.\n- **Budget:** lean (6-10 video generations), moderate (12-20) or big. Price each paid step with\n  `dry_run` (one run per distinct payload, then total) before spending. Relative anchors at 720p: a\n  6 s clip costs about twenty style frames, a 10 s clip about thirty-five, and a full mixed video\n  about five hundred. A 1080p clip measured about 2.5 times its 720p price, so settle the footage\n  resolution before quoting.\n- **Format:** one canvas per project, asked once: portrait 9:16 for TikTok, Reels or Shorts,\n  landscape 16:9 for YouTube or X (unattended with no destination: landscape). It is `CANVAS` in\n  `engine/timeline.js`, and style frames and footage are generated at that ratio, never cropped from\n  the other. On portrait, check the destination's current length cap and plan the teaser as the\n  platform cut when the song runs longer, or when you cannot check. Both ratios only on request: the\n  code re-renders free with `--canvas` and most shots are windowed, but each shot that must fill the\n  second frame (hook, lip-sync close-ups, finale) is paid again (`references/pipeline.md` §9). X\n  caps standard accounts at 2:20, so plan a teaser.\n- **Lyrics:** use them if supplied (they beat any transcript). Otherwise transcribe and flag the\n  uncertain words at the end.\n\nWith no one around to answer, choose sensible defaults for the creative choices and write them into\nTREATMENT.md. Do not default the money: with no stated budget or no explicit team and project, stop\nbefore the first paid step and say what is missing.\n\n## Workflow\n\n### 1. Scaffold and analyze the song\n\nRun `bash <skill>/scripts/scaffold.sh <song>` inside a new project folder (macOS on Apple Silicon or\nLinux x86_64 with glibc 2.28+: the Python lock covers those two), then follow\n`references/pipeline.md` §2:\n\n- `audio_analysis.py` writes stems and `engine/data/audio.json`: beats, downbeats, kick/snare/vocal\n  onsets, and 60 fps envelopes. **Measure the tempo**; labels lie (a \"130 BPM\" song was 98 with\n  double-time drums).\n- `lyrics_align.py transcribe`, then hand-correct `analysis/lyrics.txt`, then\n  `lyrics_align.py align` writes `engine/data/lyrics.json` with word onsets.\n- Check timing by eye with `plot_lyrics.py`. Audition when playback is available; a spectrogram\n  locates onsets but cannot prove pronunciation or musical continuity.\n\n### 1a. Edit the soundtrack when requested\n\nFor pronunciation repairs, lyric changes, section replacements or structural cuts, read\n[references/audio_editing.md](references/audio_editing.md). Use `scenario-ace-step` for its\nCover/Repaint contracts. Keep the current cut and master until a candidate is selected; preserve\naudio outside the agreed window and rebuild affected timing data after applying it. A picture-only\nrevision reuses the approved soundtrack.\n\n### 2. Research (parallel, background)\n\nLaunch two sub-agents with web access while you work on other things:\n\n- **Culture:** for the song's subject, find recognizable events, memes and visual tropes, each with\n  a verified fact, its iconic visual form, an insert idea and a short on-screen string.\n- **Craft:** study the user's motion references (download them, contact-sheet them, read the\n  frames), plus genre direction techniques. Extract timing numbers, color hex values and\n  implementable JS moves.\n\nSave the condensed results as `analysis/research_*.md`. Scene agents read them alongside\n`references/motion_library.md`.\n\n### 3. Concept, style bible and treatment\n\n- **Give the video a spine.** The strongest concepts make the edit itself carry the song's meaning:\n  a device that progresses through the whole video, for example a counter, clock or countdown that\n  moves with the song while the cut rate or the looks escalate with it. The spine usually lives in\n  the HUD counters.\n- **STYLE.md** (the law):\n  - a one-line concept and the spine\n  - the footage rules (clean plate and the back/mid/front layers, or another policy)\n  - the looks, each with ground, ink, accent, rendering rule and matching footage style\n  - the palette with roles\n  - 4-5 type roles with named fonts\n  - lyric display rules\n  - a motion grammar mapping beats to effects, with the cut density per section\n  - the subject (identity, design details usable as graphic motifs)\n  - brand rules, references and bans\n- **TREATMENT.md:**\n  - song facts and the energy map\n  - the arc\n  - the **hook for the first 3 seconds** (the strongest idea in the video, and it must work as a\n    muted autoplay)\n  - one row per section: time range on downbeats, lyrics, look, must-have ideas\n  - a footage map (filled in as clips land)\n- **PLAN.md:** a one-page version for the director to approve before you spend on footage\n  (unattended, this is the stop point if the budget is unstated).\n\n### 4. Subject, style frames and footage on Scenario\n\nSkip this for a graphics-only video, apart from any stills or 3D props. Otherwise follow\n`references/pipeline.md` §3-5:\n\n- **Subject sheet:** a turnaround, expressions and callouts from the user's references. Look at it,\n  then crop identity references from it.\n- **Style frames:** one still per shot at the canvas ratio (an image model that takes reference\n  images), in its section's look. Compose with negative space for type (on portrait, the face and\n  the type space inside the safe band), on a set that composites (black void with rim light, flat\n  color cyc, or white high-key). No text. In a lip-sync frame nothing covers the mouth (no mic, hand\n  or prop): a covered mouth fails the sync check and is paid again. Contact-sheet them and get the\n  look approved cheaply (unattended: proceed only inside a stated budget).\n- **Footage routes:**\n  - Image-to-video from the frame for actions.\n  - A video model with reference images and reference audio, given a **synthesized beat track** for\n    dances that lock to the song, then beat-warp.\n  - **Audio-to-video** from a frame plus a vocal-stem slice for lip-sync. The alternative is\n    reference-audio video plus a lip-sync correction model.\n  - Code instead of generation for networks, charts, UI and particles.\n- Never send the song to a video model. Turn the model's native audio off when its schema offers it\n  (the render takes sound only from the master either way), and launch in waves within the team's\n  concurrency ceiling (`jobs_wait` re-called with `pending_job_ids`, never `job_get`). Relaunch only\n  a launch refused with 429 `parallel-custom-jobs`: it created no job, and dropping it leaves a hole\n  in the cut.\n- **Prep** every clip with `tools/prep_clip.sh`: frames, a subject matte (Apple Vision, with\n  Scenario background removal as the fallback; see `references/pipeline.md` §5) and tracking\n  (MediaPipe pose plus the matte bbox). Inspect the mattes. Write each clip's content, key moments,\n  slot and matte quality into the footage map.\n\n### 5. Engine and scene agents\n\n- **Smoke-test first:**\n  - Set `PAL` in `core.js`, and in `engine/timeline.js` set `CANVAS`, the sections on downbeats,\n    `HUD` (title, mark, section codes, spine counters) and `POST` (neutral by default).\n  - Write a tiny `_smoke.js`: plate → type behind the subject → matte → tracked label.\n  - Render one still and a 5 s clip, then confirm audio and flashes line up with `av_sync_check.py`.\n- **Brief the agents.** Fill in `AGENTS_BRIEF.md` from the template, then launch one background\n  agent per section in a single message. Each gets its file, time range, lyrics, must-have ideas and\n  clips, and reads AGENTS_BRIEF, STYLE, TREATMENT, ENGINE_API and the research first. Log the agent\n  ids. For a teaser or anything under about 30 s, the lead may write the scenes itself and skip the\n  research agents, PLAN.md and the per-section agents; keep the smoke test.\n- **Deliver clips as they land.** Message the agent that needs each one (\"clip ready: content, key\n  moments, slot\").\n- **Review every report.** Contact-sheet the best stills and Read them. Fix engine-level problems\n  yourself (they affect everyone) and tell the agents what changed.\n\n### 6. Assemble, watch, iterate\n\n- **Render the full cut** (3 workers, about 5 min for 2:00 on an M-series Mac). Wait for it in the\n  foreground (or poll until it prints `wrote`) and carry on to verification and delivery: never end\n  the run while a render or encode is still going, because a headless session that stops kills it.\n- **Verify:**\n  - `av_sync_check.py`: expect 0.0 ms audio and 0 to +1 frame visual. Below a correlation of about\n    0.15 the visual lag means nothing (type leading by `E.LEAD` reads as up to -3 frames): check\n    onset stills instead.\n  - `freezedetect`: no frozen footage.\n  - Contact sheets at 0.5 s steps, 20 s per sheet.\n  - Every section boundary, frame by frame.\n  - On portrait, `still.mjs --safe` sheets, 20 s each: no word, logo or face outside the outlined\n    band.\n- **Global look pass:** a still sheet across all sections, then tune `POST`, the palette and the HUD\n  theme.\n- **Revisions:** map each director note (they arrive as timestamps) to its section and send it back\n  to the owning agent via SendMessage. Resuming keeps its context. Fix a weak shot by replacing it\n  with a new generation in a different look, or with code, never by adding effects. Offer\n  alternatives as timeline `variant`s (render with `--variant b`) instead of guessing.\n\n### 7. Deliver\n\n- **Videos:** a master, an upload file (landscape: the master for YouTube, an X-ready 2-pass 21 Mb/s\n  file under 512 MB for X; portrait: the vertical upload in `references/pipeline.md` §8), a teaser\n  (verse plus first chorus), plus one file per variant, and one set per canvas, suffixed `_16x9` and\n  `_9x16`, when both were asked for. Use distinct filenames, because macOS is case-insensitive.\n- **Stills:** full-res PNGs rendered by the engine, never grabbed from the compressed video.\n- **Style sheet / making-of:** publish it as an artifact or doc: palette, type, subject sheet,\n  source-vs-final footage pairs, a frame index, the pipeline and iteration counts.\n- **Report:** tell the user what was verified, which lyrics you guessed, and the CU spent, summed\n  from this run's successful `jobs_wait` rows (`cuCost`, logged in `analysis/jobs.md`; a failed job\n  is refunded but its row keeps a `cuCost`); `usage` is project-wide and includes other work.\n\n## Quality bar\n\n- **Every word shows on time.** Each sung word is visible at its onset (as a hero or in the subtitle\n  track), and hero words peak on the onset frame.\n- **Integration, not decoration.** Every footage moment has a graphic that reacts to it (behind via\n  the matte, tracked to it, timed to its move, or continuing its shapes). The footage pixels are\n  untouched.\n- **No static frames.** Footage always plays live, and something always moves.\n- **One focal point per frame.** Type frames the subject and never covers the face.\n  Behind-the-subject type still reads. On portrait, every word, logo and face sits inside the safe\n  band.\n- **Section variance.** Mix the looks, 2D and 3D, poster slams and quiet subtitles. Never use the\n  same type treatment on two consecutive lines. Cut density climbs with the song's energy, and\n  showcase moments (logo, end card) get time.\n- **Photosensitivity.** At most 3 full-frame luminance flips per second.\n- **Watch it yourself** before calling it done, then take a second look at the first 3 seconds.\n\n## Files in this skill\n\n- Setup and analysis: [scaffold.sh](scripts/scaffold.sh),\n  [audio_analysis.py](scripts/audio_analysis.py), [lyrics_align.py](scripts/lyrics_align.py),\n  [plot_lyrics.py](scripts/plot_lyrics.py)\n- Locked JavaScript dependencies copied by scaffold.sh into new projects:\n  [package.json](assets/npm/package.json), [package-lock.json](assets/npm/package-lock.json)\n- Hashed, wheels-only Python locks scaffold.sh installs, one per platform:\n  [macos-arm64.txt](assets/python/macos-arm64.txt),\n  [linux-x86_64.txt](assets/python/linux-x86_64.txt), resolved from\n  [requirements.in](assets/python/requirements.in)\n- Approved-master stem lookup for transcription, plots and vocal slices:\n  [audio_paths.py](scripts/audio_paths.py)\n- Footage generation helpers: [synth_beat.py](scripts/synth_beat.py),\n  [beatwarp.py](scripts/beatwarp.py)\n- Footage prep: [prep_clip.sh](scripts/prep_clip.sh), [prep_video.py](scripts/prep_video.py),\n  [matte.swift](scripts/matte.swift), [fixmatte.py](scripts/fixmatte.py),\n  [matte_keyed.py](scripts/matte_keyed.py), [matte_fallback.py](scripts/matte_fallback.py),\n  [track.py](scripts/track.py)\n- Sync checks: [lipsync_check.py](scripts/lipsync_check.py),\n  [dance_sync_check.py](scripts/dance_sync_check.py), [av_sync_check.py](scripts/av_sync_check.py)\n- Rendering and review: [render.mjs](scripts/render.mjs), [still.mjs](scripts/still.mjs),\n  [serve.mjs](scripts/serve.mjs), [sheet.py](scripts/sheet.py)\n- Engine, copied into the project by scaffold.sh: [index.html](assets/engine/index.html),\n  [main.js](assets/engine/main.js), [canvas.js](assets/engine/canvas.js),\n  [core.js](assets/engine/core.js), [plate.js](assets/engine/plate.js),\n  [roto.js](assets/engine/roto.js), [typekit.js](assets/engine/typekit.js),\n  [hud.js](assets/engine/scenes/hud.js), plus [timeline.template.js](assets/timeline.template.js)\n  and [scene.template.js](assets/scene.template.js)\n- [references/pipeline.md](references/pipeline.md): every command and Scenario call, step by step\n- [references/engine_api.md](references/engine_api.md): the scene contract and the full `E` API\n  (canvas and safe band, plates, mattes, tracking, post, HUD, variants)\n- [references/motion_library.md](references/motion_library.md): looks, type system, a 40-move\n  technique library, integration ideas, transitions, timing, easing and springs, sync and cut\n  density\n- [references/agent_brief_template.md](references/agent_brief_template.md): the brief each scene\n  agent reads\n- [references/lessons.md](references/lessons.md): production gotchas and direction defaults that\n  held\n"
}

SHA-256 of public snapshot: eb2a9eab4f7b56e36cdded10b7c95784ea91bc5b29da53dd4320b23d30cb5d8b