[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Finegrain Eraser Bbox](https://spiral.ai/integrations/muse-code/finegrain-eraser-bbox)

# How to Use Finegrain Eraser Bbox in Muse Code

Finegrain Eraser Bbox removes a selected object and reconstructs the background, including its shadows and reflections. Unlike Finegrain Eraser, it selects the target with a box instead of a text description.

|  |  |
| --- | --- |
| Model | Finegrain Eraser Bbox |
| 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 Bbox in Muse Code

- Use Finegrain Eraser Bbox on public/images/desk.jpg to remove the mug at the right edge with one selection box. Save an edited copy and a before-and-after comparison.
- Use Finegrain Eraser Bbox to remove the plant from assets/living-room.jpg. Try premium mode and show the reconstructed floor at full size.
- Use Finegrain Eraser Bbox on assets/product.jpg to erase the prop beside the product. Select only that target and save the result separately.
- Use Finegrain Eraser Bbox to compare standard and premium removal of the cup in assets/tabletop.jpg. Build a comparison page focused on the plate pattern.
- Use Finegrain Eraser Bbox on public/images/travel.jpg to remove the person on the far left. Show the edited area and its shadow beside the original.

## How to set up Finegrain Eraser Bbox in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Bbox**: 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/bbox",
    "input": {
      "image_url": "https://v3.fal.media/files/elephant/IKqKIxDfRDK8fzeETCveO_erase_example01.jpg",
      "box_prompts": [
        {}
      ]
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Finegrain Eraser Bbox tools and prices

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

Clean up existing project photographs before placing them in a page or app. Have the agent save edited copies and prepare comparisons for review.

### Product photo cleanup

Remove a distracting prop beside a product, then inspect the reconstructed surface before using the image in a listing.

### Interior photo retouching

Erase an unwanted plant, basket, or chair from a room photograph and check the floor and wall behind it.

### Travel photo cleanup

Remove a distracting person from a travel photograph with one selection box.

### Tabletop photography

Erase a cup or utensil from a food photograph, then review the reconstructed table or plate.

### Backgrounds for website images

Remove an unwanted object from an existing photograph before adding headings or other page content.

### Retouching comparisons

Compare standard and premium edits on the same photograph to inspect patterns, contours, shadows, and reflections.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Finegrain Eraser Bbox in other agents

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

## More Muse Code guides

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

## Questions about Finegrain Eraser Bbox in Muse Code

**Can Muse Code use Finegrain Eraser Bbox?**

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

**How much does Finegrain Eraser Bbox cost in Muse Code?**

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

**Do I need a fal account to use Finegrain Eraser Bbox in Muse Code?**

No. Spiral runs Finegrain Eraser Bbox 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 Bbox in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Finegrain Eraser Bbox runs?**

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

**Does Finegrain Eraser leave a transparent hole?**

It reconstructs the background where the object was removed. Use it to clean up a scene when you want a filled photograph.

**Can Finegrain Eraser Bbox remove several separate objects at once?**

Only one selection box is supported per request. For separate targets, make successive edits and inspect each result before continuing.

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

Yes. It is designed to remove the object's visual effects, including shadows, reflections, and lighting effects; check those areas when reviewing the result.

**When is premium mode worth trying?**

Try it when an edit must reconstruct visible patterns or detailed contours. Finegrain's comparison shows more accurate reconstruction of a patterned plate in premium mode, so compare the results around the erased area.

**What output resolution does Finegrain document?**

Finegrain's API announcement states support up to 4K. It does not give an exact width and height for that limit.

