OpenClaw · Skill

Removebg API

Use remove.bg for high-quality background removal.

Web & Frontend Development
v0.1.2
VirusTotal: Benign

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install rolandkakonyi/removebg-api

ClawHub installer

npx clawhub@latest install rolandkakonyi/removebg-api

OpenClaw CLI

openclaw skills install rolandkakonyi/removebg-api

Direct OpenClaw install

openclaw install rolandkakonyi/removebg-api

What this skill does

Use remove.bg for high-quality background removal.

Why it matters

remove.bg specializes in subject detection and produces cleaner cutouts than general-purpose image editing or local models for most common subjects.

Typical use cases

  • 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

Source instructions

removebg-api

Use remove.bg for high-quality background removal.

API key setup

  1. Create/sign in at https://www.remove.bg/dashboard#api-key
  2. Create an API key
  3. Configure REMOVE_BG_API_KEY in OpenClaw config (openclaw.json) so it is present in runtime environment.

Important

  • Skill metadata (requires.env) declares that REMOVE_BG_API_KEY is required.
  • Metadata does not auto-load shell env files.
  • Preferred: provide key via OpenClaw config-managed environment.

Usage (preferred: uv)

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.

  • Allowed input types: .png, .jpg, .jpeg, .webp (extension + magic-byte validation).

  • --output must be under outputs/removebg-api/ inside the workspace.

  • Large/abusive files are rejected (size + dimension limits).

  • This prevents arbitrary file read/write outside normal skill boundaries.

Example:

uv run scripts/removebg_api.py --input ./input.jpg --output ./output.png --size auto --format png

Fallback (without uv)

python3 scripts/removebg_api.py --input ./input.jpg --output ./output.png

Output

  • Writes result file to --output
  • Prints MEDIA: line for chat workflows

Notes

  • API usage may consume free credits / paid quota.
  • No absolute-path requirement for skill docs; use local paths in examples.

Related OpenClaw skills

Browse all →
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise