Openfelix ace-music
Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.
install
source · Clone the upstream repo
git clone https://github.com/fspecii/openfelix
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/fspecii/openfelix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/ace-music" ~/.claude/skills/fspecii-openfelix-ace-music && rm -rf "$T"
manifest:
skills/ace-music/SKILL.mdsource content
ACE Music - AI Music Generation
Generate music via ACE Music's free hosted API (ACE-Step 1.5 model).
Setup
API Key is stored in env
ACE_MUSIC_API_KEY. If not set:
- Open https://acemusic.ai/playground/api-key in the browser for the user
- Ask them to sign up (free) and paste the API key
- Store it:
or add to TOOLS.mdexport ACE_MUSIC_API_KEY=<key>
Quick Generation
Use
scripts/generate.sh for one-shot generation:
# Simple prompt (AI decides everything) scripts/generate.sh "upbeat pop song about summer" --duration 30 --output summer.mp3 # With lyrics scripts/generate.sh "gentle acoustic ballad, female vocal" \ --lyrics "[Verse 1]\nSunlight through the window\n\n[Chorus]\nWe are the dreamers" \ --duration 60 --output ballad.mp3 # Instrumental only scripts/generate.sh "lo-fi hip hop beats, chill, rainy day" --instrumental --duration 120 --output lofi.mp3 # Natural language (AI writes everything) scripts/generate.sh "write me a jazz song about coffee" --sample-mode --output jazz.mp3 # Specific settings scripts/generate.sh "rock anthem" --bpm 140 --key "E minor" --language en --seed 42 --output rock.mp3 # Multiple variations scripts/generate.sh "electronic dance track" --batch 3 --output edm.mp3
Script outputs file path(s) to stdout. Send the file to the user.
Advanced Usage (curl/direct API)
For covers, repainting, or audio input — see
references/api-docs.md for full API spec.
Key task types:
(default) — generate from text/lyricstext2music
— cover an existing song (requires audio input)cover
— modify a section of existing audiorepaint
Parameters Guide
| Want | Use |
|---|---|
| Specific style | Describe in prompt: "jazz, saxophone solo, smoky bar" |
| Custom lyrics | |
| AI writes everything | |
| No vocals | |
| Longer songs | (seconds) |
| Specific tempo | |
| Specific key | |
| Multiple outputs | |
| Reproducible | |
| Non-English vocals | (zh, en, ja, ko, etc.) |
Notes
- API is free forever (confirmed by ACE Music team)
- Base URL:
https://api.acemusic.ai - Audio returned as base64 MP3, decoded automatically by the script
- Duration: if omitted, AI decides based on content
- For best results, use tagged mode (prompt + lyrics separated)