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 via CLI (Recommended)
clawhub install openclaw/skills/skills/aimlapihello/aiml-music-generatorAIMLAPI 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
--prompt: (Required) Style or context for the music.--lyrics: Optional lyrics for vocal tracks.--model: Model choice (default:minimax/music-2.0).--length: Length in milliseconds (primarily for ElevenLabs).--out-dir: Directory to save the final MP3.
Workflow
The script uses a two-step process:
POST /v2/generate/audio: Creates the generation task.GET /v2/generate/audio?generation_id=...: Polls for the result untilcompletedorfailed.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aimlapihello-aiml-music-generator": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
aimlapi-embeddings
Generate text embeddings via AIMLAPI. Use for semantic search, clustering, or high-dimensional text representations with text-embedding-3-large and other models.
aimlapi-media-gen
Generate images or videos via AIMLAPI from prompts. Use when Codex needs reliable AI/ML API media generation with retries, explicit User-Agent headers, and async video polling.
aimlapi-safety
Content moderation and safety checks. Instantly classify text or images as safe or unsafe using AI guardrails.
aimlapi-llm-reasoning
Run AIMLAPI LLM and reasoning workflows through chat completions with retries, structured outputs, and explicit User-Agent headers. Use when Codex needs scripted prompting/reasoning calls against AIMLAPI models.
aimlapi-voice
Transcribe audio files (ogg, mp3, wav, etc.) using AIMLAPI. Use when the user provides audio messages or local audio files. Provides a reliable Python script with retries and polling.