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
- Read the target image path or remote image URL from the user.
- Confirm the user wants to process that image through the remote API.
- Run
remove. - If the task is still running, poll it with
task --task-id .... - If the user wants a local copy, rerun with
--download trueor use the returnedoutput_url.
Bundled script
Use the bundled script for all API calls:
scripts/remove_watermark.mjs
Supported commands:
creditsremove --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
creditsas 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 trueis used, completed jobs are saved under.openclaw-artifacts/remove-watermark/. - Prefer the top-level
result_file,output_url,result_summary, andstatusfields 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:
statusresult_fileresult_summarytask_idraw.data.task.status
Notes
- The API accepts either
Authorization: Bearer <key>orx-api-key - The script prints structured JSON to stdout for both success and failure
- The skill targets
https://airemovewatermark.net remove --wait trueuses short polling and may still return an unfinished task after about 30 seconds; if that happens, continue withtask --task-id ...- Local files are uploaded to the remote API as part of processing
- If a job finishes successfully and
--download trueis used, the script downloads the result into.openclaw-artifacts/remove-watermark/and exposes the local file path throughresult_file - Output links are temporary and should be saved promptly
- If the API reports insufficient credits, stop and tell the user clearly
creditsuses 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