Use remove.bg for high-quality background removal.
https://www.remove.bg/dashboard#api-keyREMOVE_BG_API_KEY in OpenClaw config (openclaw.json) so it is present in runtime environment.requires.env) declares that REMOVE_BG_API_KEY is required.Run from the skill directory:
uv run scripts/removebg_api.py --input /path/in.jpg --output /path/out.png
Options:
--size auto|preview|full|4k (default: auto)--format png|jpg|zip (default: png)Security defaults:
--input must be a real image file inside the OpenClaw workspace..png, .jpg, .jpeg, .webp (extension + magic-byte validation).--output must be under outputs/removebg-api/ inside the workspace.Example:
uv run scripts/removebg_api.py --input ./input.jpg --output ./output.png --size auto --format png
python3 scripts/removebg_api.py --input ./input.jpg --output ./output.png
--outputMEDIA: line for chat workflows共 2 个版本