AIML Music Generator
v1.0.0Generate high-quality music/songs via AIMLAPI. Supports Suno, Udio, Minimax, and ElevenLabs music models. Use when the user asks for music, songs, or soundtr...
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description request an AIMLAPI key and Python; the bundled script calls AIMLAPI endpoints to create and poll audio generations and saves MP3s — these requirements match the stated purpose.
Instruction Scope
SKILL.md instructs running the provided Python script which only uses the AIMLAPI_API_KEY, posts to /v2/generate/audio, polls the same service, and downloads the returned audio URL. It does not read unrelated local files or extra environment variables.
Install Mechanism
No install spec is provided (instruction-only) and the shipped Python script runs using the system python; nothing is downloaded or installed by the skill itself.
Credentials
Only AIMLAPI_API_KEY is required and declared as the primary credential, which is appropriate for a skill that calls the AIMLAPI service. No unrelated secrets or config paths are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or global agent settings, and only writes generated audio into a local out directory specified by the user or default.
Assessment
This skill appears to do what it says: it needs your AIMLAPI_API_KEY and Python to call api.aimlapi.com, poll for results, and download the returned audio file to disk. Before installing, ensure the AIMLAPI_API_KEY you provide is for a trusted account/provider (verify aimlapi.com is the intended service), and be aware the skill will download whatever audio URL the API returns into the configured output directory. If you are in a restricted environment, consider limiting where files may be written and network egress, and only provide credentials with appropriate scope/limits.Like a lobster shell, security has layers — review code before you run it.
Runtime requirements
🎵 Clawdis
Binspython
EnvAIMLAPI_API_KEY
Primary envAIMLAPI_API_KEY
latest
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
--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.
Comments
Loading comments...
