Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Image

How to Use Object Removal Bounding Box in Gemini

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.

Prompts to try with Object Removal Bounding Box in Gemini

Copy an example into Gemini, or ask in your own words.

Use Object Removal Bounding Box on this photo to remove the red bag beside the bench. Show me the box you plan to use first.

Object Removal Bounding BoxGemini
Try asking
  • Use Object Removal Bounding Box to erase the bottle on the left side of this beach photo. Show the edited area beside the original.

  • Use Object Removal Bounding Box to remove the spare fork beside the plate in this photo. Check the reconstructed tabletop before showing the result.

  • Use Object Removal Bounding Box to remove the cup from this desk photo. If its outline remains, slightly enlarge the removal area and compare.

  • Use Object Removal Bounding Box to remove the bag first, then the bottle in this photo. Use separate passes and show each result.

How to set up Object Removal Bounding Box 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:

    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.

    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.

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

Object Removal Bounding Box providers and prices

Spiral runs Object Removal Bounding Box through fal. Open a card for today's price, with every fee included.

falImage
Object Removal · Bbox
fal-ai/object-removal/bbox

Settings you can ask for

Object Removal Bounding Box works from your image URL. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Modellow_quality, medium_quality, high_quality, or best_qualitybest_quality
Mask expansion0 to 5015

Amount of pixels to expand the mask by. Range: 0-50

Every API field of Object Removal · Bbox is on its tool page: open its card above.

What can you do with Object Removal Bounding Box in Gemini?

Turn a photo editing request into a targeted removal with a box around the unwanted object. Review the reconstructed area in the conversation before deciding whether to keep it.

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.

Questions about Object Removal Bounding Box in Gemini

Can Gemini use Object Removal Bounding Box?

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

How much does Object Removal Bounding Box cost in Gemini?

$0.0078 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 Bounding Box in Gemini?

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 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 Bounding Box runs?

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

Get started

Start using Object Removal Bounding Box in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options