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

# How to Use fal Object Removal in Gemini

fal Object Removal edits unwanted objects or people out of existing photos. It blends the background where the removed subject appeared, making it useful for cleaning up distracting elements.

|  |  |
| --- | --- |
| Model | fal 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 fal Object Removal in Gemini

- Use fal Object Removal on the attached vacation photo to remove the people behind the fountain. Show me the edited photo.
- Use fal Object Removal on this product photo to remove the cardboard box beside the lamp.
- Use fal Object Removal on this portrait to remove the trash can behind the subject. Show the original beside the result.
- Use fal Object Removal on this table photo to remove the empty glass at the far left.
- Use fal Object Removal on this photo to remove the blue backpack on the floor. Compare two levels of prompt adherence using the same description.

## How to set up fal 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 fal 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-editing/object-removal",
    "input": {
      "image_url": "https://v3.fal.media/files/zebra/hAjCkcyly4gsS9-cptD3Y_image%20(20).png"
    }
  }'
```

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

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

## fal Object Removal tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| guidance_scale | 0 to 20 | 3.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| num_inference_steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 6 being the most permissive. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| aspect_ratio | 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 | — | The aspect ratio of the generated image. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |

## What can you do with fal Object Removal in Gemini?

Turn a photo and a short removal request into an edited image. Use the conversation to identify the unwanted object and review the background afterward.

### Travel photo cleanup

Remove background bystanders from a vacation photo, then compare the edited scene with the original.

### Product photo cleanup

Remove a stray cup, cable, or packing material beside a photographed product.

### Portrait background cleanup

Remove a distracting object behind a portrait subject, such as a trash can or spare chair.

### Food photography

Edit a used napkin or empty glass out of a table scene before selecting a menu photo.

### Website photo preparation

Remove an unwanted prop from an existing banner photo before placing it in a page layout.

### Interior photo cleanup

Remove temporary clutter, such as a bag on the floor, from an interior photograph.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Gemini guides](https://spiral.ai/integrations/gemini)

## fal Object Removal in other agents

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

## More Gemini guides

- [fal Hair Change](https://spiral.ai/integrations/gemini/fal-hair-change)
- [fal Retouch](https://spiral.ai/integrations/gemini/fal-retouch)
- [fal Grain](https://spiral.ai/integrations/gemini/fal-grain)
- [fal Scene Composition](https://spiral.ai/integrations/gemini/fal-scene-composition)
- [fal Expression Change](https://spiral.ai/integrations/gemini/fal-expression-change)
- [fal Sharpen](https://spiral.ai/integrations/gemini/fal-sharpen)

## Questions about fal Object Removal in Gemini

**Can Gemini use fal Object Removal?**

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

**How much does fal 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 fal Object Removal in Gemini?**

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

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

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

Removing distracting objects or people from an existing photo. Suggested uses include background bystanders, stray props, and clutter around a product.

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

Name what should disappear. As a practical starting point, try a specific description such as 'the red cup beside the plate' instead of 'clean up this photo.'

**Can fal Object Removal remove people?**

Yes. The official description explicitly includes people, and the example removal target is 'background people.'

**What happens to the background after removal?**

fal Object Removal is designed to blend the background where the unwanted object or person appeared. Compare the edited area with the original before choosing the result.

**Which setting affects prompt adherence?**

Guidance controls how closely the model follows your prompt. To assess its effect, compare edits of the same photo while changing only guidance.

