[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Fibo Edit Rewrite Text](https://spiral.ai/integrations/vscode/fibo-edit-rewrite-text)

# How to Use Fibo Edit Rewrite Text in VS Code

Fibo Edit Rewrite Text replaces existing words in an image while aiming to preserve fonts and layout. Use it for copy changes in finished graphics, such as correcting a poster headline or updating an event title.

|  |  |
| --- | --- |
| Model | Fibo Edit Rewrite 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 Rewrite Text in VS Code

- Use Fibo Edit Rewrite Text on public/images/launch-banner.png with the replacement wording 'Now available'. Save the edited image beside the original and show both for review.
- Use Fibo Edit Rewrite Text on assets/event-poster.png to replace the title with 'Design night'. Keep the original asset and prepare a comparison of the lettering and layout.
- Use Fibo Edit Rewrite Text to create two separate edits of public/images/hero-banner.png, one reading 'Make room' and one reading 'Start fresh'. Start both edits from the original image.
- Use Fibo Edit Rewrite Text on assets/invitation.png with the exact wording 'Welcome, Maya'. Save a review copy and compare its font shapes and spacing with the original.
- Use Fibo Edit Rewrite Text on public/images/tutorial-thumbnail.png with the title 'Build your first chart'. Show the result at full size and at the thumbnail size used in the project.

## How to set up Fibo Edit Rewrite Text in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 Rewrite 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/rewrite_text",
    "input": {
      "image_url": "https://bria-datasets.s3.us-east-1.amazonaws.com/Liza/create_an_image_of_cake__with_text_on_it_saying___Hi_there__.png",
      "new_text": "FIBO Edit!"
    }
  }'
```

Then paste one of the prompts above: VS Code finds Fibo Edit Rewrite Text on Spiral, shows the price and runs it.

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

## Fibo Edit Rewrite Text tools and prices

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

## What can you do with Fibo Edit Rewrite Text in VS Code?

Update text embedded in project images without rebuilding their typography by hand. A coding agent can prepare edits with Fibo Edit Rewrite Text and place reviewed results beside the original assets for comparison.

### Correct a poster headline

Replace misspelled wording in an existing poster image, then compare the lettering and alignment with the original.

### Update an event graphic

Change the title in an existing event graphic, using the original typography and layout as the target.

### Compare campaign headlines

Create separate edits of the same campaign image with different approved headlines for review.

### Refresh a website banner

Replace outdated wording embedded in a banner image before adding the reviewed result to a website.

### Revise a video thumbnail

Try a new title on an existing thumbnail image and check the edited lettering at thumbnail size.

### Personalize an invitation

Replace the greeting on an existing invitation image with the exact approved wording.

## Overview

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

## Fibo Edit Rewrite Text in other agents

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

## More VS Code guides

- [Fibo Edit Restore](https://spiral.ai/integrations/vscode/fibo-edit-restore)
- [Fibo Edit Sketch to Image](https://spiral.ai/integrations/vscode/fibo-edit-sketch-to-image)
- [Fibo Edit Reseason](https://spiral.ai/integrations/vscode/fibo-edit-reseason)
- [Fibo Generate 1.5](https://spiral.ai/integrations/vscode/fibo-generate-1-5)
- [Fibo Edit Replace Object by Text](https://spiral.ai/integrations/vscode/fibo-edit-replace-object-by-text)
- [Fibo Lite](https://spiral.ai/integrations/vscode/fibo-lite)

## Questions about Fibo Edit Rewrite Text in VS Code

**Can VS Code use Fibo Edit Rewrite Text?**

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Fibo Edit Rewrite Text like any built-in tool.

**How much does Fibo Edit Rewrite Text cost in VS Code?**

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

**Do I need a fal account to use Fibo Edit Rewrite Text in VS Code?**

No. Spiral runs Fibo Edit Rewrite 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 Rewrite Text in VS Code?**

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

**Does VS Code wait while Fibo Edit Rewrite Text runs?**

Fibo Edit Rewrite Text runs in the background. VS Code starts the run, checks on it and gives you the image when it's ready.

**What is Fibo Edit Rewrite Text good for?**

Changing words in an existing image while retaining its typography and layout. Suggested uses include correcting poster copy, updating event titles, and trying alternate headlines on finished graphics.

**Does Fibo Edit Rewrite Text preserve the original font?**

Preserving fonts, typography, and layout is its stated purpose. Compare the result with the original before approving the edit, especially letter shapes, spacing, and alignment.

**How should I phrase the replacement text?**

Supply the exact words you want readers to see, including capitalization and punctuation. For a headline reading 'Coming soon', use replacement wording such as 'Now open' rather than a design brief.

**Is Fibo Edit Rewrite Text intended for a complete redesign?**

Its documented task is replacing existing text while preserving typography and layout. Choose it when the wording needs to change and you want to keep the existing design.

**What is the VGL document returned with the image?**

It is the document the edited image was generated from. Keep it alongside the result if you want a record of how the image was produced.

