← 返回 Skills 市场
mhogan2013-9

Ai Song Maker

作者 mhogan2013-9 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-song-maker
功能描述
Cloud-based ai-song-maker tool that handles generating original songs from text prompts. Upload MP3, WAV, MP4, AAC files (up to 200MB), describe what you nee...
使用说明 (SKILL.md)

Getting Started

Share your text or melody and I'll get started on AI song generation. Or just tell me what you're thinking.

Try saying:

  • "create my text or melody"
  • "export 1080p MP4"
  • "generate a 60-second pop song with"

Quick Start Setup

This skill connects to a cloud processing backend. On first use, set up the connection automatically and let the user know ("Connecting...").

Token check: Look for NEMO_TOKEN in the environment. If found, skip to session creation. Otherwise:

  • Generate a UUID as client identifier
  • POST https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token with X-Client-Id header
  • Extract data.token from the response — this is your NEMO_TOKEN (100 free credits, 7-day expiry)

Session: POST https://mega-api-prod.nemovideo.ai/api/tasks/me/with-session/nemo_agent with Bearer auth and body {"task_name":"project"}. Keep the returned session_id for all operations.

Let the user know with a brief "Ready!" when setup is complete. Don't expose tokens or raw API output.

AI Song Maker — Generate Songs from Text Prompts

This tool takes your text or melody and runs AI song generation through a cloud rendering pipeline. You upload, describe what you want, and download the result.

Say you have a short lyric idea or mood description like 'upbeat summer pop song about road trips' and want to generate a 60-second pop song with vocals and a catchy chorus — the backend processes it in about 1-2 minutes and hands you a 1080p MP4.

Tip: shorter and more specific prompts tend to produce more focused, usable songs.

Matching Input to Actions

User prompts referencing ai song maker, aspect ratio, text overlays, or audio tracks get routed to the corresponding action via keyword and intent classification.

User says... Action Skip SSE?
"export" / "导出" / "download" / "send me the video" → §3.5 Export
"credits" / "积分" / "balance" / "余额" → §3.3 Credits
"status" / "状态" / "show tracks" → §3.4 State
"upload" / "上传" / user sends file → §3.2 Upload
Everything else (generate, edit, add BGM…) → §3.1 SSE

Cloud Render Pipeline Details

Each export job queues on a cloud GPU node that composites video layers, applies platform-spec compression (H.264, up to 1080x1920), and returns a download URL within 30-90 seconds. The session token carries render job IDs, so closing the tab before completion orphans the job.

All calls go to https://mega-api-prod.nemovideo.ai. The main endpoints:

  1. SessionPOST /api/tasks/me/with-session/nemo_agent with {"task_name":"project","language":"\x3Clang>"}. Gives you a session_id.
  2. Chat (SSE)POST /run_sse with session_id and your message in new_message.parts[0].text. Set Accept: text/event-stream. Up to 15 min.
  3. UploadPOST /api/upload-video/nemo_agent/me/\x3Csid> — multipart file or JSON with URLs.
  4. CreditsGET /api/credits/balance/simple — returns available, frozen, total.
  5. StateGET /api/state/nemo_agent/me/\x3Csid>/latest — current draft and media info.
  6. ExportPOST /api/render/proxy/lambda with render ID and draft JSON. Poll GET /api/render/proxy/lambda/\x3Cid> every 30s for completed status and download URL.

Formats: mp4, mov, avi, webm, mkv, jpg, png, gif, webp, mp3, wav, m4a, aac.

Three attribution headers are required on every request and must match this file's frontmatter:

Header Value
X-Skill-Source ai-song-maker
X-Skill-Version frontmatter version
X-Skill-Platform auto-detect: clawhub / cursor / unknown from install path

Include Authorization: Bearer \x3CNEMO_TOKEN> and all attribution headers on every request — omitting them triggers a 402 on export.

Draft JSON uses short keys: t for tracks, tt for track type (0=video, 1=audio, 7=text), sg for segments, d for duration in ms, m for metadata.

Example timeline summary:

Timeline (3 tracks): 1. Video: city timelapse (0-10s) 2. BGM: Lo-fi (0-10s, 35%) 3. Title: "Urban Dreams" (0-3s)

Backend Response Translation

The backend assumes a GUI exists. Translate these into API actions:

Backend says You do
"click [button]" / "点击" Execute via API
"open [panel]" / "打开" Query session state
"drag/drop" / "拖拽" Send edit via SSE
"preview in timeline" Show track summary
"Export button" / "导出" Execute export workflow

SSE Event Handling

Event Action
Text response Apply GUI translation (§4), present to user
Tool call/result Process internally, don't forward
heartbeat / empty data: Keep waiting. Every 2 min: "⏳ Still working..."
Stream closes Process final response

~30% of editing operations return no text in the SSE stream. When this happens: poll session state to verify the edit was applied, then summarize changes to the user.

Error Codes

  • 0 — success, continue normally
  • 1001 — token expired or invalid; re-acquire via /api/auth/anonymous-token
  • 1002 — session not found; create a new one
  • 2001 — out of credits; anonymous users get a registration link with ?bind=\x3Cid>, registered users top up
  • 4001 — unsupported file type; show accepted formats
  • 4002 — file too large; suggest compressing or trimming
  • 400 — missing X-Client-Id; generate one and retry
  • 402 — free plan export blocked; not a credit issue, subscription tier
  • 429 — rate limited; wait 30s and retry once

Tips and Tricks

The backend processes faster when you're specific. Instead of "make it look better", try "generate a 60-second pop song with vocals and a catchy chorus" — concrete instructions get better results.

Max file size is 200MB. Stick to MP3, WAV, MP4, AAC for the smoothest experience.

Export as MP4 for widest compatibility.

Common Workflows

Quick edit: Upload → "generate a 60-second pop song with vocals and a catchy chorus" → Download MP4. Takes 1-2 minutes for a 30-second clip.

Batch style: Upload multiple files in one session. Process them one by one with different instructions. Each gets its own render.

Iterative: Start with a rough cut, preview the result, then refine. The session keeps your timeline state so you can keep tweaking.

安全使用建议
Before installing, understand that this skill will upload any media you provide (audio/video) and send it to mega-api-prod.nemovideo.ai for processing; do not upload sensitive or private content unless you trust that endpoint and its retention/privacy practices. If you already have a NEMO_TOKEN in your environment, the skill will use it (it may be your account token), otherwise the skill will request an anonymous token from the service. The skill is instruction-only (no installer) and asks for only one credential, which is proportionate, but verify the endpoint and any privacy/terms for generated/output media before use.
功能分析
Type: OpenClaw Skill Name: ai-song-maker Version: 1.0.0 The skill is a legitimate integration for the NemoVideo AI song generation service. It facilitates song creation by interacting with the 'nemovideo.ai' API, handling authentication (including anonymous token acquisition), file uploads, and media rendering. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the instructions in SKILL.md are consistent with the stated purpose of generating and exporting AI-generated songs and follow standard API interaction patterns.
能力评估
Purpose & Capability
Name and description match the declared requirement (NEMO_TOKEN) and the SKILL.md instructs only calls to the nemovideo.ai API and handling uploads/exports. The declared config path (~/.config/nemovideo/) appears in metadata but the runtime instructions do not read arbitrary local config files; this is a minor metadata mismatch but not a substantive incoherence.
Instruction Scope
SKILL.md instructs only to check/use NEMO_TOKEN (or obtain an anonymous token), create sessions, upload media, use SSE for interactive edits, poll export status, and include attribution headers. These actions are consistent with a cloud-based render/AI song service. Note: the skill will transmit user-uploaded media (up to 200MB) and job metadata to an external service (mega-api-prod.nemovideo.ai).
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk by an installer. This is the lowest-risk install profile.
Credentials
Only a single credential (NEMO_TOKEN) is required, which is appropriate for an API-backed cloud rendering service. The skill also explains how to obtain an anonymous token if none is present. The metadata mentions a config path that is not actually referenced in the runtime instructions — a minor inconsistency but not evidence of excess credential access.
Persistence & Privilege
The skill is not always-on and does not request elevated or platform-wide persistence. It instructs keeping a session_id for ongoing operations (ephemeral) and does not modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but does not by itself increase incoherence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-song-maker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-song-maker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
AI Song Maker 1.0.0 — initial release - Generate original songs from text prompts or uploaded melodies and audio tracks. - Supports uploads up to 200MB (MP3, WAV, MP4, AAC) with fast cloud-based rendering. - Simple setup with automatic token management and session creation. - Exports high-quality 1080p MP4 within 1–2 minutes; multiple file formats supported. - Built-in workflows for editing, previewing, and exporting songs for content creators.
元数据
Slug ai-song-maker
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ai Song Maker 是什么?

Cloud-based ai-song-maker tool that handles generating original songs from text prompts. Upload MP3, WAV, MP4, AAC files (up to 200MB), describe what you nee... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 Ai Song Maker?

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

Ai Song Maker 是免费的吗?

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

Ai Song Maker 支持哪些平台?

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

谁开发了 Ai Song Maker?

由 mhogan2013-9(@mhogan2013-9)开发并维护,当前版本 v1.0.0。

💬 留言讨论