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

Gemini CLI · ImageReleased 2026-01-16

How to Use Fibo Edit in Gemini CLI

Fibo Edit changes existing images with structured control over color, lighting, style, and selected regions. Use it for product photo edits or repeatable visual changes, with a mask when the edit needs a defined boundary.

Prompts to try with Fibo Edit in Gemini CLI

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

Use Fibo Edit on public/images/chair.jpg to change only the upholstery to forest green. Retain the frame, fabric texture, lighting, and background; save a separate preview.

Fibo EditGemini CLI
Try asking
  • Use Fibo Edit on the homepage photo in this project to move the main light to the upper left. Retain the composition, object colors, and background.

  • Use Fibo Edit on assets/editorial.jpg to create a vintage treatment with faded colors. Retain the people, their placement, and the framing; save the result beside the original.

  • Use Fibo Edit with assets/room.jpg and assets/cushion-mask.png to recolor the selected cushion rust red. Retain its fabric texture and everything outside the selected area.

  • Use Fibo Edit to make three separate color studies from assets/bottle.jpg: navy, cream, and dark green. Start each from the original and keep each edit description and seed with its output.

How to set up Fibo Edit in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 Fibo Edit

    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",
        "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 CLI finds Fibo Edit on Spiral, shows the price and runs it.

Fibo Edit providers and prices

Spiral runs Fibo Edit through fal. Open a card for today's price, with every fee included.

falImage
Fibo Edit
bria/fibo-edit/edit

Settings you can ask for

Fibo Edit works from your image URL and mask URL. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number5555

Random seed for reproducibility.

Steps number of20 to 5030

Number of inference steps.

Negative promptwhat to leave out, in words

Negative prompt for image generation.

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

What can you do with Fibo Edit in Gemini CLI?

Turn existing project images into product color previews, lighting studies, and localized design edits. A coding agent can use the project's visual brief to prepare precise changes and keep the resulting images beside their edit descriptions.

Product color previews

Start with a product photo and request a specific color change. Compare the edited object with the original for unwanted changes to its shape and surface.

Campaign lighting studies

Explore different lighting directions on an existing campaign image while requesting the same background and object textures.

Vintage editorial images

Give an existing editorial photo a vintage treatment, with explicit instructions about the colors and composition to retain.

Interior finish previews

Mask a cushion, chair, or other selected region in a room photo and request a new color without restyling the entire room.

Background concepts

Revise the background description of an existing image to explore a different setting. Use a mask when the replacement needs a defined boundary.

Controlled creative comparisons

Make separate edits from the same source image, changing one visual attribute per result. Keep the structured descriptions and seeds with each result for later comparison.

Questions about Fibo Edit in Gemini CLI

Can Gemini CLI use Fibo Edit?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Fibo Edit like any built-in tool.

How much does Fibo Edit cost in Gemini CLI?

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

Do I need a fal account to use Fibo Edit in Gemini CLI?

No. Spiral runs Fibo Edit 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 in Gemini CLI?

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

Does Gemini CLI wait while Fibo Edit runs?

Fibo Edit runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is Fibo Edit useful for?

Use Fibo Edit to revise an existing image: recolor a product, change lighting, restyle a photo, or edit a selected region. Its structured scene descriptions also suit repeated edits with a consistent brief.

How should I write a Fibo Edit prompt?

Name the object, the attribute to change, and the desired result. For example: 'Change the car's paint to forest green; retain its texture, the background, and the lighting.'

When should I use a mask?

Use a mask when an edit needs a defined boundary, such as changing one cushion in a room photo. Fibo Edit supports targeting selected regions while preserving the surrounding image.

What does VGL add to image editing?

VGL describes a scene as structured JSON. It separates visual attributes so an edit can target lighting, color, or background explicitly, and Fibo Edit can work from the difference between original and revised descriptions.

Can I repeat a Fibo Edit result?

Keep the source image, any mask, the exact VGL description, and the seed used for the edit. Bria documents the same VGL and seed as the basis for reproducible rendering.

Get started

Start using Fibo Edit in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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