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

Gemini · Data

How to Use Bria Fibo structured edit instructions in Gemini

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 Gemini

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

Use Bria Fibo structured edit instructions on https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_car.jpg to change the paint to cherry red while keeping the scene fixed. Explain the proposed object and background descriptions.

Bria Fibo structured edit instructionsGemini
Try asking
  • Use Bria Fibo structured edit instructions on https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_perfume.jpg to replace the cap with brushed aluminum. Show me how the plan describes the bottle, cap, and surrounding scene.

  • Use Bria Fibo structured edit instructions on https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_car.jpg to change the lighting to starlight nighttime. Summarize the lighting and mood, and flag any proposed changes to the car.

  • Use Bria Fibo structured edit instructions on https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_perfume.jpg to request a pencil-sketch treatment while keeping the composition. Explain the returned style and photographic details.

  • Use Bria Fibo structured edit instructions on https://labs-assets.bria.ai/sandbox-example-inputs/fibo2_edit_car.jpg to request cream-colored paint while preserving the camera angle and surroundings. Review the plan against those constraints.

How to set up Bria Fibo structured edit instructions in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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: Gemini 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 Gemini 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 Gemini?

Get a readable edit brief for a product photo before committing to a render. A chat assistant can explain Bria's proposed object, lighting, and background changes and compare them with your request.

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 Gemini

Can Gemini use Bria Fibo structured edit instructions?

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

How much does Bria Fibo structured edit instructions cost in Gemini?

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

Do I need a fal account to use Bria Fibo structured edit instructions in Gemini?

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 Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Bria Fibo structured edit instructions runs?

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

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

Paste this into Gemini:

Set up Gemini

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