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

Raycast · Image

How to Use Finegrain Eraser Mask in Raycast

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 Raycast

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

Use Finegrain Eraser Mask to remove the cup from this product photo using the mask I supplied. Show me the result and check the cup's former shadow.

Finegrain Eraser MaskRaycast
Try asking
  • Use Finegrain Eraser Mask on this interior photo and its mask to erase the wastebasket. Point out any uneven reconstruction on the floor.

  • Use Finegrain Eraser Mask to remove the masked object in front of this brick wall. Compare standard and premium quality so I can inspect the brick pattern.

  • Use Finegrain Eraser Mask with this food photo and mask to remove the unwanted fork. Show a close-up of the rebuilt tabletop beside the original.

  • Use Finegrain Eraser Mask to erase the masked vase in this room photo. Check both the empty space and the vase's reflection in the mirror.

How to set up Finegrain Eraser Mask in Raycast

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

Use the Raycast connector

  1. Install the server

    In Raycast run Install MCP Server. Name it Spiral, set Transport to HTTP, paste this URL and keep OAuth Type on Dynamic:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Spiral opens in your browser: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Raycast never sees it, and you can remove it under Settings › Connected apps in the console.

Use the Spiral skill

  1. Send Raycast 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 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: Raycast 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 Raycast 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 Raycast?

Remove a distracting object from a photo you share in chat with Finegrain Eraser Mask. The chat agent can help identify the removal target and compare the reconstructed background with the original.

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 Raycast

Can Raycast use Finegrain Eraser Mask?

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

How much does Finegrain Eraser Mask cost in Raycast?

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

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

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 Raycast?

About two minutes: install the server, then sign in to Spiral and approve.

Does Raycast wait while Finegrain Eraser Mask runs?

Finegrain Eraser Mask runs in the background. Raycast 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 Raycast

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

Paste this into Raycast:

Set up Raycast

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