[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Fibo Edit Replace Object by Text](https://spiral.ai/integrations/n8n/fibo-edit-replace-object-by-text)

# How to Use Fibo Edit Replace Object by Text in n8n

Fibo Edit Replace Object by Text swaps a named object in an existing image using a written instruction. Use it for focused substitutions, such as replacing a red apple with a green pear, and identify the target clearly when the scene is crowded.

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

## Prompts to try with Fibo Edit Replace Object by Text in n8n

- Every Monday, use Fibo Edit Replace Object by Text on each newly approved desk photo to replace the clearly visible red mug with a white ceramic cup. Ask to preserve surrounding objects and collect the original and edited images for review.
- Each Friday, use Fibo Edit Replace Object by Text on newly selected room photos to replace the single chair beside the window with a wooden armchair. Skip photos where the target is ambiguous and prepare a review gallery.
- Each morning, use Fibo Edit Replace Object by Text on approved fruit-bowl photos to replace the red apple at the front with a green pear. Ask to retain the bowl and remaining fruit, and collect the results.
- Every Tuesday, use Fibo Edit Replace Object by Text on selected tabletop photos to replace the tall blue vase with a short terracotta vase. Request matching lighting and shadows, and flag edits that need another attempt.
- At the start of each month, use Fibo Edit Replace Object by Text on approved office photos to replace the single black desk lamp with a brushed-steel lamp. Ask to preserve the rest of the scene and prepare before-and-after pairs.

## How to set up Fibo Edit Replace Object by Text in n8n

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

### Use the Spiral skill

1. **Send n8n 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. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Fibo Edit Replace Object by Text in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Fibo Edit Replace Object by Text, prices it and runs it each time the step fires.

### 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 Replace Object 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/replace_object_by_text",
    "input": {
      "image_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/a_bowl_of_fruits__should_have_a_red_apple.png",
      "instruction": "Replace the red apple with a green pear"
    }
  }'
```

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

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

## Fibo Edit Replace Object by Text tools and prices

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

## What can you do with Fibo Edit Replace Object by Text in n8n?

Prepare recurring batches of object-replacement drafts from images selected for editing. A scheduled agent can apply clear substitution instructions and collect the results for review.

### Test furniture choices

Replace a clearly identified chair in a room photo to preview a different design. Ask to retain the room, camera angle, and other furniture.

### Compare food styling

Swap a red apple for a green pear in a bowl photo to compare ingredient and color choices.

### Explore tabletop props

Replace a vase, mug, or lamp in an existing still life to test a new visual direction.

### Prepare ad concepts

Replace one prominent prop in an existing ad image to explore alternative concepts. Review the surrounding artwork after each edit.

### Revise presentation visuals

Swap a distracting object in a slide's illustration or photo for something that better supports the topic.

### Update website imagery

Replace a dated desk accessory or decorative object in an existing website photo. Request that the composition and surrounding scene stay unchanged.

## Overview

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

## Fibo Edit Replace Object by Text in other agents

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

## More n8n guides

- [Fibo Edit Relight](https://spiral.ai/integrations/n8n/fibo-edit-relight)
- [Fibo Edit Reseason](https://spiral.ai/integrations/n8n/fibo-edit-reseason)
- [Fibo Edit Erase by Text](https://spiral.ai/integrations/n8n/fibo-edit-erase-by-text)
- [Fibo Edit Restore](https://spiral.ai/integrations/n8n/fibo-edit-restore)
- [Fibo Edit Colorize](https://spiral.ai/integrations/n8n/fibo-edit-colorize)
- [Fibo Edit Rewrite Text](https://spiral.ai/integrations/n8n/fibo-edit-rewrite-text)

## Questions about Fibo Edit Replace Object by Text in n8n

**Can n8n use Fibo Edit Replace Object by Text?**

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

**How much does Fibo Edit Replace Object by Text cost in n8n?**

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

**Do I need a fal account to use Fibo Edit Replace Object by Text in n8n?**

You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs Fibo Edit Replace Object by Text on its own fal account.

**How long does it take to set up Fibo Edit Replace Object by Text in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Fibo Edit Replace Object by Text runs?**

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

**What is Fibo Edit Replace Object by Text good for?**

It handles focused object substitutions in existing images. Try replacing a tabletop prop, a piece of furniture, or an ingredient in a food photo.

**How should I describe the object I want to replace?**

Name the object and add details that distinguish it, such as its color, size, or position. Then describe the replacement and state which surrounding details should stay unchanged.

**What if the image contains several similar objects?**

Use a precise description such as the small red cup at the front left. If that still leaves the target ambiguous, Bria recommends a mask-based editing tool.

**How can I keep the surrounding scene consistent?**

Explicitly ask to preserve the camera angle and surrounding objects. Compare the result with the original before accepting the edit.

**How can I help the replacement look natural?**

Describe the replacement's appearance and ask for lighting and shadows that match the scene. Review those details alongside the object itself.

