Skills aimlapi-music
Generate high-quality music/songs via AIMLAPI. Supports Suno, Udio, Minimax, and ElevenLabs music models. Use when the user asks for music, songs, or soundtracks with specific lyrics or styles.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aimlapihello/aiml-music-generator" ~/.claude/skills/openclaw-skills-aimlapi-music && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/aimlapihello/aiml-music-generator" ~/.openclaw/skills/openclaw-skills-aimlapi-music && rm -rf "$T"
manifest:
skills/aimlapihello/aiml-music-generator/SKILL.mdsource content
AIMLAPI Music Generation
Overview
Generate music tracks using state-of-the-art AI models (Suno, Udio, Minimax, ElevenLabs).
Quick start
# General music (instrumental) python {baseDir}/scripts/gen_music.py \ --prompt "cyberpunk synthwave with heavy bass and retro synths" \ --model "minimax/music-2.0" # Song with lyrics python {baseDir}/scripts/gen_music.py \ --prompt "A happy pop song about a robot learning to feel" \ --lyrics "[Verse 1]\nWires and gears, clicking in time..." \ --model "minimax/music-2.0" # Short clip (ElevenLabs) python {baseDir}/scripts/gen_music.py \ --prompt "lo-fi pop hip-hop ambient" \ --model "elevenlabs/eleven_music" \ --length 20000
Arguments
: (Required) Style or context for the music.--prompt
: Optional lyrics for vocal tracks.--lyrics
: Model choice (default:--model
).minimax/music-2.0
: Length in milliseconds (primarily for ElevenLabs).--length
: Directory to save the final MP3.--out-dir
Workflow
The script uses a two-step process:
: Creates the generation task.POST /v2/generate/audio
: Polls for the result untilGET /v2/generate/audio?generation_id=...
orcompleted
.failed