[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Object Removal Prompt](https://spiral.ai/integrations/antigravity/object-removal-prompt)

# How to Use Object Removal Prompt in Google Antigravity

fal Object Removal cleans up existing photos by removing an object named in a text prompt. It fills the removed area with scene-appropriate content and targets the object's visual effects too.

|  |  |
| --- | --- |
| Model | Object Removal Prompt |
| 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 Prompt in Google Antigravity

- Use fal Object Removal on the homepage photo in this project's assets to remove the traffic cone. Save the result separately and prepare an original-and-edited comparison.
- Use fal Object Removal to remove the cup beside the product in the catalog image. Keep the original asset and show me the reconstructed tabletop.
- Use fal Object Removal on the team portrait to remove the trash can. Prepare a close-up comparison around the removed object before changing the website image.
- Use fal Object Removal to remove the backpack from the office photo in this project. Save a review copy and show the filled chair area.
- Use fal Object Removal on the product photo to remove the bottle. If its outline remains, try a slightly larger mask expansion and compare the results.

## How to set up Object Removal Prompt in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 Prompt**: 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",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/o0DORfJawy-T9P_-NsvLY.png",
      "prompt": "Dog"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Object Removal Prompt on Spiral, shows the price and runs it.

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

## Object Removal Prompt tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| 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 Prompt in Google Antigravity?

Prepare cleaner website and app images by removing named distractions with fal Object Removal. A coding agent can work through project assets and prepare original-and-edited comparisons for review.

### Product photo cleanup

Remove a stray prop, such as a cup beside a product, then inspect the reconstructed tabletop.

### Portrait cleanup

Remove a distracting object, such as a trash can behind the subject. Review the subject's outline afterward.

### Interior photo cleanup

Remove a temporary object, such as a backpack on a chair, and review the exposed furniture.

### Landscape cleanup

Remove litter from a scenic photo and inspect the filled ground or vegetation.

### Food photo cleanup

Remove a distracting table accessory, such as a condiment bottle beside a plated meal.

### Website image preparation

Remove a temporary traffic cone from an exterior photo before reviewing it for a website.

## Overview

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

## Object Removal Prompt in other agents

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

## More Google Antigravity guides

- [Object Removal Mask](https://spiral.ai/integrations/antigravity/object-removal-mask)
- [PATINA Extract Material](https://spiral.ai/integrations/antigravity/patina-extract-material)
- [Object Removal Bounding Box](https://spiral.ai/integrations/antigravity/object-removal-bounding-box)
- [PATINA Image to Maps](https://spiral.ai/integrations/antigravity/patina-image-to-maps)
- [Object Removal](https://spiral.ai/integrations/antigravity/object-removal)
- [PATINA Text to Material](https://spiral.ai/integrations/antigravity/patina-text-to-material)

## Questions about Object Removal Prompt in Google Antigravity

**Can Google Antigravity use Object Removal Prompt?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Object Removal Prompt like any built-in tool.

**How much does Object Removal Prompt cost in Google Antigravity?**

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

**Do I need a fal account to use Object Removal Prompt in Google Antigravity?**

No. Spiral runs Object Removal Prompt 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 Prompt in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Object Removal Prompt runs?**

Object Removal Prompt runs in the background. Google Antigravity starts the run, checks on it and gives you the image when it's ready.

**What is fal Object Removal useful for?**

Use it to remove unwanted objects from existing photos and fill the space they occupied. Suggested jobs include clearing a stray prop from a product shot or removing litter from a landscape.

**What should I write in the removal prompt?**

Name the unwanted object directly, such as 'traffic cone' or 'backpack.' As a practical starting point, keep the instruction focused on the removal target.

**What replaces the removed object?**

fal Object Removal fills the area with content suited to the surrounding scene. Review the reconstructed area before using the result.

**How does fal Object Removal locate the object?**

It uses Florence-2 for detection and SAM2 for segmentation. The text prompt identifies what to remove.

**When should I adjust mask expansion?**

Mask expansion increases the removal mask's coverage in pixels. As a practical troubleshooting step, try a small increase if an outline remains, and check nearby details after each attempt.

