background-removal

Remove image backgrounds with the BiRefNet model via inference.sh CLI.

688|95|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/inference-sh/skills --skill background-removal-inference-sh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: background-removal
Source: https://github.com/inference-sh/skills/tree/main/tools/image/background-removal
Command: npx skills add https://github.com/inference-sh/skills --skill background-removal-inference-sh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes unwanted backgrounds from images, making them transparent for use in various design and e-commerce applications.

Core Features & Use Cases

  • Accurate Background Removal: Utilizes BiRefNet for high-accuracy background removal.
  • Versatile Applications: Ideal for product photos, portraits, e-commerce listings, and creating transparent PNGs.
  • Use Case: Quickly prepare product images for an online store by removing their backgrounds, ensuring a clean and professional look.

Quick Start

Use the infsh CLI to run the birefnet app and remove the background from the image at the provided URL.

Frequently Asked Questions about background-removal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove the background from an image to create a transparent PNG?

To remove backgrounds and create transparent PNGs, this Skill uses the BiRefNet model to process the image and isolate the subject. It provides high-accuracy background removal for product photos, portraits, and e-commerce listings.

Can I make transparent product photos using a direct image URL?

Yes, you can make transparent product photos by providing a direct image URL. The Skill processes the URL via the inference.sh CLI to accurately cut out the photo subject and output a transparent background.

What is the best way to prepare e-commerce asset images with transparent backgrounds?

The best way to prepare e-commerce assets is using the BiRefNet model for high-accuracy photo cutouts. It removes unwanted backgrounds from product images, ensuring a clean and professional look for online store listings.

Does background removal work for both portrait editing and product photography?

Background removal works for both portrait editing and product photography. The underlying BiRefNet model accurately detects subjects across various use cases, making it versatile for creating transparent PNGs.

How do I use the infsh CLI to remove backgrounds from images?

You use the infsh CLI to run the birefnet app, passing the image URL you want to process. This executes the background removal task and returns an image with a transparent background.

When do I need to use a transparent background for my images?

You need a transparent background when preparing product photos, portraits, or e-commerce assets for design applications. It allows you to cleanly overlay subjects onto different backgrounds or layouts.