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

# How to Use Finegrain Eraser Mask in Perplexity

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, no API key |

## Prompts to try with Finegrain Eraser Mask in Perplexity

- Use Finegrain Eraser Mask to remove the cup from this product photo using the mask I supplied. Show me the result and check the cup's former shadow.
- Use Finegrain Eraser Mask on this interior photo and its mask to erase the wastebasket. Point out any uneven reconstruction on the floor.
- Use Finegrain Eraser Mask to remove the masked object in front of this brick wall. Compare standard and premium quality so I can inspect the brick pattern.
- Use Finegrain Eraser Mask with this food photo and mask to remove the unwanted fork. Show a close-up of the rebuilt tabletop beside the original.
- Use Finegrain Eraser Mask to erase the masked vase in this room photo. Check both the empty space and the vase's reflection in the mirror.

## How to set up Finegrain Eraser Mask in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 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: Perplexity finds Finegrain Eraser Mask on Spiral, shows the price and runs it.

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

## 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 Perplexity?

Remove a distracting object from a photo you share in chat with Finegrain Eraser Mask. The chat agent can help identify the removal target and compare the reconstructed background with the original.

### 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 Perplexity guides](https://spiral.ai/integrations/perplexity)

## 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)
- [Instinct](https://spiral.ai/integrations/instinct/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)
- [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 Perplexity guides

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

## Questions about Finegrain Eraser Mask in Perplexity

**Can Perplexity use Finegrain Eraser Mask?**

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

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

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

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

No. Spiral runs Finegrain Eraser Mask 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 Mask in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

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

Finegrain Eraser Mask runs in the background. Perplexity 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.

