Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Data

How to Use Bria Fibo structured edit instructions in VS Code

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.

Prompts to try with Bria Fibo structured edit instructions in VS Code

Copy an example into VS Code, or ask in your own words.

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.

Bria Fibo structured edit instructionsVS Code
Try asking
  • 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 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:

    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.

    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.

    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: VS Code finds Bria Fibo structured edit instructions on Spiral, shows the price and runs it.

Bria Fibo structured edit instructions providers and prices

Spiral runs Bria Fibo structured edit instructions through fal. Open a card for today's price, with every fee included.

falData
Fibo Edit · Structured Instruction
bria/fibo-edit/edit/structured_instruction

Settings you can ask for

Bria Fibo structured edit instructions works from your image URL and mask URL. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number5555

Random seed for reproducibility.

Every API field of Fibo Edit · Structured Instruction is on its tool page: open its card above.

What can you do with Bria Fibo structured edit instructions in VS Code?

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.

Questions about Bria Fibo structured edit instructions in VS Code

Can VS Code use Bria Fibo structured edit instructions?

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

How much does Bria Fibo structured edit instructions cost in VS Code?

$0.013 per request. 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 Bria Fibo structured edit instructions in VS Code?

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 VS Code?

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

Does VS Code wait while Bria Fibo structured edit instructions runs?

Bria Fibo structured edit instructions runs in the background. VS Code 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.

Get started

Start using Bria Fibo structured edit instructions in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options