removebg-api
Remove image backgrounds using the remove.bg API with API-key auth and transparent PNG output. Use when high-quality cutouts are needed and cloud processing is acceptable.
Why use this skill?
Automate background removal with the remove.bg API. Generate professional transparent PNGs directly within your OpenClaw workspace.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/rolandkakonyi/removebg-apiWhat This Skill Does
The removebg-api skill is a high-performance utility designed to integrate the powerful remove.bg background removal engine directly into your OpenClaw workflow. It automates the extraction of subjects from images by communicating with the remove.bg cloud service. By processing images through this API, the skill provides clean, professional-grade transparent PNG cutouts that are ready for graphic design, web development, or creative asset generation. The skill is built with strict boundary enforcement, ensuring all operations are contained within your OpenClaw workspace for maximum security.
Installation
To begin, ensure you have the OpenClaw environment active. You can install the skill by executing clawhub install openclaw/skills/skills/rolandkakonyi/removebg-api. After installation, you must configure your authentication credentials. Navigate to your OpenClaw openclaw.json configuration file and add the REMOVE_BG_API_KEY key. This key is obtained by registering at the remove.bg dashboard. Please note that metadata does not auto-load shell environment files, so placing the key in the OpenClaw config-managed environment is the mandatory path for functionality. Once installed and configured, you can utilize the uv run command structure to execute the script directly from the skill directory, or use standard Python 3 as a fallback.
Use Cases
This skill is perfect for e-commerce store owners who need to quickly remove backgrounds from product photography to maintain a uniform white-background aesthetic. It is also an essential tool for social media managers and graphic designers who need to rapidly isolate people or objects from portraits for marketing collages, digital art, or presentation assets. Because the output is a high-quality transparent PNG, it simplifies the creation of composite images without requiring manual pen-tool work in complex desktop editing software.
Example Prompts
- "OpenClaw, please remove the background from ./inputs/product_photo.jpg and save the resulting transparent image to ./outputs/removebg-api/product_clean.png."
- "Use the removebg-api skill to process the portrait located at ./raw/headshot.jpg using full resolution and export it as a transparent png."
- "Isolate the subject in ./downloads/new_image.webp and store the final output in the removebg-api output folder."
Tips & Limitations
- API Credits: Keep in mind that this skill performs external API calls, which may consume credits from your remove.bg account depending on your subscription tier.
- Security: The skill is strictly sandboxed. All inputs must be located within your OpenClaw workspace, and all outputs are automatically routed to the
outputs/removebg-api/directory. Attempting to write files outside of this boundary will be blocked. - File Types: The tool supports standard web formats including PNG, JPG, JPEG, and WebP. For optimal results, ensure your input files are not overly large or distorted, as extreme file sizes or obscure dimensions may cause the API to reject the request to prevent abuse.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-rolandkakonyi-removebg-api": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api