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

OpenClaw · Image

How to Use Finegrain Eraser Mask in OpenClaw

Finegrain Eraser Mask removes selected objects and reconstructs the background, including their shadows and reflections. Unlike Finegrain Eraser's text selection, it uses a mask to identify what to remove.

Prompts to try with Finegrain Eraser Mask in OpenClaw

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

Every morning, use Finegrain Eraser Mask on newly submitted product photos that include a removal mask. Remove the selected styling props and include before-and-after images in the review report.

Finegrain Eraser MaskOpenClaw
Try asking
  • Each Friday, use Finegrain Eraser Mask on the approved interior photos and their supplied masks. Remove the selected clutter and flag visible floor or wall reconstruction problems.

  • Each night, use Finegrain Eraser Mask on newly approved brick-wall photos with removal masks. Compare standard and premium quality and collect close-ups for review.

  • Every Monday, use Finegrain Eraser Mask on the food photos submitted with utensil masks. Return the edited photos with a review note about the reconstructed tabletop.

  • At the end of each day, use Finegrain Eraser Mask on approved room photos with masks marking unwanted decorative objects. Include a check of their former shadows and reflections in the report.

How to set up Finegrain Eraser Mask in OpenClaw

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

Use the Spiral skill

  1. Send OpenClaw 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 Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

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 Mask

    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/mask",
        "input": {
          "image_url": "https://v3.fal.media/files/elephant/IKqKIxDfRDK8fzeETCveO_erase_example01.jpg",
          "mask_url": "https://v3.fal.media/files/panda/-31cZrsoy-8BrLqOEFmST_indir%20(18).png"
        }
      }'

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

Finegrain Eraser Mask providers and prices

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

falImage
Finegrain Eraser Mask · Image to Image
fal-ai/finegrain-eraser/mask

Settings you can ask for

Finegrain Eraser Mask works from your image URL and mask URL. Ask OpenClaw 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 Mask · Image to Image is on its tool page: open its card above.

What can you do with Finegrain Eraser Mask in OpenClaw?

Process recurring photo cleanup tasks with Finegrain Eraser Mask when each photo has a prepared removal mask. A scheduled agent can collect the edited images and flag reconstructed areas for review.

Clean up product photos

Remove an unwanted styling prop from an existing product photo. Review the rebuilt surface and any shadow or reflection left by the prop.

Clear interior distractions

Erase a wastebasket or another distracting object from an interior photo, then inspect the reconstructed floor and wall.

Remove background distractions

Remove an unwanted background object from a travel photo while keeping the original photo as a reference for review.

Simplify food photography

Erase an unwanted utensil or table prop from a food photo. Check the reconstructed tabletop where the object and its shadow appeared.

Prepare website photography

Remove distracting objects from an existing website image before placing it in a page. Compare the edited image with the original at the intended display size.

Repair patterned backgrounds after removal

Compare standard and premium edits when removing an object in front of brickwork or another repeated pattern. Inspect alignment and texture before choosing the result.

Questions about Finegrain Eraser Mask in OpenClaw

Can OpenClaw use Finegrain Eraser Mask?

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

How much does Finegrain Eraser Mask cost in OpenClaw?

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

Do I need a fal account to use Finegrain Eraser Mask in OpenClaw?

No. Spiral runs Finegrain Eraser Mask 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 Mask in OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while Finegrain Eraser Mask runs?

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

What is Finegrain Eraser best suited for?

Removing unwanted objects from existing photos and filling the space they occupied. Use it for tasks such as clearing a distracting prop from a product photo or removing clutter from an interior shot.

Can Finegrain Eraser remove an object's shadow or reflection?

Finegrain Eraser is designed to remove the object's visual traces, including shadows, reflections, and lighting artifacts. Check those areas in the result before accepting the edit.

When should I try premium mode?

Try premium when the reconstructed background contains visible patterns. Finegrain's brick-wall comparison shows more uniform reconstruction in premium mode than in standard mode.

Where can Finegrain Eraser make visible mistakes?

Reconstructed patterns can look uneven: Finegrain's standard-mode example includes imperfect bricks. Inspect repeated lines and textures around the erased area at full size.

Does Finegrain Eraser support high-resolution output?

Finegrain describes its Object Eraser API as supporting output up to 4K. That statement does not specify an exact width and height for every edit, so check the returned image's dimensions before using it in a layout.

Get started

Start using Finegrain Eraser Mask in OpenClaw

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

Paste this into OpenClaw:

Set up OpenClaw

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