Skip to main content
skill CX Codex

scenario-seedance-music-video — Claude Code skill: cut clips

Turns a song into a finished music video: shot list built on the track's sections, clips from Seedance, and an edit laid over the untouched master.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add scenario-labs/skills --skill scenario-seedance-music-video -a claude-code
Open on GitHub

What scenario-seedance-music-video does

The skill runs five steps: song, lyrics, story, frames, video. scripts/song.py reads the master and pulls out hash, duration, loudness, tempo, sections and cut candidates, which then become shot boundaries and cut points. scripts/build.py lays the master over the cut once, at the end, and hash-checks the file.

Sound gets decided before generation, because that choice sets generateAudio on every shot. Song alone means generateAudio: false everywhere, and build.py stream-copies the master whenever MP4 allows it. Song over the shots' own sound means generateAudio: true, every prompt naming only what the scene itself makes after "diegetic sound only:", plus "sound": 0.2 in the edit file. Naming an instrument or a genre backfires: one run failed an output-audio content check over an added "distant guitar", and an exclusion like "no music" has failed that check too.

The scripts need ffmpeg and ffprobe on PATH, and numpy for song.py. The skill leans on the sibling scenario and scenario-seedance skills, so those have to be installed as well. It also does not trust a requested aspect ratio: stills and clips land near it rather than on it, and build.py pads the difference. Worth checking the delivered file instead of trusting the parameter.

What it helps with

  • split a track into sections and find cut points from its tempo
  • write a shot list that cuts on the beat
  • generate Seedance clips while holding one look across shots
  • mix the shots' own sound under the master without clipping
  • confirm the delivered file carries the original master

Example prompts for the agent

  • Build a music video from master.mp3, starting with scripts/song.py to map the sections
  • Assemble the cut: python3 scripts/build.py edit.json out.mp4 with the clips' sound at 0.2 under the master
  • Generate the shots in Seedance with generateAudio: false so the song stays the only score

How to install scenario-seedance-music-video

1Skills CLI (Vercel)

npx skills add scenario-labs/skills --skill scenario-seedance-music-video -a claude-code

2Manually: put the files in place

~/.claude/skills/scenario-seedance-music-video/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/scenario-seedance-music-video/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about scenario-seedance-music-video

How do I install scenario-seedance-music-video in Claude?

Run npx skills add scenario-labs/skills --skill scenario-seedance-music-video -a claude-code. The skill lands at ~/.claude/skills/scenario-seedance-music-video/SKILL.md.

What does scenario-seedance-music-video do?

It takes a track through to a finished video: sections from the master, lyric transcription, a one-page story, reference stills, Seedance shots, and an edit laid over the untouched master.

What does the skill need to run?

ffmpeg and ffprobe on PATH, plus numpy for scripts/song.py. The sibling scenario and scenario-seedance skills are expected too; without them you work from the tool schemas.

Source text

SKILL.md · MIT
---
name: scenario-seedance-music-video
description: "Use when turning a song, track, or audio master into a finished music video with Scenario and Seedance: planning shots against beats and sections, transcribing lyrics, generating clips that cut to music, keeping the shots' own sound while the song stays the only score, assembling a delivery over the untouched master soundtrack, or verifying the final cut. Keywords: music video, beat sync, shot list, lyric transcription, reference frames, ffmpeg assembly, Seedance."
license: MIT
---

# Scenario Seedance Music Video

## Overview

Five steps: song, lyrics, story, frames, video. The supplied master is the only score, and no shot
writes its own. [scripts/build.py](scripts/build.py) lays the master over the cut once, at the end,
and proves the file untouched by hash. [scripts/song.py](scripts/song.py) reads the master so cuts
land on its structure. The scripts need ffmpeg and ffprobe on PATH, and numpy for song.py.

Connection and the core generation loop: see the `scenario` skill in this repo. The Seedance
parameter contract and conditioning traps: see the `scenario-seedance` skill. If a sibling skill
named here is missing from your available skills, ask the user to install it
(`npx skills add scenario-labs/skills --skill <name>`); unattended, proceed from tool schemas and
flag the gap.

## The two soundtracks

Music written inside a shot restarts in a new key at every cut, so the score comes from outside the
video model: the supplied master. What Seedance makes is the sound bolted to the picture. The choice
sets `generateAudio` on every shot, so make it before generating:

- Song alone: `generateAudio: false` everywhere. build.py stream-copies the master whenever MP4
  allows, so the delivered soundtrack is the supplied file, bit for bit.
- Song over the shots' own sound: `generateAudio: true`, every prompt naming the sound the scene
  itself makes (heels on wet asphalt, room tone) after "diegetic sound only:" and nothing else, plus
  `"sound": 0.2` in the edit file. Name no instrument or genre, however well it fits the track, and
  no exclusion such as "no music": an instrument invites a score, one run failed on an output-audio
  content check for an added "distant guitar", and the exclusion has failed that check too. build.py
  cuts each clip's audio to its slot, mixes it under the master at that gain, and refuses a mix that
  would clip. The delivery is then one AAC encode, trading the bit-for-bit guarantee for the sound;
  the master file stays hash-checked.

## Quick reference

| Step      | Call                                              | Notes                                                             |
| --------- | ------------------------------------------------- | ----------------------------------------------------------------- |
| 1. Song   | `python3 scripts/song.py master.mp3 -o song.json` | hash, duration, loudness, tempo, sections, cut candidates         |
| 2. Lyrics | `recommend` for transcription, `model_run`        | supplied lyrics win; sung-vocal transcription is a draft          |
| 3. Story  | one page, shown to the user first                 | the cheapest place to be wrong; name what must not drift          |
| 4. Frames | image model at the delivery aspect ratio          | reference stills, one per look to hold                            |
| 5. Shots  | Seedance `model_run`, audio per the choice above  | `dry_run` first; `wait=false`; `jobs_wait` with `pending_job_ids` |
| 6. Cut    | `python3 scripts/build.py edit.json out.mp4`      | one ffmpeg pass: conform, concatenate, lay the master, verify     |

Ask once before starting: team and project, track clearance, aspect ratio and length, sound under
the song or not, what must and must not appear, spend ceiling. With no one to answer, take the song
alone, and write the story down rather than waiting to show it. Then run without stopping.

## Worked example: one verse, three shots

1. `python3 scripts/song.py master.mp3 -o song.json`. Sections are shot boundaries, cut candidates
   are cut points; listen before trusting them.
2. Upload the master: multipart `upload_asset`, then `upload_asset_complete` (see the `scenario`
   skill). `recommend` a transcription model (the need in the user's own words as `prompt`),
   `model_schema_get`, `model_run`, `jobs_wait`. The transcript is a text asset among the job's
   asset ids: `asset_get` returns it whole in `metadata.preview` when `hasFullPreview` is true (at
   authoring time the Whisper-based tool wrote SRT-style timed blocks), else `asset_download`
   fetches the file. Instrumental track: say so and move on.
3. Write one page: what happens, where, how it turns across the sections; name the closing image.
   Show it to the user before spending anything.
4. Generate reference stills with an image model (via `recommend`) at the delivery aspect ratio, one
   per look. Look at them: they set identity and palette downstream. Holding one character across
   several: see the `scenario-consistency` skill.
5. Per shot, decide the conditioning: opening state matters, pass a first-frame `image`; only
   identity and world matter, pass `referenceImages` (see
   [references/shots.md](references/shots.md)). Generate each shot one or two seconds longer than
   its slot for a trim handle. To land an action on a beat inside a shot, timecode it from the
   clip's start: the beat's master time minus the shot's `at`, plus any head trim planned as `in`
   (an unplanned trim moves every beat). Hold one camera move and one location across the timecodes;
   timecoded verbs survive generation where mood words do not.
6. Write `edit.json` and run `python3 scripts/build.py edit.json out.mp4`:

```json
{
  "master": "master.mp3",
  "fps": 24,
  "width": 1280,
  "height": 720,
  "sound": 0.2,
  "shots": [
    { "clip": "clips/01.mp4", "at": 0.0 },
    { "clip": "clips/02.mp4", "at": 12.5, "in": 1.0 }
  ]
}
```

Each shot runs until the next starts and the last to the master's end, so gaps are impossible, and
every `at` snaps to the nearest frame. `in` is an optional head trim. `sound` is the gain on the
clips' own audio: 0.1 to 0.3 under a mastered track, up to 1.0 when the clips run quiet (build.py
takes 0 to 4); drop the line for the song alone. The build fails loudly on a clip too short, a mix
that would clip, or delivered audio that is not the master.

## Common mistakes

- Letting a shot score itself: its score restarts at every cut.
- Turning `sound` on before listening to every clip: `generateAudio` is one switch over the whole
  track, so a clip that leaked music goes back with `generateAudio: false` rather than an exclusion
  in words.
- Trimming, normalizing, fading, or re-encoding the master yourself: build.py copies it or carries
  it at unity, and hash-checks the file either way.
- Trusting a requested aspect ratio: stills and clips land near it, not on it, and build.py pads the
  difference; crop to the delivery ratio first.
- Prompting an opening state in reference mode: it will not appear; pass a first-frame `image`.
- Judging a clip from a sparse contact sheet: a continuous camera move looks like a hard cut;
  measure first (see [references/shots.md](references/shots.md)).
- Trusting the beat grid: sections and cut candidates are suggestions; check them against what you
  hear.
- Calling it done without watching the delivery with sound, then muted.

© scenario-labs · MIT · scenario-labs/skills

Similar skills

Everything for AI and ML →

From the same set68

scenario-gemini-image Guides image generation and natural-language edits with Google Gemini models on Scenario via MCP. CX Codex +1 392installs scenario-gpt-image A skill that teaches your agent to run Anthropic's Claude Image models on Scenario over MCP: text-to-image, reference edits, alpha-mask inpainting and transparent cutouts. CX Codex +1 402installs scenario-blender-lighting-rendering A skill that walks an AI agent through lighting, rendering and compositing in Blender, from three-point setups to AgX color management. CX Codex +1 400installs scenario-seedance Directs ByteDance Seedance video generation and editing on Scenario via MCP. It configures first and last frames, handles asset references, and extends clips. CX Codex +1 387installs scenario-formats A decision ladder for shipping one approved master at many sizes and ratios through Scenario. Use it when one visual has to feed stories, feeds, banners and previews. CX Codex +1 394installs scenario-workflows A skill for running saved Scenario workflows over MCP: list apps, build the inputs object, price a run before spending anything. CX Codex +1 391installs scenario-video-editing MCP skill for editing existing Scenario footage with tool models instead of new generations. Handles LUT grading, trimming, split cuts, reversing, and background removal. CX Codex +1 383installs scenario-sonilo Generates sound effects and instrumental music through Sonilo models on Scenario. Useful for scoring silent video clips or creating standalone audio via MCP. CX Codex +1 380installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor