[Integrations](https://spiral.ai/integrations) › [Instinct](https://spiral.ai/integrations/instinct) › [Finegrain Eraser Mask](https://spiral.ai/integrations/instinct/finegrain-eraser-mask)

# How to Use Finegrain Eraser Mask in Instinct

Finegrain Eraser Mask removes selected objects and reconstructs the background, including their shadows and reflections. Unlike Finegrain Eraser's text selection, it uses a mask to identify what to remove.

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

## Prompts to try with Finegrain Eraser Mask in Instinct

- Every morning, use Finegrain Eraser Mask on newly submitted product photos that include a removal mask. Remove the selected styling props and include before-and-after images in the review report.
- Each Friday, use Finegrain Eraser Mask on the approved interior photos and their supplied masks. Remove the selected clutter and flag visible floor or wall reconstruction problems.
- Each night, use Finegrain Eraser Mask on newly approved brick-wall photos with removal masks. Compare standard and premium quality and collect close-ups for review.
- Every Monday, use Finegrain Eraser Mask on the food photos submitted with utensil masks. Return the edited photos with a review note about the reconstructed tabletop.
- At the end of each day, use Finegrain Eraser Mask on approved room photos with masks marking unwanted decorative objects. Include a check of their former shadows and reflections in the report.

## How to set up Finegrain Eraser Mask in Instinct

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

### Use the Spiral skill

1. **Send Instinct 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 Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for Instinct. Copy it.

2. **Send Instinct this message**: Instinct reads Spiral's skill and asks for your API key.

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

3. **Give Instinct the key**: When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

### 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 Mask**: 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/mask",
    "input": {
      "image_url": "https://v3.fal.media/files/elephant/IKqKIxDfRDK8fzeETCveO_erase_example01.jpg",
      "mask_url": "https://v3.fal.media/files/panda/-31cZrsoy-8BrLqOEFmST_indir%20(18).png"
    }
  }'
```

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

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

## Finegrain Eraser Mask tools and prices

- [Finegrain Eraser Mask · Image to Image](https://spiral.ai/tools/fal/fal-ai/finegrain-eraser/mask) (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 Mask in Instinct?

Process recurring photo cleanup tasks with Finegrain Eraser Mask when each photo has a prepared removal mask. A scheduled agent can collect the edited images and flag reconstructed areas for review.

### Clean up product photos

Remove an unwanted styling prop from an existing product photo. Review the rebuilt surface and any shadow or reflection left by the prop.

### Clear interior distractions

Erase a wastebasket or another distracting object from an interior photo, then inspect the reconstructed floor and wall.

### Remove background distractions

Remove an unwanted background object from a travel photo while keeping the original photo as a reference for review.

### Simplify food photography

Erase an unwanted utensil or table prop from a food photo. Check the reconstructed tabletop where the object and its shadow appeared.

### Prepare website photography

Remove distracting objects from an existing website image before placing it in a page. Compare the edited image with the original at the intended display size.

### Repair patterned backgrounds after removal

Compare standard and premium edits when removing an object in front of brickwork or another repeated pattern. Inspect alignment and texture before choosing the result.

## Overview

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

## Finegrain Eraser Mask in other agents

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

## More Instinct guides

- [Finegrain Eraser Bbox](https://spiral.ai/integrations/instinct/finegrain-eraser-bbox)
- [GPT Image 1 Mini](https://spiral.ai/integrations/instinct/gpt-image-1-mini)
- [Finegrain Eraser](https://spiral.ai/integrations/instinct/finegrain-eraser)
- [GPT Image 1 Mini Edit](https://spiral.ai/integrations/instinct/gpt-image-1-mini-edit)
- [Fibo Lite](https://spiral.ai/integrations/instinct/fibo-lite)
- [GPT Image 1.5](https://spiral.ai/integrations/instinct/gpt-image-1-5)

## Questions about Finegrain Eraser Mask in Instinct

**Can Instinct use Finegrain Eraser Mask?**

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

**How much does Finegrain Eraser Mask cost in Instinct?**

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

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

You need no fal account. Instinct uses one Spiral API key for every tool, and Spiral runs Finegrain Eraser Mask on its own fal account.

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

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

**Does Instinct wait while Finegrain Eraser Mask runs?**

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

**What is Finegrain Eraser best suited for?**

Removing unwanted objects from existing photos and filling the space they occupied. Use it for tasks such as clearing a distracting prop from a product photo or removing clutter from an interior shot.

**Can Finegrain Eraser remove an object's shadow or reflection?**

Finegrain Eraser is designed to remove the object's visual traces, including shadows, reflections, and lighting artifacts. Check those areas in the result before accepting the edit.

**When should I try premium mode?**

Try premium when the reconstructed background contains visible patterns. Finegrain's brick-wall comparison shows more uniform reconstruction in premium mode than in standard mode.

**Where can Finegrain Eraser make visible mistakes?**

Reconstructed patterns can look uneven: Finegrain's standard-mode example includes imperfect bricks. Inspect repeated lines and textures around the erased area at full size.

**Does Finegrain Eraser support high-resolution output?**

Finegrain describes its Object Eraser API as supporting output up to 4K. That statement does not specify an exact width and height for every edit, so check the returned image's dimensions before using it in a layout.

