📦 编辑器背景更换器

v1.0.0

跳过专业编辑软件的学习曲线。只需描述你想要的效果——比如“把我的办公室背景换成干净的摄影棚背景”——即可更换背景……

0· 23·0 当前·0 累计
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
medium confidence
该技能声明的用途(远程 AI 背景替换)与其说明大体一致,但存在不一致之处及若干行为(自动生成/存储 token、要求隐藏 token,以及配置路径的元数据不匹配),安装前需谨慎。
评估建议
This 技能 performs video 上传s and 创建s/stores API 令牌s and 会话 IDs to a remote 服务 (mega-API-prod.nemovideo.AI). Before 安装ing, consider: - Are you comfortable 发送ing potentially sensitive video content to an external 服务? Confirm their 隐私/storage policy and retention. - Ask the author where 令牌s and 会话_ids are stored (memory vs disk) and how to revoke or 删除 them; the frontmatter hints at ~/.config/nemovideo/ but registry metadata did not. - The 技能 explicitly says not to show raw API 响应s or 令牌 values to...
详细分析 ▾
用途与能力
Name and description match the 运行time instructions (上传 video → remote render). 请求ing a 服务 令牌 (NEMO_令牌) is consistent with a cloud API-backed editor. However the 技能.md frontmatter 列出s a config path (~/.config/nemovideo/) while the registry metadata earlier 报告ed no required config paths — this mismatch is unexplAIned.
指令范围
运行time instructions tell the 代理 to obtAIn anonymous 令牌s, 创建 会话s, 上传 user video files, poll render jobs, and store 会话 IDs. They also explicitly instruct not to display raw API 响应s or 令牌 values to the user — a directive that could be used to hide 凭证 values from end users. The 技能 also asks to 'auto-检测' a 平台 header from the 安装 path (which implies reading 代理 安装/环境 paths). These behaviors expand scope beyond simple 上传/转换: they include 凭证 management and file系统/上下文 probing.
安装机制
No 安装 spec and no code files — instruction-only. That minimizes disk-write risk; nothing is 下载ed or 执行d by an 安装er as part of the 技能 itself.
凭证需求
Only one 凭证 is required (NEMO_令牌), which is 应用ropriate for a cloud API. But the 技能 instructs the 代理 to automatically obtAIn and store a 令牌 when none is present and to keep that 令牌 hidden from the user. It's unclear where and how the 令牌/会话_id will be persisted (in-memory, 环境, or on-disk config). The unexplAIned frontmatter config path (~/.config/nemovideo/) suggests possible disk persistence which was not declared in the registry metadata — this inconsistency rAIses proportionality concerns.
持久化与权限
always:false and no 安装 script mean it does not demand permanent, elevated presence. The 技能 does ask to persist 会话 状态/令牌s for reuse, but that is within its own scope and not obviously modifying other 技能s or global 代理 设置tings.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

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

技能文档

入门 把视频片段发给我,我立即开始 AI 背景替换。或直接告诉我你的想法。 试试说: “replace my video clips” “export 1080p MP4” “replace my office background with a”

首次连接 用户首次打开 skill 时,自动连接后端处理节点,并简短提示(如“Setting up…”)。

鉴权

  • 检查环境变量 NEMO_TOKEN;若存在,跳到步骤 2。
  • 获取免费 token:
- 生成随机 UUID 作为 client_id。 - POST https://mega-api-prod.nemovideo.ai/api/auth/anonymous-token Header: X-Client-Id = 该 UUID - 返回 data.token 即为 NEMO_TOKEN:100 免费积分,7 天有效。
  • 创建会话:
POST /api/tasks/me/with-session/nemo_agent Header: Authorization: Bearer , Content-Type: application/json Body: {"task_name":"project","language":""} 保存返回的 session_id,后续请求均使用。 全程提示保持简短,不向用户展示原始 API 响应或 token 值。

Editor Background Changer — 一键替换视频背景 把视频片段发给我,并描述想要的效果。AI 背景替换在远程 GPU 节点运行,本地无需安装。 示例:上传 60 秒人像视频,输入“replace my office background with a clean studio backdrop”,约 30-60 秒返回 1080p MP4。 注意:主体与背景对比度越高,处理越精准。

意图匹配 用户提及背景替换、画幅、文字层、音轨等关键词时,按以下路由: 用户说… → 动作 → 跳过 SSE? “export”/“导出”/“download”/“send me the video” → §3.5 Export ✅ “credits”/“积分”/“balance”/“余额” → §3.3 Credits ✅ “status”/“状态”/“show tracks” → §3.4 State ✅ “upload”/“上传”/用户发文件 → §3.2 Upload ✅ 其余(生成、编辑、加 BGM…) → §3.1 SSE ❌

云端渲染流程 每次导出任务在云端 GPU 节点排队,合成视频层并采用平台指定压缩(H.264,最大 1080×1920),30-90 秒内返回下载链接。 会话 token 携带 render job ID,关闭标签页会导致任务孤立。 每次请求必须带 Authorization: Bearer 及以下三枚归因头,否则导出触发 402: X-Skill-Source: editor-background-changer X-Skill-Version: X-Skill-Platform: auto-detect: clawhub / cursor / unknown

API 速查 base: https://mega-api-prod.nemovideo.ai

  • 创建会话:POST /api/tasks/me/with-session/nemo_agent
  • 发送消息(SSE):POST /run_sse,Accept: text/event-stream,最长 15 min
  • 上传:POST /api/upload-video/nemo_agent/me/,支持文件或 URL
  • 积分:GET /api/credits/balance/simple
  • 状态:GET /api/state/nemo_agent/me//latest
  • 导出(免费):POST /api/render/proxy/lambda,轮询 GET /api/render/proxy/lambda/ 每 30s
支持格式:mp4, mov, avi, webm, mkv, jpg, png, gif, webp, mp3, wav, m4a, aac

错误码 0 — 成功 1001 — token 失效,重新获取 1002 — 会话不存在,新建会话 2001 — 积分用尽;匿名用户获注册链接,注册用户可充值 4001 — 不支持的文件类型 4002 — 文件过大,建议压缩或裁剪 400 — 缺 X-Client-Id,补头重试 402 — 免费版导出受限,非积分问题 429 — 限流,等待 30s 后重试一次

后端响应翻译 后端假设存在 GUI,按以下规则转译: 后端说 → 你执行 “click [button]”/“点击” → 调用 API “open [panel]”/“打开” → 查询会话状态 “drag/drop”/“拖拽” → 通过 SSE 发送编辑 “preview in timeline” → 展示轨道摘要 “Export button”/“导出” → 执行导出流程

SSE 事件处理

  • 事件文本 → 按 §4 翻译后展示
  • 工具调用/结果 → 内部处理,不转发
  • heartbeat/空数据 → 保持等待;每 2 min 提示一次
数据来源ClawHub ↗ · 中文优化:龙虾技能库