background-music
Skill7 starsChanged 20 days agoMITView on GitHub
Draft, generate and lay an instrumental music bed under a finished video's speech - a five-slot brief read off the video, one generation on a music model from the catalog, and the bed mixed with scripts/music_bed.py so it dips under every spoken line and returns between them, with how to move its levels. Use when a final cut gets music under it, when a brief is redrafted for a steer, or when a laid bed sits too loud or too soft.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- notivn/AIEVv2their own version, first seen Nov 8, 2026
- notivn/AIEVtheir own version, first seen Oct 9, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- notivn/AIEVv2★ 136same name
- notivn/AIEV★ 132same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository69 other files it gives its agents.
- ai-presenterSkill
- animate-designSkill
- app-ui-animationSkill
- asset-auditSkill
- assetsSkill
- caption-decorationsSkill
- character-riggingSkill
- custom-transitionsSkill
- design-layer-importSkill
- drama-series-writingSkill
- edit-footageSkill
- edit-on-your-computerSkill
- edit-pipelineSkill
- face-hidingSkill
- figma-storyboard-animationSkill
- film-animaticSkill
- film-cast-designSkill
- film-cuttingSkill
- film-finishingSkill
- film-shot-generationSkill
- film-story-writingSkill
- footage-analysisSkill
- footage-reframingSkill
- generate-mediaSkill
- get-startedSkill
- large-scene-assemblySkill
- linked-element-motionSkill
- make-cartoonSkill
- make-characterSkill
- make-comicsSkill
- make-screen-videosSkill
- make-short-dramaSkill
- motion-design-craftSkill
- motion-intentSkill
- motion-pattern-librarySkill
- motion-reviewSkill
- motion-scene-continuitySkill
- motion-tracking-from-videoSkill
- movie-producerSkill
- open-picsart-appSkill
- photo-slideshowSkill
- picsart-add-mediaSkill
- picsart-video-rulesSkill
- quality-reviewSkill
- quick-merge-and-exportSkill
- realistic-color-gradeSkill
- recastSkill
- recreate-videoSkill
- reel-structureSkill
- reference-fragment-matchingSkill
- resting-frame-rulesSkill
- retention-hooksSkill
- scene-3d-authoringSkill
- scene-animation-referenceSkill
- scene-building-basicsSkill
- scene-template-remixSkill
- screen-recording-analysisSkill
- screen-recording-layoutsSkill
- screen-recording-zoomSkill
- screen-ui-redesignSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Ask for a bed about a tenth longer than the video, rounded up to the second, within the model's own limit: music models tend to come back …
- Very specific: line 55
Run python3 scripts/music_bed.py bed.json on the final scene:
- Very specific: line 76
The speech stays on top: When the bed competes, lower level and duck together.
- Very specific: line 78
No tool here reads a mix's loudness back, so nothing measures the bed against the voice.
- Distinctive: line 81
Never drop the speech: Leave every clip's and voice-over's own sound as it is.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Music bed
A talking video is often nearly done and still feels dry: no energy between the lines, dead air at the seams. A bed fixes that, as long as it stays under the voice. Drafting the brief costs nothing; the generation charges credits.
The brief
Draft it on the final picture. A bed scored on a cut that is still changing is scored twice.
Draft the brief from what the video already tells you, in two or three lines, so it can be read whole before anything is generated.
A brief names five things, and a model guesses whatever is missing:
| Slot | From | Example |
| Genre | the transcript's tone, not its topic | warm lo-fi hip-hop |
| Instruments | the genre | mellow Rhodes, upright bass, soft vinyl crackle |
| Tempo and energy | the picture's pace | around 90 BPM, unhurried |
| Mood | what is said, and how | intimate and reflective |
| Purely instrumental, in positive words | always | purely instrumental throughout, carried by the instruments above |
End it with what the bed is for: "sits quietly under a speaking voice without competing with it".
references/prompt-craft.md has a brief for each kind of video and the mistakes that ruin one.
Instrumental under speech, always. Sung words fight the speech for the same ear, and both become mush. Say it in positive words: a music model can sing a bare negation, so "no vocals" or "no lyrics" may come back as a voice singing it. Write vocals in only when they were asked for; they will fight the dialogue.
Generate it
- Pick a model from
picsart_model_catalogwithinputType: "music"andpurpose: "generate", and read its fields withpicsart_model_params. Use its instrumental switch when it has one, and leave anylyricsfield empty: lyrics are what a voice sings, and a brief put there is sung. - Ask for a bed about a tenth longer than the video, rounded up to the second, within the model's own limit: music models tend to come back short. The mix trims a longer bed; a shorter one leaves silence at the end.
- Validate the payload with
picsart_preflight, whose estimate is the bed's price, then callpicsart_generateonce.
One generation per brief. A track that misses gets a new brief, with the steer applied to the slots it touches, and a new generation. Never fire variants hoping one lands.
Lay it under the speech
Run python3 scripts/music_bed.py bed.json on the final scene:
{
"scene": "scene.json",
"transcripts": {"talk": "transcript-talk.json"},
"music": {"url": "<the bed's hosted URL>", "duration": 32.0}
}transcripts names every spoken source's transcript (its file, where you run commands) by its asset id: a clip of the reel, a
voice-over layer or a presenter's take alike, nested panels and bubbles included (the scene's
own id for the source, not the nest's rec); footage-analysis says how a source gets one.
duration is the bed's length, as the generation or picsart_media_probe reports it. The script adds the bed as one audio layer: faded in over 1 s and out over 2 s, at
volume 30 between lines and 15 under speech, dipping just before each spoken stretch and coming
back over 0.6 s after it. It prints the scene and the stretches it ducked under. Where you cannot
run commands, add that same audio layer with picsart_scene_patch, at those levels, from the
transcripts' spoken stretches. That one layer, with every level given here, is an edit to a built
scene, not a scene worked out by hand, so picsart-video-rules's stop for a script that builds the
scene does not apply to it.
- The speech stays on top. When the bed competes, lower
levelandducktogether; never raise the speech. - No tool here reads a mix's loudness back, so nothing measures the bed against the voice; only
a listener can. Move it by note: each note on how it sits moves
levelandducktogether by about five points, and the script runs again on the same scene. - Never drop the speech. Leave every clip's and voice-over's own sound as it is; the bed goes under it.
A different track is a new brief and a new generation, never a silent regeneration.
One video
The bed goes into the one video, never a music version beside a silent one. The licence caveat travels with it: a generated track's licence is the user's to check before a festival or a commercial use.
The bed never blocks the video. A generation that fails, or a bed that cannot be laid after one retry, leaves the scene as it was, without music.
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
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.

