# background-removal

This skill strips backgrounds from pictures using the each::sense AI API. It exports transparent PNG cutouts or adds replacement backdrops for portraits and products.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 465 installs · ★ 44
- Author: eachlabs
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/eachlabs/skills/tree/HEAD/skills/background-removal/SKILL.md
- Updated: 2026-10-07
- HTML: https://affpapa.org/en/nevibecode/skills/background-removal

## What it does

The skill connects your coding assistant to the each::sense API model `eachsense/beta`. It isolates subjects onto transparent PNG files with full alpha channels, swaps backdrops for plain solid colors such as `#FFFFFF`, or inserts models into fresh scenery. Edge processing keeps fine strands of hair on portraits and preserves soft outlines around animal fur without creating halos.

Every API call will fail unless you supply a valid token in the `EACHLABS_API_KEY` environment variable. The skill sends POST requests directly to `https://eachsense-agent.core.eachlabs.run/v1/chat/completions`. When processing image collections in batches, it accepts a `session_id` alongside runtime parameters like `max` and `eco`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add eachlabs/skills --skill background-removal -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/background-removal/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/background-removal/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add eachlabs/skills --skill background-removal -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/background-removal/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add eachlabs/skills --skill background-removal -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/background-removal/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install eachlabs/skills background-removal
```

2. **Manually: put the files in place**
- File: `.github/skills/background-removal/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add eachlabs/skills --skill background-removal -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/eachlabs/skills --path skills/background-removal
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/background-removal/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add eachlabs/skills --skill background-removal -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/eachlabs/skills/tree/HEAD/skills/background-removal/SKILL.md

## When to use it
- Cut out product photos with alpha transparency and preserved shadows
- Replace busy backdrops with plain solid colors like `#FFFFFF`
- Retain delicate hair edges and stray strands in headshots
- Place a photographed subject into a custom background scene
- Run batch cutouts across image groups using session IDs

## Example prompts
- Strip the background from this product shot, preserve the soft shadows, and export a transparent PNG.
- Change the backdrop behind the person to plain white `#FFFFFF` while keeping individual hair strands clean.
- Isolate the pet from this image into a cutout, making sure the fur outlines stay detailed.

## Similar
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [grill-me](https://affpapa.org/en/nevibecode/skills/grill-me.md) — skill · 1424476 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs
- [grilling](https://affpapa.org/en/nevibecode/skills/grilling.md) — skill · 979543 installs
- [codebase-design](https://affpapa.org/en/nevibecode/skills/codebase-design.md) — skill · 850344 installs

From the same set: [eachlabs/skills](https://affpapa.org/en/nevibecode/by/eachlabs/skills.md) — 44 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
