[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Finegrain Eraser](https://spiral.ai/integrations/cursor/finegrain-eraser)

# How to Use Finegrain Eraser in Cursor

Finegrain Eraser removes objects from existing photos and reconstructs the space they occupied. Its strength is removing the object's shadows, reflections, and lighting effects along with the object, guided by a text description.

|  |  |
| --- | --- |
| Model | Finegrain Eraser |
| Available through | fal |
| Category | Image |
| Price | $0.0585 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Finegrain Eraser in Cursor

- Use Finegrain Eraser on the homepage photo in this project to remove the red cup nearest the laptop. Save a separate edited copy and show it beside the original.
- Use Finegrain Eraser on the room photo in the project's assets to erase the potted plant beside the window. Show a close-up of the reconstructed floor and wall.
- Use Finegrain Eraser on the product photo in this project to remove the small white bottle behind the main product. Compare standard and premium quality before recommending an asset.
- Use Finegrain Eraser on the travel photo used by the gallery page to remove the person wearing a red jacket at the far right. Save the result separately for review.
- Use Finegrain Eraser on the dining photo in this project to remove the fork nearest the bottom edge. Use premium quality and show the reconstructed plate edge at full size.

## How to set up Finegrain Eraser in Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

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

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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 Finegrain Eraser**: 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": "fal",
    "model": "fal-ai/finegrain-eraser",
    "input": {
      "image_url": "https://v3.fal.media/files/elephant/IKqKIxDfRDK8fzeETCveO_erase_example01.jpg",
      "prompt": "person on the right and snowboard"
    }
  }'
```

Then paste one of the prompts above: Cursor finds Finegrain Eraser on Spiral, shows the price and runs it.

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

## Finegrain Eraser tools and prices

- [Finegrain Eraser · prompt](https://spiral.ai/tools/fal/fal-ai/finegrain-eraser) (fal): $0.0585 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mode | express, standard, premium | standard | Erase quality mode |
| seed | 0 to 999 | — | Random seed for reproducible generation |

## What can you do with Finegrain Eraser in Cursor?

Clean up existing project photos by describing the object to remove. A coding agent can save edited copies, compare them with the originals, and update asset references after review.

### Remove distracting product-photo props

Erase a stray bottle, cup, or display prop from an existing product photo. Check the reconstructed surface and any reflections beside the product.

### Clear clutter from room photos

Remove a named plant, chair, or other movable object from an interior photo. Review the floor and wall where the object stood.

### Remove a background passerby

Identify an unwanted person by clothing and position in a travel photo. Review the reconstructed background and the person's former shadow.

### Simplify tabletop photography

Erase unwanted utensils or a spare glass from a food or tabletop photo. Inspect plate contours, table texture, and nearby reflections.

### Prepare website photo assets

Remove a distracting object from an existing website photo before cropping it for a page. Compare the edited scene with the original before replacing the asset.

### Remove unused sports equipment

Erase a stray ball or board from an existing sports photo. Check the reconstructed ground and the shadow left by the equipment.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Cursor guides](https://spiral.ai/integrations/cursor)

## Finegrain Eraser in other agents

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

## More Cursor guides

- [Fibo Lite](https://spiral.ai/integrations/cursor/fibo-lite)
- [Finegrain Eraser Bbox](https://spiral.ai/integrations/cursor/finegrain-eraser-bbox)
- [Fibo Generate 1.5](https://spiral.ai/integrations/cursor/fibo-generate-1-5)
- [Finegrain Eraser Mask](https://spiral.ai/integrations/cursor/finegrain-eraser-mask)
- [Fibo Edit Sketch to Image](https://spiral.ai/integrations/cursor/fibo-edit-sketch-to-image)
- [GPT Image 1 Mini](https://spiral.ai/integrations/cursor/gpt-image-1-mini)

## Questions about Finegrain Eraser in Cursor

**Can Cursor use Finegrain Eraser?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Finegrain Eraser like any built-in tool.

**How much does Finegrain Eraser cost in Cursor?**

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

**Do I need a fal account to use Finegrain Eraser in Cursor?**

No. Spiral runs Finegrain Eraser on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Finegrain Eraser in Cursor?**

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

**Does Cursor wait while Finegrain Eraser runs?**

Finegrain Eraser runs in the background. Cursor starts the run, checks on it and gives you the image when it's ready.

**Does Finegrain Eraser remove shadows and reflections too?**

Yes. It targets the removed object's shadows, reflections, and lighting effects, then reconstructs the affected scene.

**How should I describe what to erase?**

Name the object and add a visible detail that identifies it, such as its color, relative size, or position. For example, use 'the small green bottle beside the vase' instead of 'the bottle.'

**Do I need to paint over the object first?**

No. Finegrain Eraser can select what to remove from a text description without a manually painted mask.

**When should I try premium quality?**

Try premium when an edit leaves uneven contours or damages a visible pattern. Finegrain's published plate comparison shows better reconstruction and pattern preservation than standard quality.

**What should I check before using an edited photo?**

Inspect reconstructed edges, patterns, and shadows at full size. Finegrain's standard-quality example shows that an object can be removed while the reconstructed plate still has imperfect details.

