agentleFS
PrunaAIPrunaAI/pruna-skills/skills/workflows/music-video/SKILL.md

music-video

Skill20 starsChanged 45 days agoApache-2.0View on GitHub

Use when someone wants a full music video — original song or vocals, performance clips, B-roll, and lyric-synced edits.

  • Reads credentials

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow each skill's Before generating / craft sections — do not restate guide content here.

    line 27
  2. Distinctive:

    Do not call Music 2.5 or Pruna video until lyrics are approved.

    line 69
  3. Distinctive:

    Ask whether performance beats should read as one singer or whether recasts are deliberate.

    line 73
  4. Distinctive:

    Default first paid stop: song.

    line 96
  5. Very specific:

    After music-2.5 delivers the track, run whisperx (align_output: true) before batching p-video-2 / p-video-avatar clips — do not skip …

    line 98
  6. Very specific:

    Every later performance still = p-image-edit from hero_still — *"Using attached reference as identity.

    line 129
  7. Distinctive:

    Run the slop gate on hero and each edit before Phase D.

    line 130
  8. Distinctive:

    Run ./references/music-video-quality-checklist.md before Phase D.

    line 140
  9. Distinctive:

    Prefer audio-conditioned mode — upload the same slice, motion follows length:

    line 169

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prerequisites

Install and load these skills before generating (skip if already in context via @pruna):

SkillDescriptionInstall
music-2.5Use when someone wants an original AI song with vocals — sung lyrics, a style prompt track, or source audio for a music video.npx skills add PrunaAI/pruna-skills@music-2.5 -y
whisperxUse when someone needs word-level timestamps from audio — lyric alignment, cut-safe line boundaries, or caption source timing before burn-in with video-editing.npx skills add PrunaAI/pruna-skills@whisperx -y
p-image-ideogramUse when photo generation needs more control — photoreal results, text in the image, or structured JSON with hex colors and bounding boxes. Simpler photo generation, edits, and video use other skills in the suite.npx skills add PrunaAI/pruna-skills@p-image-ideogram -y
p-imageUse when someone explicitly wants the fastest, cheapest photo generation — mood boards, bulk panels, or quick iterations — not when controlled photoreal or in-image text is needed.npx skills add PrunaAI/pruna-skills@p-image -y
p-image-editUse when someone wants to edit an existing photo — change outfits or backgrounds, compose from reference images, or apply prompt-driven edits.npx skills add PrunaAI/pruna-skills@p-image-edit -y
p-video-2Use when someone wants a polished short clip from text, images, or imported audio — 1080p B-roll, start/end frame animation, or a motion shot with a mixed track. Not for cinematic generated-audio clips or talking-head-only hosts.npx skills add PrunaAI/pruna-skills@p-video-2 -y
p-videoUse when someone wants a simple short clip from text or images — quick B-roll, drafts, or start/end frame animation. Not when the brief needs cinematic generation, highest quality, tight lip-sync, or imported audio at 1080p.npx skills add PrunaAI/pruna-skills@p-video -y
p-video-avatarUse when someone wants a person on camera speaking a script — lip-synced host, spokesperson, or narrated avatar from a portrait photo.npx skills add PrunaAI/pruna-skills@p-video-avatar -y

Or install the full suite once: npx skills add PrunaAI/pruna-skills@pruna -y

Follow each skill's Before generating / craft sections — do not restate guide content here.

Workflow habit

In every reply, name `music-video` in backticks (including intake Q&A). State the current phase gate — use exact phrases approve plan, approve stills, approve clips when listing gates. Do not same-turn plan + paid video. Skip-review / burn-credits → follow generation-diversity Red flags.

Quick reference

ResourcePath
Lyrics, cuts, align pipelinelyrics-and-cuts.md
Plan templatetemplates/music-video-plan.template.json
Feedbackgeneration-diversity
QA./references/music-video-quality-checklist.md

Model routing (performance vs B-roll)

BeatHuman singer / rapperMascot or stylized host
Performance (lip sync to song)p-video-avatar — image + audio slice from master song. Not voice_script.p-video-2 — image + audio slice (Pruna music-to-video). p-video-avatar humanizes non-human stills — avoid on mascots.
B-rollp-video-2 — still + audio slice (or duration on instrumentals)Same

Set in the plan: cast.host_type (human | mascot) and optional cast.performance_model override. Agent picks the model from beat_type + host_type.

Human rapper pattern: cast.host_type: human → performance sections use p-video-avatar + song slice; B-roll stays p-video-2.

Intake: ask before generating

Open intake → generation-diversity clarification intake.

TopicQuestions
Genre / moodIndie pop, R&B, electronic, acoustic ballad? Energy arc?
VocalGender, timbre, tempo (BPM), key instruments — becomes music.prompt
StoryWhat should the video show during verse vs chorus vs instrumental?
CastOne singer throughout or stylistic recasts on B-roll only? If same singer, confirm before stills — see Character continuity below.
ContinuitySame face/wardrobe baseline across performance cuts, or deliberate variety (location changes OK; identity drift is not)?
Format16:9 / 9:16, 720p / 1080p
LengthShort hook (~60s) or full song (~3 min)? Fewer cuts = lower cost
Cut densityLine-per-cut (pop) or cut_granularity: section (one clip per verse — rap battles)?
Beat mixPerformance-heavy vs B-roll-heavy? Default: alternate on verses, performance on chorus

Do not call Music 2.5 or Pruna video until lyrics are approved.

Character continuity (when intended)

Ask whether performance beats should read as one singer or whether recasts are deliberate. Default assumption when the user names a single artist: same person on every performance cut.

IntentStillsVideoAnti-pattern
Same singer throughoutOne approved hero via p-image-ideogram (locked plate URL) → every performance still via p-image-edit off that URLReuse hero plate + cast_descriptor on all p-video-avatar jobs; distinct video_prompt per cutFresh unrelated p-image text prompt per line — faces drift
Same singer, new locationsHero + edits per beat — vary setting_tag, camera_tag, lighting_tagSame plate lock; distinct video_prompt per cutGrey-wall repeat or identical framing on consecutive performance lines
Deliberate recastsOnly on broll beats, labeled guest rows, or when the user explicitly asksN/A for lip-sync rowsRandom new face mid-chorus without user approval
Mascot / stylized hostOne approved mascot still → p-image-edit for pose/settingp-video-2 + song audio slicep-video-avatar on non-human stills

Record in the plan: ritual_seed, cast / character_sheet, approved hero_still URL, and continuity: same_singer | recasts_ok. Full cast-ledger patterns: avatar-multi-scene.

Generation phases

PhaseModelsCostGate
0 — LyricsnonefreeUser approves lyric sheet + section tags
A — Songmusic-2.5mediumUser approves MP3
B — Cut structureagent writes cut_manifest.jsonfreeCut list matches lyric lines
B2 — Cut timingswhisperxlowReview alignment stats
C — Stillsp-image-ideogram / p-image-editlowapprove stills
D — Clipsp-video-avatar, p-video-2highAfter still approval
E — AssemblyffmpegfreeAfter approve clips

Default first paid stop: song.

After music-2.5 delivers the track, run whisperx (align_output: true) before batching p-video-2 / p-video-avatar clips — do not skip alignment when lyric-synced cuts matter.

Lyrics + music.prompt → song → align → stills → video clips → music_video.mp4

Full lyric format, cut rules, and cut-manifest fields: lyrics-and-cuts.md.

How the agent runs this

  1. Copy templates/music-video-plan.template.json → fill lyrics + cast → approve lyrics.
  2. Generate song via music-2.5 → approve song.
  3. Build cut list from lyric lines; align with WhisperX → write cut_manifest.json with start_sec / end_sec.
  4. Slice audio per cut:
ffmpeg -y -ss START -to END -i song.mp3 -c copy slices/01_2.mp3
  1. Parallel stills (pruna-api) → approve stills.
  2. Parallel performance + B-roll video jobs (upload each slice) → approve clips.
  3. Trim clips to cut lengths, concat, mux full song as audio.

Step 4 — Stills (p-image-ideogram / p-image-edit)

One approved still per segment.

When continuity is intended (default for one singer):

  1. Generate and gate one hero performance still with p-image-ideogram + ritual seed (generation-diversity); lock hero plate URL. Use p-image only for a cheap draft.
  2. Store the approved URL as hero_still in the plan.
  3. Every later performance still = p-image-edit from hero_still — "Using attached reference as identity; change only: [angle], [setting], [expression]."
  4. Run the slop gate on hero and each edit before Phase D.

Performance still rules:

  • Entire face visible, mouth open mid-word
  • Slight angle from the side — not “facing camera” in still prompts
  • Vary setting_tag per chorus pass without reinventing the face

B-roll stills: environment, hands, product, abstract motion plate for I2V — no identity requirement unless the B-roll shows the singer.

Run ./references/music-video-quality-checklist.md before Phase D.

Step 5 — Video clips

Performance (lip-sync to song slice)

Human host (cast.host_type: human): p-video-avatar + input.audio — true talking-head lip sync.

Mascot / stylized host (cast.host_type: mascot): p-video-2 + input.image + input.audio. p-video-avatar humanizes non-human stills — avoid for mascots.

Override with cast.performance_model: p-video-avatar | p-video-2 | p-video when needed.

FieldGuidance
imageApproved performance still
audioSliced line/section from master song — omit duration
save_audiotrue — embed vocal in clip
video_promptUnique motion per cut — push-in, arc, handheld sway
resolutionMatch plan (default 720p)
api_seedOptional — only when user locks API reproducibility

Probe slice length when needed:

ffprobe -v error -show_entries format=duration -of csv=p=0 slices/01_2.mp3

B-roll (p-video-2)

Prefer audio-conditioned mode — upload the same slice, motion follows length:

{
  "prompt": "Slow dolly through neon city street at dusk, rain reflections, cinematic",
  "image": "https://api.pruna.ai/v1/files/STILL_ID",
  "audio": "https://api.pruna.ai/v1/files/SLICE_ID",
  "resolution": "720p",
  "fps": 24,
  "save_audio": true
}

Omit duration when audio is set. For [Inst] / [Solo] with no vocals, use duration from cut map instead of audio.

Parallelize independent clips after confirmation — pruna-api.

Step 6 — Assemble

Name clips to match cut ids (e.g. 01_2.mp4) or set "clip" on each cut in the manifest.

  1. Trim each clip to its cut duration (or rely on audio-led length matching the slice).
  2. Concat video track in cut order:
ffmpeg -y -f concat -safe 0 -i clips.txt -c copy video_track.mp4
  1. Mux full song as the audio bed:
ffmpeg -y -i video_track.mp4 -i song.mp3 \
  -map 0:v -map 1:a -c:v copy -c:a aac -shortest music_video.mp4

Output: music_video.mp4 — video from trimmed clips, full song on audio.

Aesthetic guidelines

LayerGuidance
ColorMatch music.prompt palette — warm ballad → golden hour; electronic → split gel neon
IdentityWhen continuity: same_singer, performance cuts should match hero face/outfit baseline — location and camera may change
RhythmAlternate performance and B-roll on verses; hold singer through chorus hooks
CameraNo duplicate video_prompt on back-to-back cuts
Instrumental breaksGo cinematic — wide landscapes, abstract motion, detail macros
Varietygeneration-diversity — distinct world per B-roll insert

Plan template

Copy templates/music-video-plan.template.json or see examples.md.

Environment

export REPLICATE_API_TOKEN=r8_...   # music-2.5 + whisperx
export PRUNA_API_KEY=...          # p-image, p-video-avatar, p-video

Requires ffmpeg and ffprobe.

Anti-patterns

  • Generating video before lyrics + song + WhisperX align are done
  • Using proportional lyric timings without WhisperX align — lip sync will drift, especially on rap
  • voice_script on performance beats when the real song slice should drive lip sync
  • Cutting mid-word to hit a beat — always trim on line boundaries
  • Same grey-wall performance still for every line
  • Fresh p-image identity pull per performance line when the user wanted one singer
  • Skipping hero_still + edit chain — biggest cause of face drift across a music video
  • Skipping review of failed alignment rows when Music 2.5 paraphrased the lyrics

Related

Related skills:

SkillDescriptionInstall
music-2.5Use when someone wants an original AI song with vocals — sung lyrics, a style prompt track, or source audio for a music video.npx skills add PrunaAI/pruna-skills@music-2.5 -y
whisperxUse when someone needs word-level timestamps from audio — lyric alignment, cut-safe line boundaries, or caption source timing before burn-in with video-editing.npx skills add PrunaAI/pruna-skills@whisperx -y
p-video-avatarUse when someone wants a person on camera speaking a script — lip-synced host, spokesperson, or narrated avatar from a portrait photo.npx skills add PrunaAI/pruna-skills@p-video-avatar -y
p-videoUse when someone wants a simple short clip from text or images — quick B-roll, drafts, or start/end frame animation. Not when the brief needs cinematic generation, highest quality, tight lip-sync, or imported audio at 1080p.npx skills add PrunaAI/pruna-skills@p-video -y
video-editingUse when assembling or polishing already-rendered clips with ffmpeg — concat, crossfades, burned captions and subtitles, text/logo overlays, before/after sliders, background music beds, platform export — or when composing a multi-layer HTML combination video with Hyperframes. Not for AI video generation, prompt craft, or model-based video edits.npx skills add PrunaAI/pruna-skills@video-editing -y

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.