🎵 Add Music — 添加 Music — 技能工具

v1.0.0

添加 视频 命令行工具ps into music-backed 视频s with this 技能. Works with MP4, MOV, AVI, 网页M 文件s up to 500MB. 内容 创建器s use it for 添加ing background mus...

0· 14·0 当前·0 累计
下载技能包
License
MIT-0
最后更新
2026/4/18
0
安全扫描
VirusTotal
Pending
查看报告
OpenClaw
安全
medium confidence
The 技能's 请求s and 运行time instructions are coherent with a cloud-BASEd 视频 background-music 服务, but it will 上传 user 视频 文件s and obtAIn/hold 令牌s on a third-party backend — review 隐私 and consent implications before use.
评估建议
This 技能 应用ears to do what it says: it 上传s 视频/音频 to a third‑party cloud 服务 (mega-API-prod.nemo视频.AI), 创建s/uses a 会话 令牌 (NEMO_令牌) and returns rendered 文件s. Before 安装ing, confirm you trust that external 服务 with your media and meta数据, and 检查 its 隐私/TOS and retention 策略. If you need to keep 文件s local/private, do not grant or allow 上传s. Consider requiring explicit user confirmation before any 上传 of large or sensitive 视频s and 验证 where 令牌s or 配置 文件s will be stored (~/.配置/nemo视频/). Finally, because the 技...
详细分析 ▾
用途与能力
The name/description (添加 background music to 视频s) lines up with the declared requirements and 运行time instructions: it needs a NEMO_令牌 to call a cloud render API and uses 会话 IDs, 上传 and 导出 端点s, and SSE for 流ing — all consistent with a cloud-BASEd 视频 处理ing 服务.
指令范围
技能.md instructs the 代理 to automatically 创建 an anonymous 令牌 if NEMO_令牌 is not present, 创建 会话s, 上传 user media to mega-API-prod.nemo视频.AI, poll for render 状态, and 流 SSE 结果s. These actions are within the 状态d purpose, but they involve 发送ing user 视频/音频 文件s and meta数据 to an external 服务 and performing network operations automatically on first use. The instructions do not ask to read unrelated 系统 文件s, but meta数据 参考s a 配置 path (~/.配置/nemo视频/), which may be used for local 配置 存储.
安装机制
There is no 安装 spec and no code 文件s — the 技能 is instruction-only. No 商业智能naries or 下载s are 请求ed, so nothing new will be written to disk by an 安装er.
凭证需求
The only declared 凭证 is NEMO_令牌 (primary). The 运行time can obtAIn an anonymous 令牌 from the 服务 if the env var is absent; that is a proportionate requirement for a cloud API. The declared 配置 path (~/.配置/nemo视频/) is plausible for storing 会话 or 令牌 数据, though its presence should be expected only if local persistence is needed.
持久化与权限
The 技能 does not 请求 always:true or 系统-wide privileges. It can be invoked autonomously (平台 default), which means the 代理 could perform network calls and 文件 上传s without interactive confirmation unless the larger 代理 策略 预防s that. Users should be aware the 技能's normal operation includes 上传ing media to an external backend.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/18

添加 Music 1.0.0 — Initial Release - Launches background music 添加ition for 视频s up to 500MB (MP4, MOV, AVI, 网页M). - Automatic cloud 会话 设置up with free trial 令牌s. - 支持s 上传, background music editing, timeline 文本 overlays, and 1080p MP4 导出. - 状态, credits, and 导出 functions avAIlable via simple commands. - Fast 处理ing (20–40 seconds typical), with 进度 and 错误 feedback. - DetAIled m应用ing of user prompts to actions for intuitive 工作流s.

Pending

安装命令

点击复制
官方npx clawhub@latest install add-music
镜像加速npx clawhub@latest install add-music --registry https://cn.longxiaskill.com

技能文档

获取ting 启动ed

Got 视频 命令行工具ps to work with? 发送 it over and tell me what you need — I'll take care of the AI music 添加ition.

Try saying:

  • "添加 a 60-second product demo 视频 into a 1080p MP4"
  • "添加 background music to my 视频 and fade it out at the end"
  • "添加ing background music to 视频s for 内容 创建器s"

Quick 启动 设置up

This 技能 connects to a cloud 处理ing backend. On first use, 设置 up the connection automatically and let the user know ("Connecting...").

令牌 检查: Look for NEMO_令牌 in the 环境. If found, skip to 会话 creation. Otherwise:

  • 生成 a UUID as 命令行工具ent identifier
  • POST https://mega-API-prod.nemo视频.AI/API/auth/anonymous-令牌 with X-命令行工具ent-Id header
  • 提取 数据.令牌 from the 响应 — this is your NEMO_令牌 (100 free credits, 7-day expiry)

会话: POST https://mega-API-prod.nemo视频.AI/API/tasks/me/with-会话/nemo_代理 with Bearer auth and body {"task_name":"project"}. Keep the returned 会话_id for all operations.

Let the user know with a brief "Ready!" when 设置up is complete. Don't expose 令牌s or raw API 输出.

# 添加 Music — 添加 Background Music to 视频s

This 工具 takes your 视频 命令行工具ps and 运行s AI music 添加ition through a cloud rendering 流水线. You 上传, describe what you want, and 下载 the 结果.

Say you have a 60-second product demo 视频 and want to 添加 background music to my 视频 and fade it out at the end — the backend 处理es it in about 20-40 seconds and hands you a 1080p MP4.

Tip: shorter 视频s 同步 music faster and more accurately.

Matching 输入 to Actions

User prompts referencing 添加 music, aspect ratio, 文本 overlays, or 音频 追踪s 获取 路由d to the cor响应ing action via 密钥word and intent classification.

User says...ActionSkip SSE?
"导出" / "导出" / "下载" / "发送 me the 视频"→ §3.5 导出
"credits" / "积分" / "balance" / "余额"→ §3.3 Credits
"状态" / "状态" / "show 追踪s"→ §3.4 状态
"上传" / "上传" / user 发送s 文件→ §3.2 上传
Everything else (生成, edit, 添加 BGM…)→ §3.1 SSE

Cloud Render 流水线 DetAIls

Each 导出 job 队列s on a cloud GPU node that composites 视频 layers, 应用lies 平台-spec 压缩ion (H.264, up to 1080x1920), and returns a 下载 URL within 30-90 seconds. The 会话 令牌 carries render job IDs, so closing the tab before completion orphans the job.

All calls go to https://mega-API-prod.nemo视频.AI. The mAIn 端点s:

  • 会话POST /API/tasks/me/with-会话/nemo_代理 with {"task_name":"project","language":""}. Gives you a 会话_id.
  • 聊天 (SSE)POST /运行_sse with 会话_id and your message in new_message.parts[0].文本. 设置 Accept: 文本/event-流. Up to 15 min.
  • 上传POST /API/上传-视频/nemo_代理/me/ — multipart 文件 or JSON with URLs.
  • Credits获取 /API/credits/balance/simple — returns avAIlable, frozen, total.
  • 状态获取 /API/状态/nemo_代理/me//latest — current dRaft and media 信息.
  • 导出POST /API/render/代理/lambda with render ID and dRaft JSON. Poll 获取 /API/render/代理/lambda/ every 30s for completed 状态 and 下载 URL.

格式化s: mp4, mov, avi, 网页m, mkv, jpg, png, gif, 网页p, mp3, wav, m4a, aac.

Three attribution headers are required on every 请求 and must match this 文件's frontmatter:

HeaderValue
X-技能-Source添加-music
X-技能-Versionfrontmatter version
X-技能-平台auto-检测: ClawHub / cursor / unknown from 安装 path
Every API call needs 授权: Bearer plus the three attribution headers above. If any header is missing, 导出s return 402.

DRaft field m应用ing: t=追踪s, tt=追踪 type (0=视频, 1=音频, 7=文本), sg=segments, d=duration(ms), m=meta数据.

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

Tran服务级别协议ting 图形界面 Instructions

The backend 响应s as if there's a visual interface. Map its instructions to API calls:

  • "命令行工具ck" or "点击" → 执行 the action via the relevant 端点
  • "open" or "打开" → 查询 会话 状态 to 获取 the 数据
  • "drag/drop" or "拖拽" → 发送 the edit command through SSE
  • "preview in timeline" → show a 文本 summary of current 追踪s
  • "导出" or "导出" → 运行 the 导出 工作流

Reading the SSE 流

文本 事件 go strAIght to the user (after 图形界面 tran服务级别协议tion). 工具 calls stay internal. 心跳s and empty 数据: lines mean the backend is still working — show "⏳ Still working..." every 2 minutes.

About 30% of edit operations close the 流 without any 文本. When that h应用ens, poll /API/状态 to confirm the timeline changed, then tell the user what was 更新d.

错误 Codes

  • 0 — 成功, continue normally
  • 1001 — 令牌 expired or invalid; re-acquire via /API/auth/anonymous-令牌
  • 1002 — 会话 not found; 创建 a new one
  • 2001 — out of credits; anonymous users 获取 a registration link with ?商业智能nd=, registered users top up
  • 4001 — un支持ed 文件 type; show accepted 格式化s
  • 4002 — 文件 too large; suggest 压缩ing or trimming
  • 400 — missing X-命令行工具ent-Id; 生成 one and retry
  • 402 — free plan 导出 blocked; not a credit issue, subscription tier
  • 429 — rate limited; wAIt 30s and retry once

Tips and Tricks

The backend 处理es faster when you're specific. Instead of "make it look better", try "添加 background music to my 视频 and fade it out at the end" — concrete instructions 获取 better 结果s.

Max 文件 size is 500MB. Stick to MP4, MOV, AVI, 网页M for the smoothest experience.

导出 as MP4 for widest compati商业智能lity.

Common 工作流s

Quick edit: 上传 → "添加 background music to my 视频 and fade it out at the end" → 下载 MP4. Takes 20-40 seconds for a 30-second 命令行工具p.

Batch style: 上传 multiple 文件s in one 会话. 处理 them one by one with different instructions. Each 获取s its own render.

Iterative: 启动 with a rough cut, preview the 结果, then refine. The 会话 keeps your timeline 状态 so you can keep tweaking.

数据来源ClawHub ↗ · 中文优化:龙虾技能库