Agent Skills
› NeverSight/learn-skills.dev
› background-removal
background-removal
GitHub通过BiRefNet模型或Reve工具移除图像背景,生成透明PNG。适用于电商产品图、人像及社交媒体素材,支持直接替换背景。
Trigger Scenarios
remove background
background removal
remove bg
transparent background
cut out image
background remover
rembg
product photo editing
cutout
transparent png
bg removal
photo cutout
Install
npx skills add NeverSight/learn-skills.dev --skill background-removal -g -y
SKILL.md
Frontmatter
{
"name": "background-removal",
"description": "Remove backgrounds from images with BiRefNet via inference.sh CLI.\nModel: BiRefNet (high accuracy background removal).\nUse for: product photos, portraits, e-commerce, transparent PNGs, photo editing.\nTriggers: remove background, background removal, remove bg, transparent background,\ncut out image, background remover, rembg, product photo editing, cutout,\ntransparent png, bg removal, photo cutout\n",
"allowed-tools": "Bash(infsh *)"
}
Background Removal

Remove backgrounds from images via inference.sh CLI.
Quick Start
curl -fsSL https://cli.inference.sh | sh && infsh login
infsh app run infsh/birefnet --input '{"image_url": "https://your-photo.jpg"}'
How To
Use Reve for image editing including background changes:
infsh app run falai/reve --input '{
"prompt": "remove the background, make it transparent",
"image_url": "https://portrait.jpg"
}'
Or change background directly:
infsh 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
infsh app run falai/flux-dev-lora --input '{"prompt": "a cute robot mascot"}' > robot.json
# 2. Edit with Reve
infsh 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 150+ apps)
npx skills add inferencesh/skills@inference-sh
# Image generation
npx skills add inferencesh/skills@ai-image-generation
# FLUX models (including inpainting)
npx skills add inferencesh/skills@flux-image
# Upscaling
npx skills add inferencesh/skills@image-upscaling
Browse all image apps: infsh app list --category image
Documentation
- Running Apps - How to run apps via CLI
- Image Generation Example - Complete image workflow guide
- Apps Overview - Understanding the app ecosystem
Version History
- e0220ca Current 2026-07-05 20:47
Dependencies
-
suggested
inferencesh/skills@inference-sh -
suggested
inferencesh/skills@ai-image-generation -
suggested
inferencesh/skills@flux-image -
suggested
inferencesh/skills@image-upscaling


