openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > 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...

开发与 DevOps

作者:AI/ML API @aimlapihello

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 303 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:aimlapihello/aiml-music-generator

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's code, instructions, and requested credential (AIMLAPI_API_KEY) are coherent with its stated purpose of generating music via AIMLAPI.

目的

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.

说明范围

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.

安装机制

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.

证书

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.

持久

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.

综合结论

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 env…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「AIML Music Generator」。简介:Generate high-quality music/songs via AIMLAPI. Supports Suno, Udio, Minimax, an…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aimlapihello/aiml-music-generator/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: aimlapi-music
description: 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.
metadata:
  {
    "openclaw":
      {
        "emoji": "🎵",
        "requires": { "bins": ["python"], "env": ["AIMLAPI_API_KEY"] },
        "primaryEnv": "AIMLAPI_API_KEY",
      },
  }
---

# AIMLAPI Music Generation

## Overview

Generate music tracks using state-of-the-art AI models (Suno, Udio, Minimax, ElevenLabs).

## Quick start

```bash
# 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:
1. `POST /v2/generate/audio`: Creates the generation task.
2. `GET /v2/generate/audio?generation_id=...`: Polls for the result until `completed` or `failed`.