background-removal

Remove backgrounds from pet photos to output transparent PNGs for matting.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/worm-13/pet-design-agent --skill background-removal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: background-removal
Source: https://github.com/worm-13/pet-design-agent/tree/main/.cursor/skills/background-removal
Command: npx skills add https://github.com/worm-13/pet-design-agent --skill background-removal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

使用 851-labs/background-remover 去除原图背景,输出透明 PNG,作为抠图步骤的前置处理。

Core Features & Use Cases

  • 提供背景去除功能,输出透明背景 PNG,便于后续的抠图、设计合成。
  • 为 pet-design 工作流的后续技能(如抠图、模板应用)提供干净输入。

Quick Start

Run the background removal script on your input image to produce a transparent PNG ready for matting.

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 a photo to get a transparent PNG?

Background removal processes input photos using the 851-labs/background-remover model to output a transparent PNG. This strips away the original background, leaving only the subject for subsequent design workflows.

Can I use background removal for pet imagery and matting preparation?

Yes, background removal specifically targets pet imagery and pre-processes images for downstream steps. It outputs clean transparent PNGs that serve as a prerequisite for subsequent matting and template application.

What is the best way to prepare images for a matting workflow?

The best way to prepare images for matting is running a background removal script to isolate the subject. This generates a transparent PNG, providing a clean input required by downstream matting and template application steps.

Does the background removal process require any specific model versions?

Yes, background removal requires the specific model version 851-labs/background-remover:a029dff38972b5fda4ec5d75d7d1cd25aeff621d2cf4946a41055d7db66b80bc. The process relies on this exact version to execute the script and produce transparent PNGs.

How do I run the background removal script on my input image?

Run scripts/run_background_removal.py on your input image to execute background removal. The script invokes the 851-labs model to process the photo and produce a transparent PNG ready for matting.