background-remove

Remove image backgrounds to transparent PNG or WebP files.

24|2|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/michaelboeding/skills --skill background-remove
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: background-remove
Source: https://github.com/michaelboeding/skills/tree/main/skills/background-remove
Command: npx skills add https://github.com/michaelboeding/skills --skill background-remove

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rembg, Pillow, numpy, and includes scripts (resource) components.

What problem does it solve?

Remove backgrounds from images to produce transparent backgrounds for product photos, icons, and composites, reducing manual editing time.

Core Features & Use Cases

  • AI-based background removal using rembg for high-quality results on complex images.
  • Built-in white-to-transparent mode for fast handling of simple graphics.
  • Batch processing to handle multiple images in one run.

Quick Start

Run this skill with a single image: python3 ${SKILL_PATH}/skills/background-remove/scripts/background_remove.py -i "path/to/image.jpg" -o "path/to/output.png"

Frequently Asked Questions about background-remove

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

FAQPage Schema
How do I remove backgrounds from images to create transparent PNGs?

Background removal uses AI-based detection to extract subjects and produce transparent backgrounds. This Skill applies rembg for complex images or a fast white-to-transparent mode for simple graphics, outputting PNG or WebP files with transparent layers.

Can I batch process multiple images at once with background removal?

Yes, batch processing handles multiple images in a single run. The Skill processes collections of images and outputs them as transparent PNG or WebP files, reducing manual editing time across product photos, icons, and composites.

What do I need installed to use AI-based background removal?

Background removal requires Python with rembg and Pillow libraries. NumPy is optional for acceleration. These dependencies enable both AI-powered detection and fast white-to-transparent conversion for graphics.

When should I use the white-to-transparent mode instead of AI removal?

White-to-transparent mode is optimized for simple graphics and icons with solid white backgrounds, delivering faster processing than AI-based removal. Use AI mode for complex product photos where background detection needs precision.

What image formats does background removal support?

The Skill accepts standard image inputs and outputs PNG or WebP files with transparent backgrounds, supporting both AI and white-to-transparent workflows for different use cases.