Smart Background Remover

ReactImageBackgroundAISegmentationUpdated 2026-08-14

When to use: Cleaning up images for e-commerce, portraits, product shots, avatars, and social media — background removal, subject cutouts, and scene replacement.

Install
npx skills add image-background-remover
Git Clone
git clone https://github.com/skillhub-community/image-background-remover.git

Description

A background-removal and subject-isolation toolkit. The AICutout component sends an image to a segmentation model (or uses a bundled web-model like MediaPipe Selfie/Segment Anything via the adapter) and returns a cutout with: a checkerboard or solid-color preview, adjustable edge feathering and 'keep/erase' mask brushes for fine correction, and export as PNG with transparency or as a cutout on a chosen solid/gradient background.

Beyond removal: BackgroundReplacement composites the cutout onto a new scene (solid color, gradient, another photo, or an AI-generated backdrop) with realistic shadow drop (adjustable blur/opacity for grounding the subject), and ObjectDetect labels regions in an image with bounding boxes (for e-commerce attribute tagging or content moderation UIs). Batch mode processes folders of images. Performance: offloads heavy inference to a backend adapter (API key optional) with a lightweight fallback edge-detect algorithm for simple high-contrast images.

AI Hub

Need a model endpoint?

AI Hub is an OpenAI-compatible endpoint for Cursor, Claude Code, and Agent workflows.

Open AI Hub

Metadata

Author@media_lin
LicenseMIT
Version1.0.0
Dependencies1

Dependencies

Image Editor Toolkit