[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Object Removal](https://spiral.ai/integrations/gemini/object-removal)

# How to Use Object Removal in Gemini

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 Gemini

- Use Object Removal on the attached photo to remove the red cup at the lower left. Show me the edited image.
- Use Object Removal on this portrait to remove the light stand at the far right. Help me compare the person's outline afterward.
- Use Object Removal on this room photo to remove the blue bag beside the chair. Show both images for comparison.
- Use Object Removal on this landscape photo to remove the trash can beside the path. Check the edited area closely.
- Use Object Removal on this food photo to remove the empty glass behind the plate. Compare the plate and food with the original.

## How to set up Object Removal in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

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

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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: Gemini finds Object Removal on Spiral, shows the price and runs it.

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

## 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 Gemini?

Turn a photo cleanup request into an edited image with Object Removal. Describe the distracting object, then review the result beside the original.

### 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 Gemini guides](https://spiral.ai/integrations/gemini)

## 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 CLI](https://spiral.ai/integrations/gemini-cli/object-removal)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/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 Gemini guides

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

## Questions about Object Removal in Gemini

**Can Gemini use Object Removal?**

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

**How much does Object Removal cost in Gemini?**

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

**Do I need a fal account to use Object Removal in Gemini?**

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 Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Object Removal runs?**

Object Removal runs in the background. Gemini 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.

