Use this skill when the user wants OpenClaw or another claw-style agent runtime
to call the Airemovewatermark API directly.
Required:
API_KEYOptional:
API_BASE_URLGet 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
remove.task --task-id ....--download true or use the returned output_url.
Use the bundled script for all API calls:
scripts/remove_watermark.mjsSupported commands:
creditsremove --file remove --image-url task --task-id Important options:
--wait true|false--download true|false--api-key remove --file ... for local images.remove --image-url ... for remote images.task --task-id ... only when a previous remove call returns anunfinished task.
credits as optional. If it fails because the key is invalid or notauthorized, continue only after the user fixes credentials.
--download true is used, completed jobs are saved under .openclaw-artifacts/remove-watermark/.
result_file, output_url, result_summary, and status fields in the script output instead of parsing only the raw API
payload.
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
Successful responses return JSON. Pay attention to:
statusresult_fileresult_summarytask_idraw.data.task.statusAuthorization: Bearer or x-api-keyhttps://airemovewatermark.netremove --wait true uses short polling and may still return an unfinished task after about 30 seconds; if that happens, continue with task --task-id ...
--download true is used, the script downloads the result into .openclaw-artifacts/remove-watermark/ and exposes
the local file path through result_file
credits uses the same API key auth path as the main API, so invalid orrevoked keys will fail there too
共 1 个版本