Loading...
Loading...
AI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction for video production. Use when generating music, soundtracks, jingles, or working with audio stems. Triggers include background music, soundtrack, jingle, music generation, stem extraction, cover, style transfer, or musical composition tasks.
npx skill4agent add digitalsamba/claude-code-video-toolkit acesteptools/music_gen.pyRUNPOD_API_KEYRUNPOD_ACESTEP_ENDPOINT_ID.env--setup# Basic generation
python tools/music_gen.py --prompt "Upbeat tech corporate" --duration 60 --output bg.mp3
# With musical control
python tools/music_gen.py --prompt "Calm ambient piano" --duration 30 --bpm 72 --key "D Major" --output ambient.mp3
# Scene presets (video production)
python tools/music_gen.py --preset corporate-bg --duration 60 --output bg.mp3
python tools/music_gen.py --preset tension --duration 20 --output problem.mp3
python tools/music_gen.py --preset cta --brand digital-samba --duration 15 --output cta.mp3
# Vocals with lyrics
python tools/music_gen.py --prompt "Indie pop jingle" --lyrics "[verse]\nBuild it better\nShip it faster" --duration 30 --output jingle.mp3
# Cover / style transfer
python tools/music_gen.py --cover --reference theme.mp3 --prompt "Jazz piano version" --duration 60 --output jazz_cover.mp3
# Stem extraction
python tools/music_gen.py --extract vocals --input mixed.mp3 --output vocals.mp3
# List presets
python tools/music_gen.py --list-presetspython tools/music_gen.py --prompt "Upbeat indie rock, driving drums, jangly guitar" --duration 60 --bpm 120 --key "G Major" --output track.mp3# Write lyrics to a file first (recommended for longer songs)
cat > /tmp/lyrics.txt << 'LYRICS'
[Verse 1]
Walking through the morning light
Coffee in my hand feels right
Another day to build and dream
Nothing's ever what it seems
[Chorus - anthemic]
WE KEEP MOVING FORWARD
Through the noise and doubt
We keep moving forward
That's what it's about
[Verse 2]
Screens are glowing late at night
Shipping code until it's right
The deadline's close but so are we
Almost there, just wait and see
[Chorus - bigger]
WE KEEP MOVING FORWARD
Through the noise and doubt
We keep moving forward
That's what it's about
[Outro - fade]
(Moving forward...)
LYRICS
# Generate the song
python tools/music_gen.py \
--prompt "Upbeat indie rock anthem, male vocal, driving drums, electric guitar, studio polish" \
--lyrics "$(cat /tmp/lyrics.txt)" \
--duration 60 \
--bpm 128 \
--key "G Major" \
--output my_song.mp3python tools/music_gen.py --preset tension --duration 20 --output problem_scene.mp3--seed| Preset | BPM | Key | Use Case |
|---|---|---|---|
| 110 | C Major | Professional background, presentations |
| 128 | G Major | Product launches, tech demos |
| 72 | D Major | Overview slides, reflective content |
| 90 | D Minor | Reveals, announcements |
| 85 | A Minor | Problem statements, challenges |
| 120 | C Major | Solution reveals, resolutions |
| 135 | E Major | Call to action, closing energy |
| 85 | F Major | Screen recordings, coding demos |
--cover-strengthvocalsdrumsbassguitarpianokeyboardstringsbrasswoodwindsother--bpm 120[Intro]
[Verse]
[Chorus]
[Bridge]
[Outro]
[Instrumental]
[Guitar Solo]
[Build]
[Drop]
[Breakdown][raspy vocal]
[whispered]
[falsetto]
[powerful belting]
[harmonies]
[ad-lib][Verse]
Build it better, ship it faster
Every feature tells a story
[Chorus - anthemic]
THIS IS YOUR PLATFORM
Your vision, your stage
Digital Samba, every page
[Outro - fade]
(Build it better...)| Scene | Preset | Duration | Notes |
|---|---|---|---|
| Title | | 3-5s | Short, mood-setting |
| Problem | | 10-15s | Dark, unsettling |
| Solution | | 10-15s | Relief, optimism |
| Demo | | 30-120s | Non-distracting, matches demo length |
| Stats | | 8-12s | Building credibility |
| CTA | | 5-10s | Maximum energy, punchy |
| Credits | | 5-10s | Gentle fade-out |
--duration <scene_seconds><Audio src={staticFile('voiceover.mp3')} volume={1} />
<Audio src={staticFile('bg-music.mp3')} volume={0.15} />corporate-bgambientlofi--brand <name>brands/<name>/brand.json--cover --reference brand_theme.mp3--seed 42tools/sfx.py--extract