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

# How to Use Object Removal in Google Antigravity

Object Removal removes unwanted objects from an existing image. Use it for targeted photo cleanup, with output documented as 4K.

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

## Prompts to try with Object Removal in Google Antigravity

- Use Object Removal on public/images/desk.jpg to remove the black cable along the bottom edge. Save a separate copy for review.
- Use Object Removal on assets/product.jpg to remove the red cup to the left of the product. Compare the product label with the original.
- Use Object Removal on public/team/portrait.jpg to remove the light stand at the far right. Show the original and edited images together.
- Use Object Removal on assets/interior.jpg to remove the blue bag beside the chair. Flag any visible change to the chair.
- Use Object Removal on public/images/cafe.jpg to remove the empty cup nearest the bottom edge. Keep the original asset.

## How to set up Object Removal 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**: 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/image-apps-v2/object-removal",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/L_YMy6H5r_HYMacZX1qne_74a8fb6130164a18930af55370a1c9b2.png",
      "object_to_remove": "<object_to_remove>"
    }
  }'
```

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

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

## Object Removal tools and prices

- [Object Removal](https://spiral.ai/tools/fal/fal-ai/image-apps-v2/object-removal) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| aspect_ratio |  | — | Aspect ratio for 4K output |

## What can you do with Object Removal in Google Antigravity?

Prepare project photos with distracting objects removed using Object Removal. Save proposed edits separately and compare them before updating site assets.

### Product photo cleanup

Try removing a stray prop beside a product. Review the product's edges and label before accepting the edit.

### Portrait equipment cleanup

Remove a visible light stand at the edge of a portrait, then compare the person's outline with the original.

### Interior photo cleanup

Target a loose bag beside a chair. Inspect the floor pattern and furniture edges afterward.

### Travel photo cleanup

Try removing a trash can from a scenic photo. Check the edited area against surrounding pavement or vegetation.

### Food photo cleanup

Remove an unwanted cup beside a plated dish. Compare the plate, food, and table surface before publishing.

### Website photo preparation

Remove a distracting cable from a photo intended for a website. Review the edit at the size visitors will see.

## Overview

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

## Object Removal in other agents

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

## More Google Antigravity guides

- [Nano Banana Pro Text to Image](https://spiral.ai/integrations/antigravity/nano-banana-pro-text-to-image)
- [Object Removal Bounding Box](https://spiral.ai/integrations/antigravity/object-removal-bounding-box)
- [Nano Banana Pro Image Editing](https://spiral.ai/integrations/antigravity/nano-banana-pro-image-editing)
- [Object Removal Mask](https://spiral.ai/integrations/antigravity/object-removal-mask)
- [Nano Banana Pro Edit](https://spiral.ai/integrations/antigravity/nano-banana-pro-edit)
- [Object Removal Prompt](https://spiral.ai/integrations/antigravity/object-removal-prompt)

## Questions about Object Removal in Google Antigravity

**Can Google Antigravity use Object Removal?**

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

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

$0.052 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 in Google Antigravity?**

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

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

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

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

**What does Object Removal do?**

It removes an unwanted object from an existing image and returns an edited image.

**What should I try Object Removal on?**

Try a specific cleanup task: a stray cup in a tabletop photo, a bag beside a chair, or a light stand at the edge of a portrait. Compare the edit with the original before using it.

**How should I describe the object I want removed?**

Name the object and its location, such as “the red cup at the lower left.” When similar objects appear together, add a distinguishing detail instead of asking to “remove the clutter.”

**Does Object Removal support 4K output?**

The documentation describes the output as 4K. Check the returned image's dimensions when an exact pixel size matters.

**What should I inspect before accepting an edit?**

Zoom into the removed object's outline and compare nearby textures, straight lines, and shadows with the original. Also check any subject that needed to stay unchanged.

