Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Security hardening: enforce workspace path sandbox, image-only input validation (extension + magic bytes), size/dimension limits, remove unsafe path bypass, and update docs.
What This Skill Does
Removes image backgrounds using the remove.bg API, outputting transparent PNG files. Accepts JPG, PNG, WebP, and JPEG inputs with size and format options.
remove.bg specializes in subject detection and produces cleaner cutouts than general-purpose image editing or local models for most common subjects.
When to use it
- Removing product photo backgrounds for e-commerce listings
- Isolating people from photos for profile pictures
- Creating transparent assets for slide decks or presentations
- Preparing images for compositing in design tools
- Batch processing images to extract subjects from busy backgrounds
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: remove the background from product.jpg
- 1Validates that product.jpg is inside the OpenClaw workspace and is a supported format
- 2Reads REMOVE_BG_API_KEY from the OpenClaw-managed environment
- 3Sends the image to the remove.bg API with the specified size and format options
- 4Writes the transparent PNG result to outputs/removebg-api/
- 5Prints a MEDIA: line pointing to the output file
Transparent PNG saved to outputs/removebg-api/product.png
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.