Claude
Skills
Sign in
Back

background-removal

Included with Lifetime
$97 forever

Remove backgrounds from images using each::sense AI. Create transparent PNGs, replace backgrounds with solid colors or scenes, and handle complex edges like hair with precision.

General

What this skill does


# Background Removal

Remove backgrounds from images using each::sense. This skill creates professional cutouts with transparent backgrounds, replaces backgrounds with solid colors or scenes, and handles complex edges including hair and fur with precision.

## Features

- **Transparent PNG Export**: Clean cutouts with alpha channel transparency
- **Solid Color Replacement**: Replace backgrounds with any solid color
- **Scene Replacement**: Place subjects in new environments
- **Hair Detail Preservation**: Advanced edge detection for fine details
- **Complex Edge Handling**: Accurate cutouts for difficult subjects
- **Batch Processing**: Remove backgrounds from multiple images
- **E-commerce Ready**: Product cutouts optimized for online stores
- **Portrait Optimization**: Professional headshots and profile photos

## Quick Start

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this image and export as transparent PNG"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-photo.jpg"],
    "mode": "max"
  }'
```

## Use Case Examples

### 1. Product Background Removal

Clean cutouts for e-commerce product listings.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this product photo. Create a clean cutout with transparent background, preserving all product details and shadows. Output as PNG."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/product-shoe.jpg"],
    "mode": "max"
  }'
```

### 2. Portrait Background Removal

Professional headshot cutouts for business or personal use.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this portrait photo. Preserve all hair details and create clean edges around the person. Export as transparent PNG for professional use."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/headshot.jpg"],
    "mode": "max"
  }'
```

### 3. Transparent PNG Export

Export with alpha channel for use in design software.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this image and export as a high-quality transparent PNG. Ensure clean alpha channel edges suitable for compositing in Photoshop or Figma."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/object.jpg"],
    "mode": "max"
  }'
```

### 4. Background Replacement with Solid Color

Replace background with a specific solid color.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this product image and replace it with a pure white background (#FFFFFF). Keep the product shadows for a natural look."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/product.jpg"],
    "mode": "max"
  }'
```

### 5. Background Replacement with Scene

Place subject in a completely new environment.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this person photo and place them in a modern office environment with soft natural lighting from large windows. Make it look natural and professional."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/person.jpg"],
    "mode": "max"
  }'
```

### 6. Hair Detail Preservation

Handle complex hair edges with precision.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this portrait. Pay special attention to preserving fine hair details, flyaway strands, and wispy edges. The subject has curly hair that needs careful edge handling. Export as transparent PNG."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/curly-hair-portrait.jpg"],
    "mode": "max"
  }'
```

### 7. Complex Edge Handling

Handle difficult subjects like fur, feathers, or translucent objects.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this image of a fluffy cat. Preserve all the fur details including the soft edges and individual hair strands. The cat has white fur which is challenging - maintain clean edges without halos."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/fluffy-cat.jpg"],
    "mode": "max"
  }'
```

### 8. Batch Background Removal

Process multiple product images with consistent results.

```bash
# First image in batch
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this product image. Export as transparent PNG with consistent edge quality."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/product-1.jpg"],
    "session_id": "batch-background-removal-001",
    "mode": "eco"
  }'

# Second image (same session for consistency)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this product image with the same settings as before."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/product-2.jpg"],
    "session_id": "batch-background-removal-001",
    "mode": "eco"
  }'

# Third image
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Remove the background from this product image, same approach."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/product-3.jpg"],
    "session_id": "batch-background-removal-001",
    "mode": "eco"
  }'
```

### 9. E-commerce Product Cutouts

Amazon/Shopify-ready product images with white backgrounds.

```bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "u
Files: 2
Size: 23.4 KB
Complexity: 41/100
Category: General

Related in General