mcpField
B
background-removal

background-removal

github.com/skills-101Creative & media17125 installsUpdated 13w ago
Repository

About background-removal

A belt CLI skill for removing or changing image backgrounds with inference.sh apps. It covers transparent PNG output and image-editing workflows for product photos, portraits, and design assets.

Key features

  1. 01Remove image backgrounds
  2. 02Return transparent PNG output
  3. 03Replace backgrounds with prompted edits
  4. 04Combine image generation and editing

Use cases

  1. 01Preparing clean e-commerce product photos
  2. 02Creating professional portrait images
  3. 03Making marketing and social media assets
  4. 04Preparing isolated elements for compositions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/skills-101/superpowers --skill background-removal

After installing, type/background-removalin Claude Code to confirm it loaded.

Details

From the project README

Install the belt CLI skill: npx skills add belt-sh/cli

Background Removal

Remove backgrounds from images via inference.sh CLI.

Background Removal

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

belt app run infsh/birefnet --input '{"image_url": "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_url": "https://portrait.jpg"
}'

Or change background directly:

belt 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
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": "<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

Comments

Markdown supported