使用 ACE-Step API 生成音乐、编辑歌曲和重新混音音乐。支持文本转音乐、歌词生成、音频延续和音频重画。使用此...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install acestep或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install acestep⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/acestep/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: acestep description: Use ACE-Step API to generate music, edit songs, and remix music. Supports text-to-music, lyrics generation, audio continuation, and audio repainting. Use this skill when users mention generating music, creating songs, music production, remix, or audio continuation. allowed-tools: Read, Write, Bash, Skill ---
Use ACE-Step V1.5 API for music generation. Always use scripts/acestep.sh script — do NOT call API endpoints directly.
# 1. cd to this skill's directory
cd {project_root}/{.claude or .codex}/skills/acestep/
# 2. Check API service health
./scripts/acestep.sh health
# 3. Generate with lyrics (recommended)
./scripts/acestep.sh generate -c "pop, female vocal, piano" -l "[Verse] Your lyrics here..." --duration 120 --language zh
# 4. Output saved to: {project_root}/acestep_output/
For user requests requiring vocals:
-c and -l parameters
Only use Simple/Random mode (-d or random) for quick inspiration or instrumental exploration.
If the user needs a simple music video, use the acestep-simplemv skill to render one with waveform visualization and synced lyrics.
MV Production Requirements: Making a simple MV requires three additional skills to be installed:
CRITICAL - Complete Lyrics Input: When providing lyrics via the -l parameter, you MUST pass ALL lyrics content WITHOUT any omission:
Music Parameters: Use the acestep-songwriting skill for guidance on duration, BPM, key scale, and time signature.
# need to cd to this skill's directory first
cd {project_root}/{.claude or .codex}/skills/acestep/
# Caption mode - RECOMMENDED: Write lyrics first, then generate
./scripts/acestep.sh generate -c "Electronic pop, energetic synths" -l "[Verse] Your complete lyrics
[Chorus] Full chorus here..." --duration 120 --bpm 128
# Instrumental only
./scripts/acestep.sh generate "Jazz with saxophone"
# Quick exploration (Simple/Random mode)
./scripts/acestep.sh generate -d "A cheerful song about spring"
./scripts/acestep.sh random
# Options
./scripts/acestep.sh generate "Rock" --duration 60 --batch 2
./scripts/acestep.sh generate "EDM" --no-thinking # Faster
# Other commands
./scripts/acestep.sh status <job_id>
./scripts/acestep.sh health
./scripts/acestep.sh models
After generation, the script automatically saves results to the acestep_output folder in the project root (same level as .claude):
project_root/
├── .claude/
│ └── skills/acestep/...
├── acestep_output/ # Output directory
│ ├── <job_id>.json # Complete task result (JSON)
│ ├── <job_id>_1.mp3 # First audio file
│ ├── <job_id>_2.mp3 # Second audio file (if batch_size > 1)
│ └── ...
└── ...
Important: When LM enhancement is enabled (use_format=true), the final synthesized content may differ from your input. Check the JSON file for actual values:
| Field | Description |
|-------|-------------|
| prompt | Actual caption used for synthesis (may be LM-enhanced) |
| lyrics | Actual lyrics used for synthesis (may be LM-enhanced) |
| metas.prompt | Original input caption |
| metas.lyrics | Original input lyrics |
| metas.bpm | BPM used |
| metas.keyscale | Key scale used |
| metas.duration | Duration in seconds |
| generation_info | Detailed timing and model info |
| seed_value | Seeds used (for reproducibility) |
| lm_model | LM model name |
| dit_model | DiT model name |
To get the actual synthesized lyrics, parse the JSON and read the top-level lyrics field, not metas.lyrics.
Important: Configuration follows this priority (high to low):
config --set command permanently modifies config.json
scripts/config.json)
{
"api_url": "http://127.0.0.1:8001",
"api_key": "",
"api_mode": "completion",
"generation": {
"thinking": true,
"use_format": false,
"use_cot_caption": true,
"use_cot_language": false,
"batch_size": 1,
"audio_format": "mp3",
"vocal_language": "en"
}
}
| Option | Default | Description |
|--------|---------|-------------|
| api_url | http://127.0.0.1:8001 | API server address |
| api_key | "" | API authentication key (optional) |
| api_mode | completion | API mode: completion (OpenRouter, default) or native (polling) |
| generation.thinking | true | Enable 5Hz LM (higher quality, slower) |
| generation.audio_format | mp3 | Output format (mp3/wav/flac) |
| generation.vocal_language | en | Vocal language |
IMPORTANT: This skill requires the ACE-Step API server to be running.
The scripts/acestep.sh script requires: curl and jq.
# Check dependencies
curl --version
jq --version
If jq is not installed, the script will attempt to install it automatically. If automatic installation fails:
choco install jq or download from https://jqlang.github.io/jq/download/
brew install jq
sudo apt-get install jq (Debian/Ubuntu) or sudo dnf install jq (Fedora)
You MUST check the API key and URL status before proceeding. Run:
cd "{project_root}/{.claude or .codex}/skills/acestep/" && bash ./scripts/acestep.sh config --check-key
cd "{project_root}/{.claude or .codex}/skills/acestep/" && bash ./scripts/acestep.sh config --get api_url
https://api.acemusic.ai) without API key
If api_url is https://api.acemusic.ai and api_key is empty, you MUST stop and guide the user to configure their key:
AskUserQuestion to ask the user to provide their API key.
```bash
cd "{project_root}/{.claude or .codex}/skills/acestep/" && bash ./scripts/acestep.sh config --set api_key
acestep-lyrics-transcription skill."
Verify the API endpoint: ./scripts/acestep.sh health and proceed with music generation.
Local services (http://127.0.0.1:*) typically don't require a key. Verify with ./scripts/acestep.sh health and proceed.
...
安装 埃斯泰普 后,可以对 AI 说这些话来触发它
Help me get started with acestep
Explains what acestep does, walks through the setup, and runs a quick demo based on your current project
Use acestep to use ACE-Step API to generate music, edit songs, and remix music
Invokes acestep with the right parameters and returns the result directly in the conversation
What can I do with acestep in my design & creative workflow?
Lists the top use cases for acestep, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/acestep/ 目录(个人级,所有项目可用),或 .claude/skills/acestep/(项目级)。重启 AI 客户端后,用 /acestep 主动调用,或让 AI 根据上下文自动发现并使用。
埃斯泰普 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
埃斯泰普 可免费安装使用。请查阅仓库了解许可证信息。
使用 ACE-Step API 生成音乐、编辑歌曲和重新混音音乐。支持文本转音乐、歌词生成、音频延续和音频重画。使用此...
埃斯泰普 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using acestep
Identifies repetitive steps in your workflow and sets up acestep to handle them automatically