How to Use Finegrain Eraser Bbox in Codex
Finegrain Eraser Bbox removes a selected object and reconstructs the background, including its shadows and reflections. Unlike Finegrain Eraser, it selects the target with a box instead of a text description.
Prompts to try with Finegrain Eraser Bbox in Codex
Copy an example into Codex, or ask in your own words.
Use Finegrain Eraser Bbox on public/images/desk.jpg to remove the mug at the right edge with one selection box. Save an edited copy and a before-and-after comparison.
Use Finegrain Eraser Bbox to remove the plant from assets/living-room.jpg. Try premium mode and show the reconstructed floor at full size.
Use Finegrain Eraser Bbox on assets/product.jpg to erase the prop beside the product. Select only that target and save the result separately.
Use Finegrain Eraser Bbox to compare standard and premium removal of the cup in assets/tabletop.jpg. Build a comparison page focused on the plate pattern.
Use Finegrain Eraser Bbox on public/images/travel.jpg to remove the person on the far left. Show the edited area and its shadow beside the original.
How to set up Finegrain Eraser Bbox in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Finegrain Eraser Bbox
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/bbox", "input": { "image_url": "https://v3.fal.media/files/elephant/IKqKIxDfRDK8fzeETCveO_erase_example01.jpg", "box_prompts": [ {} ] } }'
Then paste one of the prompts above: Codex finds Finegrain Eraser Bbox on Spiral, shows the price and runs it.
Finegrain Eraser Bbox providers and prices
Spiral runs Finegrain Eraser Bbox through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Finegrain Eraser Bbox works from your image URL. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Mode | express, standard, or premium | standard | Erase quality mode |
| Seed | 0 to 999 | Random seed for reproducible generation |
Every API field of Finegrain Eraser Bbox · Image to Image is on its tool page: open its card above.
What can you do with Finegrain Eraser Bbox in Codex?
Clean up existing project photographs before placing them in a page or app. Have the agent save edited copies and prepare comparisons for review.
Product photo cleanup
Remove a distracting prop beside a product, then inspect the reconstructed surface before using the image in a listing.
Interior photo retouching
Erase an unwanted plant, basket, or chair from a room photograph and check the floor and wall behind it.
Travel photo cleanup
Remove a distracting person from a travel photograph with one selection box.
Tabletop photography
Erase a cup or utensil from a food photograph, then review the reconstructed table or plate.
Backgrounds for website images
Remove an unwanted object from an existing photograph before adding headings or other page content.
Retouching comparisons
Compare standard and premium edits on the same photograph to inspect patterns, contours, shadows, and reflections.
More on Finegrain Eraser Bbox and Codex
Overview
Finegrain Eraser Bbox in other agents
Questions about Finegrain Eraser Bbox in Codex
Can Codex use Finegrain Eraser Bbox?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Finegrain Eraser Bbox like any built-in tool.
How much does Finegrain Eraser Bbox cost in Codex?
$0.0585 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need a fal account to use Finegrain Eraser Bbox in Codex?
No. Spiral runs Finegrain Eraser Bbox 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 Bbox in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Finegrain Eraser Bbox runs?
Finegrain Eraser Bbox runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.
Does Finegrain Eraser leave a transparent hole?
It reconstructs the background where the object was removed. Use it to clean up a scene when you want a filled photograph.
Can Finegrain Eraser Bbox remove several separate objects at once?
Only one selection box is supported per request. For separate targets, make successive edits and inspect each result before continuing.
Does Finegrain Eraser remove shadows and reflections too?
Yes. It is designed to remove the object's visual effects, including shadows, reflections, and lighting effects; check those areas when reviewing the result.
When is premium mode worth trying?
Try it when an edit must reconstruct visible patterns or detailed contours. Finegrain's comparison shows more accurate reconstruction of a patterned plate in premium mode, so compare the results around the erased area.
What output resolution does Finegrain document?
Finegrain's API announcement states support up to 4K. It does not give an exact width and height for that limit.
Start using Finegrain Eraser Bbox in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


