Background Removal
/install background-removal
Background Removal
Remove backgrounds from images via inference.sh CLI.

Quick Start
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'
Install note: The install script only detects your OS/architecture, downloads the matching binary from
dist.inference.sh, and verifies its SHA-256 checksum. No elevated permissions or background processes. Manual install & verification available.
How To
Use Reve for image editing including background changes:
infsh app run falai/reve --input '{
"prompt": "remove the background, make it transparent",
"image_url": "https://portrait.jpg"
}'
Or change background directly:
infsh app run falai/reve --input '{
"prompt": "change the background to a beach",
"image_url": "https://product-photo.jpg"
}'
Workflow: Generate and Edit
# 1. Generate an image
infsh app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json
# 2. Edit with Reve
infsh app run falai/reve --input '{
"prompt": "remove background, transparent",
"image_url": "\x3Curl-from-step-1>"
}'
Use Cases
- E-commerce: Clean product photos
- Portraits: Professional headshots
- Marketing: Assets for design
- Social Media: Profile pictures
- Design: Elements for compositions
Output
Returns a PNG with transparent background.
Related Skills
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# FLUX models (including inpainting)
npx skills add inference-sh/skills@flux-image
# Upscaling
npx skills add inference-sh/skills@image-upscaling
Browse all image apps: infsh app list --category image
Documentation
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image workflow guide
- Apps Overview - Understanding the app ecosystem
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install background-removal - After installation, invoke the skill by name or use
/background-removal - Provide required inputs per the skill's parameter spec and get structured output
What is Background Removal?
Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-... It is an AI Agent Skill for Claude Code / OpenClaw, with 1711 downloads so far.
How do I install Background Removal?
Run "/install background-removal" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Background Removal free?
Yes, Background Removal is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Background Removal support?
Background Removal is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Background Removal?
It is built and maintained by Ömer Karışman (@okaris); the current version is v0.1.5.