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

Gemini CLI · Image

How to Use Fibo 2.0 Generate in Gemini CLI

Use Fibo 2.0 Generate to create scenes from detailed visual briefs or a reference image. Unlike Edit, it creates a new image and returns a reusable VGL scene description for controlled variations.

Prompts to try with Fibo 2.0 Generate in Gemini CLI

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

Use Fibo 2.0 Generate to create a 16:9 illustration for this project's gardening guide: three terracotta pots on a wooden bench, seedlings centered, watercolor medium, soft morning light from the left, and open space above. Save the image, returned VGL, and seed in the project.

Fibo 2.0 GenerateGemini CLI
Try asking
  • Use Fibo 2.0 Generate to make a square editorial photograph of a matte ceramic cup beside a closed notebook. Use an overhead view, soft window light from the left, and a plain wooden surface. Save the returned VGL for revision.

  • Use Fibo 2.0 Generate with the project's saved VGL and seed to make a variation that changes the cup from white ceramic to blue ceramic. Save the revised scene description beside the new image.

  • Generate a product photo with Fibo 2.0 Generate: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.

  • Make four logo concepts for a coffee brand called "Northline" with Fibo 2.0 Generate.

How to set up Fibo 2.0 Generate 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 2.0 Generate

    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-2/generate",
        "input": {
          "prompt": "<prompt>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Fibo 2.0 Generate on Spiral, shows the price and runs it.

Fibo 2.0 Generate providers and prices

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

falImage
Fibo 2.0 Generate
bria/fibo-2/generate

Settings you can ask for

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

SettingAllowed valuesDefaultDescription
StyleKodak Film, Hard Flash, Hazy Dreamy, or Rough Realism

A style for the generated image. Requires 'prompt'; not with 'image_url', 'vgl' or 'negative_prompt'.

Seed0 to 21474836475555

Random seed for reproducibility, 0 to 2147483647.

Aspect ratio1:1, 1:2, 1:3, 1:4, 1:5, 2:1, 2:3, 3:1 and 13 more1:1

Aspect ratio of the image, at about one megapixel. Options: 1:1, 1:2, 1:3, 1:4, 1:5, 2:1, 2:3, 3:1, 3:2, 3:4, 4:1, 4:3, 4:5, 5:1, 5:4, 9:16, 9:21, 10:16, 16:9, 16:10, 21:9

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

What can you do with Fibo 2.0 Generate in Gemini CLI?

Create project illustrations and revise existing image assets from concrete visual briefs. Keep returned VGL descriptions and seeds beside the assets so later revisions have a reproducible starting point.

Product restaging

Use Edit to place a product from one reference into a setting from another. Describe the product's placement and the details to retain.

Controlled campaign variations

Save a generated image's VGL and seed, then change a selected scene detail to explore variations from the same brief.

Localized asset revisions

Use a masked single-image edit to replace a selected region while retaining the source dimensions and original pixels elsewhere.

Illustrations from visual briefs

Use Generate for scenes with specific subjects, materials, lighting, and composition. Inspect the returned scene description before deciding what to revise.

Reference-led compositions

Combine a product, a setting, and lettering from three images with Edit. Assign each reference a distinct role in the instruction.

Repeatable image production

Keep the VGL and seed alongside approved generated images so an agent can reproduce them and prepare controlled revisions.

Questions about Fibo 2.0 Generate in Gemini CLI

Can Gemini CLI use Fibo 2.0 Generate?

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

How much does Fibo 2.0 Generate 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 2.0 Generate in Gemini CLI?

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

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

Does Gemini CLI wait while Fibo 2.0 Generate runs?

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

When should I use Generate instead of Edit?

Choose Generate for a new scene from a written brief or visual reference. Choose Edit when an existing image supplies the product, subject, or composition you want to change.

What resolution should I expect?

Generate and multi-image edits are documented at approximately one megapixel. Masked single-image edits retain the source image's dimensions.

What is VGL useful for?

VGL is an editable JSON description of the scene. Save it with the seed to reproduce a generated result, then change selected details to make controlled variations.

Can it combine several reference images?

Edit accepts up to four images together. Give each image a clear role, such as the product, setting, or lettering to use in the result.

Will a masked edit preserve the original image?

Original pixels outside the mask are preserved, and the output retains the source dimensions. Inside the mask, the model generates new content, so treat the region as a replacement area.

Get started

Start using Fibo 2.0 Generate 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