← 返回 Skills 市场
aimlapihello

AIML Music Generator

作者 AI/ML API · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
604
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install aiml-music-generator
功能描述
Generate high-quality music/songs via AIMLAPI. Supports Suno, Udio, Minimax, and ElevenLabs music models. Use when the user asks for music, songs, or soundtr...
使用说明 (SKILL.md)

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]\
Wires 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:

  1. POST /v2/generate/audio: Creates the generation task.
  2. GET /v2/generate/audio?generation_id=...: Polls for the result until completed or failed.
安全使用建议
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.
功能分析
Type: OpenClaw Skill Name: aiml-music-generator Version: 1.0.0 The skill is classified as suspicious due to a potential arbitrary file write vulnerability. The `scripts/gen_music.py` script allows the `--out-dir` argument to specify an arbitrary directory for saving the generated MP3 file. While the filename itself is fixed (`music_{gen_id}.mp3`), an attacker could potentially use this to write files to sensitive locations (e.g., `/tmp`, web server directories, or even attempt system directories if permissions allow) if the OpenClaw agent does not properly sanitize or restrict user input for this argument. There is no evidence of intentional malicious behavior like data exfiltration to unauthorized endpoints or backdoor installation.
能力评估
Purpose & 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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aiml-music-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aiml-music-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Generate high-quality music or songs via AIMLAPI using multiple AI music models. - Supports ElevenLabs and Minimax models. - Generate music tracks with custom styles, lyrics, and length. - Flexible script with arguments for prompt, lyrics, model choice, and output directory. - Two-step API workflow for track generation and result polling. - Requires AIMLAPI API key for authentication.
元数据
Slug aiml-music-generator
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

AIML Music Generator 是什么?

Generate high-quality music/songs via AIMLAPI. Supports Suno, Udio, Minimax, and ElevenLabs music models. Use when the user asks for music, songs, or soundtr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 604 次。

如何安装 AIML Music Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aiml-music-generator」即可一键安装,无需额外配置。

AIML Music Generator 是免费的吗?

是的,AIML Music Generator 完全免费(开源免费),可自由下载、安装和使用。

AIML Music Generator 支持哪些平台?

AIML Music Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AIML Music Generator?

由 AI/ML API(@aimlapihello)开发并维护,当前版本 v1.0.0。

💬 留言讨论