Back to skills
SKILL.md
Background Removal
CSecurityRemove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-commerce, transparent PNGs, photo editing. Triggers: remove background, background removal, remove bg, transparent background, cut out image, background remover, rembg, product photo editing, cutout, transparent png, bg removal, photo cutout
- 211 stars
- 0 votes
- 0 copies
- 1 view
- Added September 21, 2026
Works with
Security analysis
71/100- Pipes output to a shell interpreter
- Uses curl or wget to download content
- Downloads and executes remote scripts — classic supply chain attack
Pro scans all 13 files and shows the line behind each finding
npx -y skills add NeverSight/skills_feed --skill background-removal --agent claude-codeAre you the author of Background Removal?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/neversight-background-removal-learn-skills-dev)---
name: background-removal
description: "Remove backgrounds from images with BiRefNet via inference.sh CLI. Model: BiRefNet (high accuracy background removal). Use for: product photos, portraits, e-commerce, transparent PNGs, photo editing. Triggers: remove background, background removal, remove bg, transparent background, cut out image, background remover, rembg, product photo editing, cutout, transparent png, bg removal, photo cutout"
allowed-tools: Bash(infsh *)
---
# Background Removal
Remove backgrounds from images via [inference.sh](https://inference.sh) CLI.

## Quick Start
```bash
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:
```bash
infsh app run falai/reve --input '{
"prompt": "remove the background, make it transparent",
"image_url": "https://portrait.jpg"
}'
```
Or change background directly:
```bash
infsh app run falai/reve --input '{
"prompt": "change the background to a beach",
"image_url": "https://product-photo.jpg"
}'
```
## Workflow: Generate and Edit
```bash
# 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
```bash
# 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](https://inference.sh/docs/apps/running) - How to run apps via CLI
- [Image Generation Example](https://inference.sh/docs/examples/image-generation) - Complete image workflow guide
- [Apps Overview](https://inference.sh/docs/apps/overview) - Understanding the app ecosystem
Files in this skill
- SKILL.md
- description_ar.txt
- description_cn.txt
- description_de.txt
- description_en.txt
- description_es.txt
- description_fr.txt
- description_it.txt
- description_ja.txt
- description_ko.txt
- description_ru.txt
- description_tw.txt
- stats.json
Attribution
Comments
Loading comments…