360 Secure SkillHub
360 安全技能中心

WeryAI video tool — watermark remove

自包含的 Node 脚本技能:以公开 https 视频链接调用 WeryAI 水印去除接口,可选传入 0–1 归一化的矩形区域,否则自动检测;支持 dry-run 校验、submit/wait/status 三种调用方式,结果返回任务状态与处理后的视频链接。需 WERYAI_API_KEY,付费且非幂等,提交前须经用户确认。

zoucdr
zoucdr
热度 45.49
最近更新 2026-05-11 17:35:46
分类:创作依赖:代码执行 / 第三方 API应用场景:视频编辑

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add video-tool-watermark-remove
Metadata
name
video-tool-watermark-remove
description
Remove watermark overlays from an existing HTTPS video via WeryAI (video-watermark-remove). Use when the user wants watermark cleanup, not subtitles-only or text-to-video.
metadata
{"openclaw":{"emoji":"💧","primaryEnv":"WERYAI_API_KEY","paid":true,"network_required":true,"requires":{"env":["WERYAI_API_KEY"],"bins":["node"],"node":">=18"}}}
tags
["video","weryai","video-tools"]

WeryAI video tool — watermark remove

This skill is self-contained: it documents and runs only the watermark-remove workflow on an existing video given by URL. It is not text-to-video or image-to-video generation from scratch.

Entry script: scripts/video_watermark_remove.js (alongside this SKILL.md).

Runtime: WERYAI_API_KEY, Node.js 18+.

Inputs: video_url must be a public https:// URL. Optional rect_vo_list holds normalized box coordinates (0–1), not file paths. This script does not read local files and does not perform upload-file flows.

What this package ships (verify before trust)

Canonical layout for this skill only:

  • SKILL.md, eval.yaml
  • scripts/video_watermark_remove.js (the only runnable script in scope)

If your copy also contains scripts/video_gen.js, scripts/video_toolkits.js, references/WERYAI_VIDEO_API.md, or other CLIs, those files are not part of this skill’s contract — they may come from another repo sync or an over-broad install. Do not run them when you only want watermark-remove; remove them or reinstall from a clean source. Inspect what you run: node scripts/video_watermark_remove.js spec.

Other tools (multi-endpoint CLIs, local-file upload to growth/upload-file APIs, extra environment variables in those CLIs) are out of scope for this package. This skill’s script uses only WERYAI_API_KEY and public https:// URLs.

API surface (this tool only)

  • Required: video_url (public https:// URL)
  • Optional: rect_vo_list — array of { lt_x, lt_y, rb_x, rb_y } in 0..1; omit for auto-detect

From this skill root, run node scripts/video_watermark_remove.js spec to print the full tool schema (endpoint, required fields, defaults, enums) as JSON.

Pre-submit gate (mandatory)

Do not run submit / wait until the user explicitly confirms the video URL and any custom regions. Paid runs are not idempotent.

Workflow

Prefer --dry-run to validate JSON. Use wait to submit and poll until the task finishes; use submit only when the user wants a task_id without blocking, then status for later checks. Share final URLs as Markdown links [Video](https://…).

CLI

From this skill root:

node scripts/video_watermark_remove.js wait \
  --json '{"video_url":"https://example.com/video.mp4"}'

node scripts/video_watermark_remove.js submit \
  --json '{"video_url":"https://example.com/video.mp4"}'

node scripts/video_watermark_remove.js status --task-id <task-id>

Dry-run:

node scripts/video_watermark_remove.js wait \
  --json '{"video_url":"https://example.com/video.mp4"}' \
  --dry-run

Security

Never write WERYAI_API_KEY into files. Keep only WERYAI_API_KEY set for this workflow; do not rely on undocumented env vars in sibling scripts if any were mistakenly present. The in-scope script reads only WERYAI_API_KEY (no other env keys). video_watermark_remove.js accepts only https:// media URLs (no disk read / no upload-file). Base URL and poll intervals are constants in the script, not env-driven.

Do not pass local filesystem paths or run tools that accept them unless you have explicitly reviewed and consented to their upload behavior — that is never required for this skill.

Out of scope

  • Subtitle erasure (different endpoint and intent)
  • Text-to-video from scratch

References