[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Image Background Remover](https://spiral.ai/integrations/windsurf/image-background-remover)

# How to Use Image Background Remover in Windsurf

Image Background Remover isolates people, products, animals, and objects for reuse in designs. It detects subjects automatically and returns a transparent PNG for compositing, product listings, or social posts.

|  |  |
| --- | --- |
| Model | Image Background Remover |
| Available through | WaveSpeed |
| Category | Image |
| Price | $0.0052 per request. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Image Background Remover in Windsurf

- Use Image Background Remover on the product photos in public/products, save separate transparent PNGs, and preview them in the existing product cards.
- Use Image Background Remover on the team portraits in this project and show a contact sheet for reviewing hair edges.
- Use Image Background Remover on the campaign product photo, then place the cutout in the existing banner layout.
- Use Image Background Remover on the pet photos in assets/pets and preview each cutout against light and dark backgrounds.
- Use Image Background Remover on the object photos in assets/photos, preserve the originals, and add the transparent results to the project's asset gallery.

## How to set up Image Background Remover in Windsurf

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Image Background Remover**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "wavespeed",
    "model": "wavespeed-ai/image-background-remover",
    "input": {
      "image": "<image>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Image Background Remover on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## Image Background Remover tools and prices

- [Image Background Remover](https://spiral.ai/tools/wavespeed/wavespeed-ai/image-background-remover) (WaveSpeed): $0.0052 per request.

## What can you do with Image Background Remover in Windsurf?

Prepare transparent product, portrait, and object assets for your project. Have the agent use the cutouts in existing layouts and preview their edges against the actual page background.

### Product listing cutouts

Isolate a photographed product for placement on a consistent store background.

### Portrait composites

Extract a person from a portrait for a new composition, then review the hairline.

### Pet photo designs

Turn an animal photo into a cutout for a poster or collage. Check fur against the intended background.

### Advertising assets

Prepare product or portrait cutouts for banners and promotional layouts.

### Social media collages

Remove distracting surroundings from photos before arranging subjects in a social post.

### Reusable design elements

Keep transparent object cutouts ready for reuse across graphic compositions.

## Overview

- [WaveSpeed AI](https://spiral.ai/providers/wavespeed)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## Image Background Remover in other agents

- [Amp](https://spiral.ai/integrations/amp/image-background-remover)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/image-background-remover)
- [Claude](https://spiral.ai/integrations/claude-desktop/image-background-remover)
- [Claude Code](https://spiral.ai/integrations/claude-code/image-background-remover)
- [Cline](https://spiral.ai/integrations/cline/image-background-remover)
- [Codex](https://spiral.ai/integrations/codex/image-background-remover)
- [Cursor](https://spiral.ai/integrations/cursor/image-background-remover)
- [Devin](https://spiral.ai/integrations/devin/image-background-remover)
- [dots](https://spiral.ai/integrations/dots/image-background-remover)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/image-background-remover)
- [Gemini](https://spiral.ai/integrations/gemini/image-background-remover)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/image-background-remover)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/image-background-remover)
- [goose](https://spiral.ai/integrations/goose/image-background-remover)
- [Grok](https://spiral.ai/integrations/grok/image-background-remover)
- [Grok Build](https://spiral.ai/integrations/grok-build/image-background-remover)
- [Hermes](https://spiral.ai/integrations/hermes/image-background-remover)
- [Instinct](https://spiral.ai/integrations/instinct/image-background-remover)
- [Manus](https://spiral.ai/integrations/manus/image-background-remover)
- [Muse](https://spiral.ai/integrations/muse/image-background-remover)
- [Muse Code](https://spiral.ai/integrations/muse-code/image-background-remover)
- [n8n](https://spiral.ai/integrations/n8n/image-background-remover)
- [Notion](https://spiral.ai/integrations/notion/image-background-remover)
- [OpenClaw](https://spiral.ai/integrations/openclaw/image-background-remover)
- [opencode](https://spiral.ai/integrations/opencode/image-background-remover)
- [Perplexity](https://spiral.ai/integrations/perplexity/image-background-remover)
- [Raycast](https://spiral.ai/integrations/raycast/image-background-remover)
- [VS Code](https://spiral.ai/integrations/vscode/image-background-remover)
- [Zapier](https://spiral.ai/integrations/zapier/image-background-remover)

## More Windsurf guides

- [Image Apps v2 Virtual Try-on](https://spiral.ai/integrations/windsurf/image-apps-v2-virtual-try-on)
- [Image Editing Realism](https://spiral.ai/integrations/windsurf/image-editing-realism)
- [Image Apps v2 Style Transfer](https://spiral.ai/integrations/windsurf/image-apps-v2-style-transfer)
- [Image Editing Reframe](https://spiral.ai/integrations/windsurf/image-editing-reframe)
- [Image Apps v2 Relighting](https://spiral.ai/integrations/windsurf/image-apps-v2-relighting)
- [Image Editing Time of Day](https://spiral.ai/integrations/windsurf/image-editing-time-of-day)

## Questions about Image Background Remover in Windsurf

**Can Windsurf use Image Background Remover?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Image Background Remover like any built-in tool.

**How much does Image Background Remover cost in Windsurf?**

$0.0052 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need a WaveSpeed account to use Image Background Remover in Windsurf?**

No. Spiral runs Image Background Remover on its own WaveSpeed account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Image Background Remover in Windsurf?**

About two minutes: add the server, then sign in, then check it.

**Does Windsurf wait while Image Background Remover runs?**

Image Background Remover runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.

**What can Image Background Remover isolate?**

It works with people, products, animals, and other objects. Subject detection is automatic.

**Does Image Background Remover return a transparent image?**

Yes. It returns a transparent PNG that you can reuse in a design or composite.

**Can Image Background Remover handle hair and fur?**

WaveSpeed documents support for these details and recommends a source with good resolution. Inspect fine strands before accepting the cutout.

**Which images need the closest review?**

Check low-contrast subjects, flyaway hair, glass, reflections, narrow openings, and soft shadows carefully. Preview the result against light and dark backgrounds before approving it.

**How can I get cleaner edges?**

Choose a well-lit source with clear contrast between the subject and its surroundings. Use good source resolution when hair, fur, or other fine details matter.

