[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [Object Removal Bounding Box](https://spiral.ai/integrations/grok-build/object-removal-bounding-box)

# How to Use Object Removal Bounding Box in Grok Build

Object Removal Bounding Box erases a selected object and reconstructs the surrounding scene. Use it for a specific distraction in an existing photo, with one bounding box per run.

|  |  |
| --- | --- |
| Model | Object Removal Bounding Box |
| Available through | fal |
| Category | Image |
| Price | $0.0078 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Object Removal Bounding Box in Grok Build

- Use Object Removal Bounding Box on public/images/desk.jpg to remove the coffee cup beside the laptop. Save a separate copy and show a comparison.
- Use Object Removal Bounding Box on assets/product.jpg to erase the loose prop to the right of the product. Inspect the product outline afterward.
- Use Object Removal Bounding Box on public/images/cafe.jpg to remove the bag beside the chair. Show me the proposed selection first.
- Use Object Removal Bounding Box on assets/interior.jpg to remove the floor bucket. If an outline remains, try slightly more mask expansion and compare.
- Use Object Removal Bounding Box to clean the selected distraction from each approved project photo. Process one box per image and save review copies.

## How to set up Object Removal Bounding Box in Grok Build

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

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build 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 Object Removal Bounding Box**: 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/object-removal/bbox",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/o0DORfJawy-T9P_-NsvLY.png"
    }
  }'
```

Then paste one of the prompts above: Grok Build finds Object Removal Bounding Box on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## Object Removal Bounding Box tools and prices

- [Object Removal · Bbox](https://spiral.ai/tools/fal/fal-ai/object-removal/bbox) (fal): $0.0078 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| box_prompts |  | [] | List of bounding box coordinates to erase (only one box prompt is supported) |
| model | low_quality, medium_quality, high_quality, best_quality | best_quality |  |
| mask_expansion | 0 to 50 | 15 | Amount of pixels to expand the mask by. Range: 0-50 |

## What can you do with Object Removal Bounding Box in Grok Build?

Prepare edited image assets for a website or app by removing a specific distraction from a project photo. Save a separate result and compare it with the original before replacing the asset.

### Product photo cleanup

Remove a stray prop beside a product, then inspect the product's edges against the original.

### Portrait background edits

Select a distracting object behind the subject and review the reconstructed area before keeping the edit.

### Interior photo cleanup

Erase a temporary item, such as a bag beside a sofa, for an edited interior presentation.

### Travel photo edits

Remove a discarded bottle from a scenic photo without choosing a different crop.

### Food photography

Remove an unwanted utensil beside a plated dish and inspect the replacement tabletop texture.

### Website image preparation

Clean a distracting object from a selected website photo and compare the result at its intended display size.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Grok Build guides](https://spiral.ai/integrations/grok-build)

## Object Removal Bounding Box in other agents

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

## More Grok Build guides

- [Object Removal](https://spiral.ai/integrations/grok-build/object-removal)
- [Object Removal Mask](https://spiral.ai/integrations/grok-build/object-removal-mask)
- [Nano Banana Pro Text to Image](https://spiral.ai/integrations/grok-build/nano-banana-pro-text-to-image)
- [Object Removal Prompt](https://spiral.ai/integrations/grok-build/object-removal-prompt)
- [Nano Banana Pro Image Editing](https://spiral.ai/integrations/grok-build/nano-banana-pro-image-editing)
- [PATINA Extract Material](https://spiral.ai/integrations/grok-build/patina-extract-material)

## Questions about Object Removal Bounding Box in Grok Build

**Can Grok Build use Object Removal Bounding Box?**

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Object Removal Bounding Box like any built-in tool.

**How much does Object Removal Bounding Box cost in Grok Build?**

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

**Do I need a fal account to use Object Removal Bounding Box in Grok Build?**

No. Spiral runs Object Removal Bounding Box on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Object Removal Bounding Box in Grok Build?**

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

**Does Grok Build wait while Object Removal Bounding Box runs?**

Object Removal Bounding Box runs in the background. Grok Build starts the run, checks on it and gives you the image when it's ready.

**What is Object Removal Bounding Box useful for?**

Use it to remove a specific distraction from an existing image, such as a cup on a table or a bag beside a chair. It reconstructs the scene where the selected object appeared.

**Does it also remove an object's visual effects?**

The documented scope includes the selected object's visual effects. Compare the edited area with the original before accepting the result.

**Can I select several separate objects at once?**

Only one bounding box is supported per run. For separate objects, review the first edit before using it as the starting image for another pass.

**What should I try if an object's outline remains?**

Try increasing mask expansion slightly, then compare the boundary with the first result. This enlarges the removal area, so inspect nearby details too.

**Does it recover the real background behind an object?**

The documentation describes reconstruction with contextually appropriate content. Treat that as a plausible replacement, not proof of what was hidden in the original photograph.

