acestep
它能做什么
这项技能使用 ACE-Step 工具为视频生成音乐。适合需要背景音轨、广告旋律或歌曲片段的视频制作者。
适用场景
- ✓当你的视频需要某种风格和时长的背景音乐时。
- ✓当你想为品牌制作一段短的广告旋律,或一首带歌词的歌曲时。
- ✓当你需要从现有混音中分离出人声或其他分轨时。
技能链接
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/acestep/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的产品视频制作一段 60 秒、节奏欢快的科技感背景音乐。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体把风格描述和时长发送给音乐生成器,它以云服务的形式运行。它还可以设置速度和调式、使用场景预设,或提取歌曲的某些部分。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ACE-Step 1.5 Music Generation
Open-source music generation (MIT license) via tools/music_gen.py. Runs on RunPod serverless.
Requires RUNPOD_API_KEY and RUNPOD_ACESTEP_ENDPOINT_ID in .env (run --setup to create endpoint).
Quick Reference
# 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-presets
Creating a Song (Step by Step)
1. Instrumental background track (simplest)
python tools/music_gen.py --prompt "Upbeat indie rock, driving drums, jangly guitar" --duration 60 --bpm 120 --key "G Major" --output track.mp3
2. Song with vocals and lyrics
Write lyrics in a temp file or pass inline. Use structure tags to control song sections.
# 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.mp3
3. Using a preset for video background
python tools/music_gen.py --preset tension --duration 20 --output problem_scene.mp3
Key tips for good results
- Caption = overall style (genre, instruments, mood, production quality)
- Lyrics = temporal structure (verse/chorus flow, vocal delivery)
- UPPERCASE in lyrics = high vocal intensity
- Parentheses = background vocals: "We rise (together)"
- Keep 6-10 syllables per line for natural rhythm
- Don't describe the melody in the caption — describe the sound and feeling
- Use
--seedto lock randomness when iterating on prompt/lyrics
Scene Presets
| Preset | BPM | Key | Use Case |
|---|---|---|---|
corporate-bg |
110 | C Major | Professional background, presentations |
upbeat-tech |
128 | G Major | Product launches, tech demos |
ambient |
72 | D Major | Overview slides, reflective content |
dramatic |
90 | D Minor | Reveals, announcements |
tension |
85 | A Minor | Problem statements, challenges |
hopeful |
120 | C Major | Solution reveals, resolutions |
cta |
135 | E Major | Call to action, closing energy |
lofi |
85 | F Major | Screen recordings, coding demos |
Task Types
text2music (default)
Generate music from text prompt + optional lyrics.
cover
Style transfer from reference audio. Control blend with --cover-strength (0.0-1.0):
- 0.2 — Loose style inspiration (more creative freedom)
- 0.5 — Balanced style transfer
- 0.7 — Close to original structure (default)
- 1.0 — Maximum fidelity to source
extract
Stem separation — isolate individual tracks from mixed audio.
Tracks: vocals, drums, bass, guitar, piano, keyboard, strings, brass, woodwinds, other
repaint (future)
Regenerate a specific time segment within existing audio while preserving the rest.
lego (future, requires base model)
Generate indi
常见问题
运行它需要什么?
需要 RunPod 密钥和端点 ID,并保存在 .env 文件中;只需通过设置选项进行一次配置。
我能设置速度或调式吗?
可以。你可以设置 BPM 和调式,以更好地控制音轨。
它能从歌曲中分离出人声吗?
可以。分轨提取选项能把人声等部分从混合音轨中分离出来。
详情
作者的原始描述
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.
repo: calesthio/OpenMontage
热度
- GitHub 星标
- 75k
- 排名
- #2635
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/28
评论
- …
同一仓库的更多技能
3d-asset-generation
75k帮你的智能体为场景选择如何创建三维对象,使用目录、文字或图片转三维工具,并在 Blender 中完成最终组装。
agents
75k帮你的智能体使用 ElevenLabs 构建语音 AI 助手,例如客服机器人和互动语音角色。
ai-video-gen
75k帮你的智能体根据文字描述或参考图片生成 AI 视频片段,并可在多种视频生成服务中选择。
atlas-cloud
75k帮你的智能体通过 Atlas Cloud 网关创建或编辑图片和视频,使用一个密钥即可调用多个媒体模型系列。