About background-removal
A skill for removing or changing image backgrounds through inference.sh CLI. It shows how to run background removal and image editing with belt, returning transparent-background PNGs for common image workflows.
Key features
- 01Remove image backgrounds
- 02Change backgrounds with prompts
- 03Run apps through belt CLI
- 04Generate and edit images in one workflow
- 05Export transparent PNG
Use cases
- 01Prepare clean e-commerce product photos
- 02Create professional portrait cutouts
- 03Make transparent assets for design compositions
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ inference-sh/ skills --skill background-removalAfter installing, type/background-removalin Claude Code to confirm it loaded.
Details
From the project READMEInstall the belt CLI skill:
npx skills add belt-sh/cli
Background Removal
Remove backgrounds from images via inference.sh CLI.

Quick Start
Requires inference.sh CLI (
belt). Install instructions
belt login
belt app run infsh/birefnet --input '{"image": "https://your-photo.jpg"}'
How To
Use Reve for image editing including background changes:
belt app run falai/reve --input '{
"prompt": "remove the background, make it transparent",
"image": "https://portrait.jpg"
}'
Or change background directly:
belt app run falai/reve --input '{
"prompt": "change the background to a beach",
"image": "https://product-photo.jpg"
}'
Workflow: Generate and Edit
# 1. Generate an image
belt app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json
# 2. Edit with Reve
belt app run falai/reve --input '{
"prompt": "remove background, transparent",
"image": "<url-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 apps)
npx skills add inference-sh/skills@infsh-cli
# 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: belt 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
Comments
Markdown supported