[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Fibo Edit Erase by Text](https://spiral.ai/integrations/opencode/fibo-edit-erase-by-text)

# How to Use Fibo Edit Erase by Text in opencode

Fibo Edit Erase by Text removes named objects from existing images, such as a stray prop beside a product. It finds the removal area automatically, making it useful when you can describe the distraction clearly.

|  |  |
| --- | --- |
| Model | Fibo Edit Erase by Text |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Fibo Edit Erase by Text in opencode

- Use Fibo Edit Erase by Text on public/images/desk.jpg to remove the red mug beside the keyboard. Save a separate edited copy and show a before-and-after comparison.
- Use Fibo Edit Erase by Text on assets/product-photo.png to remove the loose cardboard box beside the backpack. Keep the original and flag any visible changes to the backpack.
- Use Fibo Edit Erase by Text on public/images/office.jpg to remove the trash bin beside the door. Save the result for review and inspect the rebuilt floor.
- Use Fibo Edit Erase by Text on assets/cafe.jpg to remove the spare white cup at the far-right edge. Prepare a comparison that lets me check the table texture.
- Use Fibo Edit Erase by Text on public/images/trail.jpg to remove the yellow cone beside the bench. Compare the output with the source and report if the image appears unchanged.

## How to set up Fibo Edit Erase by Text in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Fibo Edit Erase by Text**: One request; the result comes back by polling or a webhook.

```bash
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": "bria/fibo-edit/erase_by_text",
    "input": {
      "image_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/an_empty_table_in_living_room.png",
      "object_name": "Table"
    }
  }'
```

Then paste one of the prompts above: opencode finds Fibo Edit Erase by Text on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Fibo Edit Erase by Text tools and prices

- [Fibo Edit · Erase by Text](https://spiral.ai/tools/fal/bria/fibo-edit/erase_by_text) (fal): $0.052 per image.

## What can you do with Fibo Edit Erase by Text in opencode?

Prepare cleaner project images by removing named distractions from existing photos. A coding agent can save edited copies beside the originals and prepare a comparison for review.

### Product photo cleanup

Use Fibo Edit Erase by Text to remove a loose prop beside a photographed product. Check the product edges in the result.

### Interior photo retouching

Remove an identifiable trash bin or stray bag from a room photo with Fibo Edit Erase by Text.

### Travel photo cleanup

Use Fibo Edit Erase by Text to remove a distracting cone from a scenic photo, then inspect the rebuilt ground.

### Food photo cleanup

Remove a spare cup beside the main dish with Fibo Edit Erase by Text. Describe which cup to target.

### Website image preparation

Use Fibo Edit Erase by Text to remove a distracting object from an existing website photograph before placing it in a layout.

### Portrait background cleanup

Remove a clearly identifiable background object, such as a chair, from a portrait with Fibo Edit Erase by Text.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Fibo Edit Erase by Text in other agents

- [Amp](https://spiral.ai/integrations/amp/fibo-edit-erase-by-text)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fibo-edit-erase-by-text)
- [Claude](https://spiral.ai/integrations/claude-desktop/fibo-edit-erase-by-text)
- [Claude Code](https://spiral.ai/integrations/claude-code/fibo-edit-erase-by-text)
- [Cline](https://spiral.ai/integrations/cline/fibo-edit-erase-by-text)
- [Codex](https://spiral.ai/integrations/codex/fibo-edit-erase-by-text)
- [Cursor](https://spiral.ai/integrations/cursor/fibo-edit-erase-by-text)
- [Devin](https://spiral.ai/integrations/devin/fibo-edit-erase-by-text)
- [dots](https://spiral.ai/integrations/dots/fibo-edit-erase-by-text)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fibo-edit-erase-by-text)
- [Gemini](https://spiral.ai/integrations/gemini/fibo-edit-erase-by-text)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fibo-edit-erase-by-text)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/fibo-edit-erase-by-text)
- [goose](https://spiral.ai/integrations/goose/fibo-edit-erase-by-text)
- [Grok](https://spiral.ai/integrations/grok/fibo-edit-erase-by-text)
- [Grok Build](https://spiral.ai/integrations/grok-build/fibo-edit-erase-by-text)
- [Hermes](https://spiral.ai/integrations/hermes/fibo-edit-erase-by-text)
- [Instinct](https://spiral.ai/integrations/instinct/fibo-edit-erase-by-text)
- [Manus](https://spiral.ai/integrations/manus/fibo-edit-erase-by-text)
- [Muse](https://spiral.ai/integrations/muse/fibo-edit-erase-by-text)
- [Muse Code](https://spiral.ai/integrations/muse-code/fibo-edit-erase-by-text)
- [n8n](https://spiral.ai/integrations/n8n/fibo-edit-erase-by-text)
- [Notion](https://spiral.ai/integrations/notion/fibo-edit-erase-by-text)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fibo-edit-erase-by-text)
- [Perplexity](https://spiral.ai/integrations/perplexity/fibo-edit-erase-by-text)
- [Raycast](https://spiral.ai/integrations/raycast/fibo-edit-erase-by-text)
- [VS Code](https://spiral.ai/integrations/vscode/fibo-edit-erase-by-text)
- [Windsurf](https://spiral.ai/integrations/windsurf/fibo-edit-erase-by-text)
- [Zapier](https://spiral.ai/integrations/zapier/fibo-edit-erase-by-text)

## More opencode guides

- [Fibo Edit Colorize](https://spiral.ai/integrations/opencode/fibo-edit-colorize)
- [Fibo Edit Relight](https://spiral.ai/integrations/opencode/fibo-edit-relight)
- [Fibo Edit Blend](https://spiral.ai/integrations/opencode/fibo-edit-blend)
- [Fibo Edit Replace Object by Text](https://spiral.ai/integrations/opencode/fibo-edit-replace-object-by-text)
- [Fibo Edit Add Object by Text](https://spiral.ai/integrations/opencode/fibo-edit-add-object-by-text)
- [Fibo Edit Reseason](https://spiral.ai/integrations/opencode/fibo-edit-reseason)

## Questions about Fibo Edit Erase by Text in opencode

**Can opencode use Fibo Edit Erase by Text?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fibo Edit Erase by Text like any built-in tool.

**How much does Fibo Edit Erase by Text cost in opencode?**

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

**Do I need a fal account to use Fibo Edit Erase by Text in opencode?**

No. Spiral runs Fibo Edit Erase by Text on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Fibo Edit Erase by Text in opencode?**

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

**Does opencode wait while Fibo Edit Erase by Text runs?**

Fibo Edit Erase by Text runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is Fibo Edit Erase by Text useful for?**

Removing identifiable distractions from an existing image. Practical examples include a loose prop beside a product, a trash bin in a room photo, or a cone in a landscape shot.

**Do I need to draw around the object?**

Fibo Edit Erase by Text finds and masks the named object automatically. Describe the target clearly enough to distinguish it from nearby objects.

**What happens if it cannot find the object?**

Bria documents that an unmatched description can return the original image unchanged, even though the request succeeds. Compare the result with the source before treating the removal as complete.

**What replaces the erased object?**

The removal area is rebuilt and blended into the original image. Review that area for texture continuity and believable edges before using the result.

**When is text-based targeting a poor fit?**

Use a mask-based editing tool when the object is hard to single out in words. For Fibo Edit Erase by Text, try a distinguishing description such as “the red cup on the left” before using a broad label like “cup.”

