360 Secure SkillHub
360 安全技能中心

AI Remove Watermark

该 Skill 使用 Node 脚本调用 Airemovewatermark 远程服务,为本地图片或图片地址去除水印;支持查询额度、按任务 ID 轮询状态,并可按需下载处理结果。需要 API_KEY,处理时会将本地图片上传到远程服务。

isees
isees
热度 57.61
最近更新 2026-05-11 17:34:20
分类:创作依赖:代码执行 / 读写文件 / 第三方 API应用场景:图像生成 / 工作流 / API 集成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add airemove-watermark
Metadata
name
airemove-watermark
description
Remove watermarks from images through the Airemovewatermark API. Use when an agent needs to remove a watermark from a local image file or remote image URL, poll async task status, or check credits with an API key.
version
0.1.7
metadata
{"clawdbot":{"requires":{"env":["API_KEY"],"bins":["node"]},"primaryEnv":"API_KEY","homepage":"https://airemovewatermark.net/openclaw"}}

Remove Watermark

Use this skill when the user wants OpenClaw or another claw-style agent runtime to call the Airemovewatermark API directly.

Configuration

Required:

  • API_KEY

Optional:

  • API_BASE_URL

Get it by signing up at https://airemovewatermark.net. Newly registered users can process 3 watermark-removal tasks for free.

Example:

export API_KEY="rwm_xxx"

On Windows PowerShell:

$env:API_KEY = "rwm_xxx"

If API_BASE_URL is not set, the skill uses:

https://airemovewatermark.net

Core workflow

  1. Read the target image path or remote image URL from the user.
  2. Confirm the user wants to process that image through the remote API.
  3. Run remove.
  4. If the task is still running, poll it with task --task-id ....
  5. If the user wants a local copy, rerun with --download true or use the returned output_url.

Bundled script

Use the bundled script for all API calls:

  • scripts/remove_watermark.mjs

Supported commands:

  • credits
  • remove --file <path>
  • remove --image-url <url>
  • task --task-id <id>

Important options:

  • --wait true|false
  • --download true|false
  • --api-key <rwm_xxx>

Execution guidance

  • Prefer remove --file ... for local images.
  • Prefer remove --image-url ... for remote images.
  • Use task --task-id ... only when a previous remove call returns an unfinished task.
  • Treat credits as optional. If it fails because the key is invalid or not authorized, continue only after the user fixes credentials.
  • Downloading is opt-in. When --download true is used, completed jobs are saved under .openclaw-artifacts/remove-watermark/.
  • Prefer the top-level result_file, output_url, result_summary, and status fields in the script output instead of parsing only the raw API payload.

Example commands

node scripts/remove_watermark.mjs credits
node scripts/remove_watermark.mjs remove --file /absolute/path/to/image.png
node scripts/remove_watermark.mjs remove --file /absolute/path/to/image.png --wait true --download true
node scripts/remove_watermark.mjs remove --image-url https://example.com/image.png --wait true
node scripts/remove_watermark.mjs task --task-id task_xxx --download true

Expected result shape

Successful responses return JSON. Pay attention to:

  • status
  • result_file
  • result_summary
  • task_id
  • raw.data.task.status

Notes

  • The API accepts either Authorization: Bearer <key> or x-api-key
  • The script prints structured JSON to stdout for both success and failure
  • The skill targets https://airemovewatermark.net
  • remove --wait true uses short polling and may still return an unfinished task after about 30 seconds; if that happens, continue with task --task-id ...
  • Local files are uploaded to the remote API as part of processing
  • If a job finishes successfully and --download true is used, the script downloads the result into .openclaw-artifacts/remove-watermark/ and exposes the local file path through result_file
  • Output links are temporary and should be saved promptly
  • If the API reports insufficient credits, stop and tell the user clearly
  • credits uses the same API key auth path as the main API, so invalid or revoked keys will fail there too
  • Only use this skill for images you own or are authorized to edit