[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Bria Fibo structured edit instructions](https://spiral.ai/integrations/factory-droid/bria-fibo-structured-edit-instructions)

# How to Use Bria Fibo structured edit instructions in Factory Droid

Returns a JSON edit plan describing the intended image, including objects, lighting, background, and photographic details. Use it to inspect or revise an edit before sending the plan to an image renderer.

|  |  |
| --- | --- |
| Model | Bria Fibo structured edit instructions |
| Available through | fal |
| Category | Data |
| Price | $0.013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Bria Fibo structured edit instructions in Factory Droid

- Use Bria Fibo structured edit instructions with https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_car.jpg to request cherry-red paint while preserving the scene. Save the returned JSON in the project and summarize the proposed object changes.
- Use Bria Fibo structured edit instructions with https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_perfume.jpg to request a brushed-aluminum cap while preserving the bottle and splash. Add the returned plan to our review fixtures.
- Use Bria Fibo structured edit instructions with https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_car.jpg to plan starlight nighttime lighting. Build a project view that displays the returned lighting, background, and mood descriptions.
- Use Bria Fibo structured edit instructions with https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_perfume.jpg to plan a watercolor treatment. Save the result and create a readable review of its style and object descriptions.
- Use Bria Fibo structured edit instructions with https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_car.jpg to request matte-green paint. Compare the returned plan with our creative brief and list any proposed background changes.

## How to set up Bria Fibo structured edit instructions in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 Bria Fibo structured edit instructions**: 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/edit/structured_instruction",
    "input": {
      "image_url": "https://v3b.fal.media/files/b/0a8b07e8/GYKVk2EVivg_MC3jRRZi3_png%20-%202026-01-13T094835.850%20(3).png"
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Bria Fibo structured edit instructions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Bria Fibo structured edit instructions tools and prices

- [Fibo Edit · Structured Instruction](https://spiral.ai/tools/fal/bria/fibo-edit/edit/structured_instruction) (fal): $0.013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_url |  | — | Reference image (file or URL). |
| mask_url |  | — | Reference image mask (file or URL). Optional. |
| instruction |  | — | Instruction for image editing. |
| seed |  | 5555 | Random seed for reproducibility. |

## What can you do with Bria Fibo structured edit instructions in Factory Droid?

Build a review screen that shows a Bria edit plan before an image is rendered. A coding agent can save the returned JSON in the project and compare its proposed scene details with the creative brief.

### Approve an edit brief before rendering

Turn a reference image and requested change into a structured plan. Give the art director the proposed objects, background, and lighting to review before producing the image.

### Plan product recoloring

Request a new product color while specifying that its shape, label, and surroundings must stay fixed. Inspect the returned object descriptions for changes outside the brief.

### Review a lighting change

Translate a daylight-to-nighttime brief into a plan, then examine the proposed lighting and mood. Check whether the background or product description also changed.

### Prepare a localized replacement

Use a reference image and mask to plan a replacement object. Review its intended relationship to the surrounding scene before rendering the masked edit.

### Compare photographic and illustrated treatments

Generate separate edit plans for a photographic treatment and an illustration treatment of the same image. Compare style, composition, and object descriptions before choosing a direction.

### Check campaign briefs against visual rules

Compare generated plans with an approved palette, lighting brief, and scene description. Send plans that propose conflicting changes to a reviewer before rendering.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Bria Fibo structured edit instructions in other agents

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

## More Factory Droid guides

- [Bria Fibo Lite structured prompt](https://spiral.ai/integrations/factory-droid/bria-fibo-lite-structured-prompt)
- [Bria Fibo structured image prompt](https://spiral.ai/integrations/factory-droid/bria-fibo-structured-image-prompt)
- [xAI Text to Speech](https://spiral.ai/integrations/factory-droid/xai-text-to-speech)
- [Bria editable ad layers](https://spiral.ai/integrations/factory-droid/bria-editable-ad-layers)
- [Zonos2](https://spiral.ai/integrations/factory-droid/zonos2)
- [Firecrawl government documents](https://spiral.ai/integrations/factory-droid/firecrawl-government-documents)

## Questions about Bria Fibo structured edit instructions in Factory Droid

**Can Factory Droid use Bria Fibo structured edit instructions?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Bria Fibo structured edit instructions like any built-in tool.

**How much does Bria Fibo structured edit instructions cost in Factory Droid?**

$0.013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

**Do I need a fal account to use Bria Fibo structured edit instructions in Factory Droid?**

No. Spiral runs Bria Fibo structured edit instructions on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Bria Fibo structured edit instructions in Factory Droid?**

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

**Does Factory Droid wait while Bria Fibo structured edit instructions runs?**

Bria Fibo structured edit instructions runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

**Does Bria return an edited image here?**

This step returns a structured JSON edit plan. Bria documents image rendering as a separate step that consumes the plan.

**Does the output describe the original photo or the requested edit?**

The output schema describes the image to be generated, including its objects and their relationships. Read it as the intended result of the edit, rather than an inventory of the unchanged source photo.

**Which visual details does the plan cover?**

The documented schema includes objects, background setting, lighting, aesthetics, photographic characteristics, style, and text to render. Object descriptions can include location, relative size, shape, color, and texture.

**Can I review Bria's interpretation before rendering?**

Yes. Bria explicitly supports intercepting and editing the JSON before the final render, so a reviewer can check the proposed lighting, scene, and object changes first.

**Can I submit any image that is publicly visible?**

Public visibility alone does not establish permission. fal's terms require permission before submitting material protected by copyright, privacy rights, or other intellectual property rights.

