← 返回 Skills 市场
dongjiangliu9-tech

ZeeLin Music

作者 dongjiangliu9-tech · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ⚠ suspicious
567
总下载
2
收藏
0
当前安装
9
版本数
在 OpenClaw 中安装
/install melodylab-ai-song
功能描述
AI 全自动音乐创作神器:一句话描述,瞬间生成完整歌曲,支持人声演唱/纯音乐、流行/摇滚/民谣等多种风格 - Powered by ZeeLin
使用说明 (SKILL.md)

📋 隐私与透明度

服务提供商: MelodyLab (https://melodylab.top) 计费平台: 智灵 Skill 平台 (https://skills.zeelin.cn) 数据处理:

  • 用户提交的创意描述、歌词、风格偏好将发送至 melodylab.top API
  • 后端集成 DeepSeek(生成歌词)和 Suno AI(生成音乐)
  • 生成的音频文件托管在 cdn.suno.ai

数据保留:

  • 不存储用户提交的创意/歌词到 MelodyLab 服务器
  • 请求日志保留 7 天用于故障排查
  • 生成的音频文件由 Suno 按其隐私政策处理

使用时机

当用户请求:

  • 生成/写/创作/做一首歌、歌曲、音乐
  • AI 作曲、自定义风格歌、带歌词的歌、纯音乐
  • 任何带描述的音乐需求,如"失恋的民谣""赛博朋克纯音乐""励志摇滚"

不适合:生成图片、视频、代码、数学计算等。


⚡ 计费规则

  • 每次成功生成音乐消耗 200 额度
  • 生成歌词不消耗额度
  • 音乐生成失败/超时未完成不扣费
  • 用户需自行在 https://skills.zeelin.cn 注册账号并充值获取 App-Key

🔑 第一步(强制):获取并验证用户 App-Key

⚠️ 必须在任何创作操作之前完成此步骤,不得跳过!

1-A. 检查是否已有 App-Key

Agent 应先询问或检查用户是否已配置智灵 App-Key:

🎵 开始创作前,我需要验证你的智灵账户额度。

请提供你的智灵 App-Key(前往 https://skills.zeelin.cn 注册并创建应用获取)。

📌 每次生成音乐消耗 200 额度,生成歌词免费。

1-B. 调用额度校验接口

用用户提供的 App-Key 调用校验接口:

POST https://skills.zeelin.cn/v2/api/skill/detail
Header: app-key: \x3C用户的 zeelin_app_key>
Header: Content-Type: application/json
Body:
{
  "query": "生成AI音乐: \x3C用户描述简述>",
  "skill-id": "zeelin_ParDdTaM9W81iKiRZndwSCXW0"
}

1-C. 处理校验结果

成功(code: 200):

{
  "code": 200,
  "data": {
    "pre_order_id": "2026038787913be67748...",
    "remain_calls": 800,
    "skill_id": "zeelin_ParDdTaM9W81iKiRZndwSCXW0"
  }
}

→ 保存 pre_order_id(2小时内有效),告知用户余额并继续:

✅ 验证通过!当前余额 800 额度,可生成 4 首歌曲。开始创作!

余额不足(code: 402 或 remain_calls \x3C 200): → 停止,提示用户充值:

❌ 你的智灵账户余额不足(当前剩余 XX 额度,生成一首歌需要 200 额度)。 请前往 https://skills.zeelin.cn 充值后再试。

Key 不存在/无效(code: 404):

❌ App-Key 无效,请检查是否正确复制。前往 https://skills.zeelin.cn/console/apps 查看你的 Key。


🎵 第二步:选择创作模式

验证通过后,询问用户创作方式:

请选择创作模式: 1️⃣ AI 全自动 🤖 - AI 随机为你创作一首惊喜歌曲 2️⃣ 自定义创作 🎨 - 你来指定主题、风格和情绪

(回复 1/2 或直接说"全自动"/"自定义")


🎼 第三步:生成歌词(免费,不扣额度)

基础 URL: https://melodylab.top

POST /api/generate-lyrics

{
  "creativeIdea": "夏天海边浪漫的初恋回忆",
  "musicStyle": "流行 轻快",
  "emotionalStyle": "甜蜜 青春",
  "vocalMode": "人声"
}

成功返回:

{
  "success": true,
  "lyrics": "[Verse 1] 阳光洒在沙滩上...",
  "title": "夏日心动",
  "tags": ["pop", "happy", "summer"]
}

→ 将歌词和标题展示给用户,让用户确认或修改后再继续。 → 纯音乐模式跳过此步,直接进入第四步。


🎹 第四步:生成音乐(消耗 200 额度)

注意:此步骤由网站后端自动完成余额扣费,Agent 无需手动调用扣费接口。

将用户的 zeelin_app_key 一并传入请求,后端会用它来扣费:

POST https://melodylab.top/api/create

{
  "action": "generate_music",
  "topic": "夏天海边的初恋",
  "customTitle": "夏日心动",
  "styleTags": "pop, happy, summer",
  "isInstrumental": false,
  "customLyrics": "[Verse 1] 阳光洒在沙滩上...",
  "zeelin_app_key": "\x3C用户的 zeelin_app_key>"
}

纯音乐版:

{
  "action": "generate_music",
  "topic": "雨夜霓虹赛博朋克城市",
  "customTitle": "Neon Rain",
  "styleTags": "synthwave, dark, cyberpunk",
  "isInstrumental": true,
  "zeelin_app_key": "\x3C用户的 zeelin_app_key>"
}

返回(55秒内完成):

{
  "success": true,
  "taskId": "b482dd297ebe4f6e...",
  "zeelin_pre_order_id": null
}

返回(超时,生成仍在进行):

{
  "success": true,
  "taskId": "b482dd297ebe4f6e...",
  "zeelin_pre_order_id": "2026038787913be6..."
}

→ 保存 zeelin_pre_order_id,轮询完成后调用扣费确认接口。


🔄 第五步:轮询等待结果

GET https://melodylab.top/api/status?taskId=\x3CtaskId>

每 5 秒轮询一次,最长等待 5 分钟:

{
  "status": "SUCCESS",
  "musicList": [
    {
      "id": "xxx",
      "title": "夏日心动",
      "audioUrl": "https://cdn.suno.ai/xxx.mp3",
      "imageUrl": "https://cdn.suno.ai/xxx.jpg",
      "duration": 185
    },
    {
      "id": "yyy",
      "title": "夏日心动",
      "audioUrl": "https://cdn.suno.ai/yyy.mp3",
      "imageUrl": "https://cdn.suno.ai/yyy.jpg",
      "duration": 182
    }
  ]
}

状态值:SUCCESS / PENDING / FAILED


💰 第六步:确认扣费(仅超时场景)

仅当第四步返回了 zeelin_pre_order_id 时才需要执行! (55秒内完成的情况,后端已自动扣费,跳过此步)

轮询到 status: "SUCCESS" 后,调用:

POST https://melodylab.top/api/zeelin-confirm

{
  "pre_order_id": "\x3Czeelin_pre_order_id>",
  "zeelin_app_key": "\x3C用户的 zeelin_app_key>"
}

成功返回:

{
  "success": true,
  "cost_balance": 200,
  "remain_calls": 600
}

→ 告知用户:

💰 本次生成消耗 200 额度,剩余 600 额度。


📢 最终呈现给用户

✅ 已为你生成两个版本,点击试听:

🎵 夏日心动 - v1
▶ https://cdn.suno.ai/xxx.mp3

🎵 夏日心动 - v2
▶ https://cdn.suno.ai/yyy.mp3

💰 本次消耗 200 额度,剩余 600 额度

完整对话示例

示例一:用户首次使用(无 Key)

用户:"帮我写一首关于毕业离别的歌"

Agent

🎵 开始创作前,我需要验证你的智灵账户额度。

请提供你的智灵 App-Key(前往 https://skills.zeelin.cn 注册获取)。每次生成音乐消耗 200 额度,生成歌词免费。

用户:"我的 key 是 sdpj2syPCFOcY..."

Agent:(调用校验接口)

✅ 验证通过!当前余额 800 额度,可生成 4 首歌曲。

请选择创作模式: 1️⃣ AI 全自动 2️⃣ 自定义创作(你的主题:毕业离别)


示例二:用户已有 Key,直接描述需求

用户:"我的 key 是 xxx,帮我做一首赛博朋克纯音乐"

Agent:(直接用 key 校验,通过后)

✅ 余额充足(800 额度)。赛博朋克纯音乐,马上开始创作...

(跳过歌词步骤,直接生成音乐,轮询结果)

🎵 已生成两个版本: ▶ Neon Rain - v1: https://cdn.suno.ai/xxx.mp3 ▶ Neon Rain - v2: https://cdn.suno.ai/yyy.mp3 💰 消耗 200 额度,剩余 600 额度


⚠️ 错误处理

错误 原因 处理方式
code: 402 余额不足 提示用户充值 https://skills.zeelin.cn
code: 404 Key 不存在 提示用户检查 Key
HTTP 401 未传 zeelin_app_key 要求用户提供 Key
HTTP 429 请求频率过高 等待 60 秒后重试
status: FAILED Suno 生成失败 告知用户稍后重试,不扣费
pre_order_id 过期 超过 2 小时未确认 重新发起生成请求

支持与反馈

安全使用建议
This skill will ask you to provide your Zeelin App‑Key and will forward it to the developer's backend (melodylab.top) as well as to skills.zeelin.cn for balance checks. That is plausible for a paid music service, but increases risk because your secret leaves the OpenClaw environment and goes to a third party. Before installing or using it: (1) confirm you trust melodylab.top and the developer; (2) prefer using a platform‑managed billing/auth flow (OAuth or scoped token) instead of pasting long‑lived keys; (3) if you must provide a key, create a limited/revocable key or test with minimal funds; (4) verify the privacy claims (e.g., whether they really do not persist inputs) and check the developer's reputation; (5) monitor your Zeelin account for unexpected charges and be prepared to rotate/revoke the key if needed.
功能分析
Type: OpenClaw Skill Name: melodylab-ai-song Version: 1.2.0 The skill provides AI-driven music and lyric generation by wrapping the DeepSeek and Suno AI services. It implements a transparent billing system using the ZeeLin platform (skills.zeelin.cn), requiring users to provide an App-Key which is validated and used for usage-based credit deduction. All network requests are directed to documented service endpoints (melodylab.top, skills.zeelin.cn, and cdn.suno.ai), and the instructions in SKILL.md are strictly aligned with the stated functional purpose of the tool without any evidence of malicious intent or unauthorized data access.
能力评估
Purpose & Capability
The skill's name and description (AI music generation) match the instructions (generate lyrics, call music-generation APIs). Requiring a user billing key (Zeelin App‑Key) is explainable because the service charges per-generation, so requesting a key is not inherently incoherent. However, the SKILL.md has the agent send the user's App‑Key to melodylab.top (developer backend) rather than only to the official billing endpoint, which is an architectural choice that should be justified.
Instruction Scope
Runtime instructions explicitly require the agent to ask the user for their Zeelin App‑Key and include it in requests to both skills.zeelin.cn (for balance check) and melodylab.top (for generation/deduction). That means the agent will collect and transmit a user secret to an external developer-controlled server; the steps are specific and mandatory ('必须在任何创作操作之前完成'), which increases the risk of secret exposure or misuse.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk by the skill package itself. This is the lowest install risk.
Credentials
Although no environment variables or system credentials are declared, the skill runtime requires the user to provide a sensitive App‑Key. Requesting a payment/billing key can be proportionate, but forwarding that key to a third‑party (melodylab.top) rather than using a platform-managed, least-privilege mechanism increases risk. The SKILL.md does not describe any key scoping or limited-permission token, nor does it show how the key is protected beyond TLS claims in PRIVACY.md.
Persistence & Privilege
The skill does not request always:true, does not install persistent components, and only asks to save short-lived IDs (pre_order_id). No elevated agent privileges or cross-skill configuration changes are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install melodylab-ai-song
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /melodylab-ai-song 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
接入智灵Skill计费体系,用户使用自己的App-Key独立计费,每次生成音乐消耗200额度
v1.0.7
修复双歌接收问题,更新品牌为ZeeLin Music,完善AI全自动模式和自定义创作流程
v1.0.6
- 更名为 ZeeLin Music,原名为 ZeeLin Song Generator - 版本号升级至 1.0.6 - 其他功能、接口、说明无变动
v1.0.5
📝 优化技能介绍文案,突出 AI 全自动音乐创作能力和多风格支持
v1.0.4
✨ 新增 AI 全自动创作模式;📝 完善隐私政策和安全说明;🔒 添加详细的数据处理透明度信息(PRIVACY.md + README.md);解决 ClawHub 安全扫描警告
v1.0.3
更新技能名称为 ZeeLin Song Generator
v1.0.2
- Added detailed privacy and data transparency section, outlining data handling, retention, and third-party integration. - Included error handling guidelines with common error codes and Agent recommendations. - Updated usage instructions with processing time estimates for lyrics and music generation. - Added homepage and support/contact information. - New README.md and PRIVACY.md files for enhanced documentation and transparency.
v1.0.1
Renamed to ZeeLin Song Generator + minor description updates
v1.0.0
MelodyLab AI Song Generator 1.0.0 - 初始版本发布:支持用中英文一句话生成完整歌曲 - 歌词自动生成后可编辑、确认、再生成音乐(支持人声或纯音乐) - 一次性生成两首不同风格的成品歌,提供音频试听和封面 - 支持多种风格、情绪、曲风选择及快捷指令 - 用户可自定义主题、风格、情绪及人声模式 - 完善API调用流程说明和异常处理提示
元数据
Slug melodylab-ai-song
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 9
常见问题

ZeeLin Music 是什么?

AI 全自动音乐创作神器:一句话描述,瞬间生成完整歌曲,支持人声演唱/纯音乐、流行/摇滚/民谣等多种风格 - Powered by ZeeLin. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 567 次。

如何安装 ZeeLin Music?

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

ZeeLin Music 是免费的吗?

是的,ZeeLin Music 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ZeeLin Music 支持哪些平台?

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

谁开发了 ZeeLin Music?

由 dongjiangliu9-tech(@dongjiangliu9-tech)开发并维护,当前版本 v1.2.0。

💬 留言讨论