[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Bria Eraser](https://spiral.ai/integrations/n8n/bria-eraser)

# How to Use Bria Eraser in n8n

Bria Eraser removes masked objects from existing images and fills the cleared area to match its surroundings. Use it for targeted photo cleanup, with a mask defining exactly what needs to go.

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

## Prompts to try with Bria Eraser in n8n

- Each morning, use Bria Eraser on newly submitted product photos that have approved removal masks. Collect the originals and edited images in a review report.
- Every Friday, use Bria Eraser on the campaign photos marked for cleanup and paired with masks. Include a close-up of each edited area in the weekly review.
- Each night, use Bria Eraser on new interior photos with approved object masks. Present the reconstructed floor and wall areas for review.
- Every Monday, use Bria Eraser on transparent assets submitted with cleanup masks. Enable transparency preservation and include edge previews in the results.
- At the end of each day, use Bria Eraser on portrait photos with approved background-removal masks for selected distractions. Collect comparisons around each edited boundary.

## How to set up Bria Eraser in n8n

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

### Use the Spiral skill

1. **Send n8n 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 a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Bria Eraser in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Bria Eraser, prices it and runs it each time the step fires.

### 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 Bria 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/bria/eraser",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/bria/bria_eraser_img.png",
      "mask_url": "https://storage.googleapis.com/falserverless/bria/bria_eraser_mask.png"
    }
  }'
```

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

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

## Bria Eraser tools and prices

- [Bria Eraser](https://spiral.ai/tools/fal/fal-ai/bria/eraser) (fal): $0.052 per generation.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mask_type | manual, automatic | manual | You can use this parameter to specify the type of the input mask from the list. 'manual' opttion should be used in cases in which the mask had been generated by a user (e.g. with a brush tool), and 'automatic' mask type should be used when mask had been generated by an algorithm like 'SAM'. |
| preserve_alpha |  | false | If set to true, attempts to preserve the alpha channel of the input image. |

## What can you do with Bria Eraser in n8n?

Prepare photo cleanup drafts on a schedule with Bria Eraser using images paired with approved masks. An always-on agent can collect before-and-after comparisons for review before the images are used.

### Clean product photos

Use Bria Eraser to remove a masked prop beside a product. Review the reconstructed surface before adding the image to a catalog.

### Remove background distractions from portraits

Use Bria Eraser to remove a masked object behind the subject. Check the fill near hair, clothing, and the subject's outline.

### Tidy interior photography

Use Bria Eraser to remove a selected bag, box, or loose item from a room photo. Inspect any floor or wall pattern reconstructed beneath it.

### Prepare campaign images

Use Bria Eraser to clear a selected distraction from an existing campaign photo before adding copy in your design editor.

### Retouch transparent assets

Use Bria Eraser to remove a masked detail from an image with transparency. Request transparency preservation and review partially transparent edges.

### Clean website photography

Use Bria Eraser to remove a selected object from a website image. Compare the edited region with the original before replacing the asset.

## Overview

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

## Bria Eraser in other agents

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

## More n8n guides

- [Bria Embed Product](https://spiral.ai/integrations/n8n/bria-embed-product)
- [Bria Expand](https://spiral.ai/integrations/n8n/bria-expand)
- [Bria Creative Upscale](https://spiral.ai/integrations/n8n/bria-creative-upscale)
- [Bria Extract Object](https://spiral.ai/integrations/n8n/bria-extract-object)
- [Bria Background Replace](https://spiral.ai/integrations/n8n/bria-background-replace)
- [Bria FIBO Edit 1.5 Expand](https://spiral.ai/integrations/n8n/bria-fibo-edit-1-5-expand)

## Questions about Bria Eraser in n8n

**Can n8n use Bria Eraser?**

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

**How much does Bria Eraser cost in n8n?**

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

**Do I need a fal account to use Bria Eraser in n8n?**

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

**How long does it take to set up Bria Eraser in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Bria Eraser runs?**

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

**What is Bria Eraser useful for?**

Use it to remove selected objects or distractions from an existing photo. It fills the cleared area to maintain continuity with the surrounding image.

**Can I select what to remove with a written instruction?**

Bria Eraser uses a mask to select the removal area. Tell your agent which object to target, then have it prepare or use a mask for that object.

**How should I mark the removal area?**

Mark the area to erase in white and the area to keep in black. Check the mask over the original image before running the edit.

**Does Bria Eraser change the image resolution?**

Bria documents Eraser output at the original resolution. Use the source image's dimensions when planning the finished asset.

**Does Bria Eraser recover what was actually behind an object?**

It removes the object and fills the area. Treat that fill as a generated reconstruction, so review it before using the result where scene accuracy matters.

