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

Gemini · Image

How to Use Finegrain Eraser in Gemini

Finegrain Eraser removes objects from existing photos and reconstructs the space they occupied. Its strength is removing the object's shadows, reflections, and lighting effects along with the object, guided by a text description.

Prompts to try with Finegrain Eraser in Gemini

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

Use Finegrain Eraser on this photo to erase the small green bottle beside the vase. Show me the original and edited image together.

Finegrain EraserGemini
Try asking
  • Use Finegrain Eraser to remove the person in the yellow coat at the left of this travel photo. Help me inspect the background where they stood.

  • Use Finegrain Eraser to erase the lamp on the right side of this room photo. Check its former shadow, reflection, and effect on the lighting.

  • Use Finegrain Eraser to remove the coffee cup from this tabletop photo. Compare standard and premium quality, focusing on the plate's outline and pattern.

  • Use Finegrain Eraser to remove the basketball nearest the camera in this court photo. Show a close-up of the reconstructed court surface.

How to set up Finegrain Eraser 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 Finegrain Eraser

    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/finegrain-eraser",
        "input": {
          "image_url": "https://v3.fal.media/files/elephant/IKqKIxDfRDK8fzeETCveO_erase_example01.jpg",
          "prompt": "person on the right and snowboard"
        }
      }'

Then paste one of the prompts above: Gemini finds Finegrain Eraser on Spiral, shows the price and runs it.

Finegrain Eraser providers and prices

Spiral runs Finegrain Eraser through fal. Open a card for today's price, with every fee included.

falImage
Finegrain Eraser · prompt
fal-ai/finegrain-eraser

Settings you can ask for

Finegrain Eraser works from your image URL and prompt. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Modeexpress, standard, or premiumstandard

Erase quality mode

Seed0 to 999

Random seed for reproducible generation

Every API field of Finegrain Eraser · prompt is on its tool page: open its card above.

What can you do with Finegrain Eraser in Gemini?

Remove a distracting object from a photo by describing it in conversation. Ask the chat app to show the original and edited image together so you can inspect the reconstructed area.

Remove distracting product-photo props

Erase a stray bottle, cup, or display prop from an existing product photo. Check the reconstructed surface and any reflections beside the product.

Clear clutter from room photos

Remove a named plant, chair, or other movable object from an interior photo. Review the floor and wall where the object stood.

Remove a background passerby

Identify an unwanted person by clothing and position in a travel photo. Review the reconstructed background and the person's former shadow.

Simplify tabletop photography

Erase unwanted utensils or a spare glass from a food or tabletop photo. Inspect plate contours, table texture, and nearby reflections.

Prepare website photo assets

Remove a distracting object from an existing website photo before cropping it for a page. Compare the edited scene with the original before replacing the asset.

Remove unused sports equipment

Erase a stray ball or board from an existing sports photo. Check the reconstructed ground and the shadow left by the equipment.

Questions about Finegrain Eraser in Gemini

Can Gemini use Finegrain Eraser?

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

How much does Finegrain Eraser cost in Gemini?

$0.0585 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 Finegrain Eraser in Gemini?

No. Spiral runs Finegrain Eraser on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up Finegrain Eraser 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 Finegrain Eraser runs?

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

Does Finegrain Eraser remove shadows and reflections too?

Yes. It targets the removed object's shadows, reflections, and lighting effects, then reconstructs the affected scene.

How should I describe what to erase?

Name the object and add a visible detail that identifies it, such as its color, relative size, or position. For example, use 'the small green bottle beside the vase' instead of 'the bottle.'

Do I need to paint over the object first?

No. Finegrain Eraser can select what to remove from a text description without a manually painted mask.

When should I try premium quality?

Try premium when an edit leaves uneven contours or damages a visible pattern. Finegrain's published plate comparison shows better reconstruction and pattern preservation than standard quality.

What should I check before using an edited photo?

Inspect reconstructed edges, patterns, and shadows at full size. Finegrain's standard-quality example shows that an object can be removed while the reconstructed plate still has imperfect details.

Get started

Start using Finegrain Eraser 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