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

opencode · Image

How to Use Fibo Lite in opencode

Fibo Lite makes images for rapid creative iteration with structured control over the scene. Compared with FIBO, it uses fewer generation steps and trades some image quality for speed.

Prompts to try with Fibo Lite in opencode

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

Read the homepage brief and theme colors in this project. Use Fibo Lite to create a 16:9 illustration of a small greenhouse at sunrise, with the building on the right and open sky on the left for the headline. Save the image and its structured prompt.

Fibo Liteopencode
Try asking
  • Use Fibo Lite to create a square product concept for the ceramic mug described in the project brief. Show a three-quarter view, matte glaze, a plain background, and soft light from the upper left. Save the structured prompt and seed with the asset.

  • Use Fibo Lite to create a 4:3 editorial illustration for the article about simplifying workflows in this repository. Show tangled cords becoming three orderly lines, using the site's palette and a flat paper illustration style.

  • Use Fibo Lite to make a new 3:2 scene inspired by the reference image in the project's assets. Carry forward its lighting and color palette, but replace the subject with a bicycle beside a brick wall. Save the result for review.

  • Use Fibo Lite to refine the saved banner using its structured prompt and seed. Change only the lighting to soft overcast daylight, then place the original and revised images in a local comparison page.

How to set up Fibo Lite in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 Lite

    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-lite/generate",
        "input": {
          "prompt": "Oil painting of a fluffy, wide-eyed cat sitting upright, holding a small wooden sign reading \"Feed Me.\" Rich textures, dramatic brushstrokes, warm tones, and…"
        }
      }'

Then paste one of the prompts above: opencode finds Fibo Lite on Spiral, shows the price and runs it.

Fibo Lite providers and prices

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

falImage
Fibo Lite
bria/fibo-lite/generate

Settings you can ask for

Fibo Lite works from your prompt and image URL. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number7

Seed for the random number generator.

Aspect ratio1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 1 more1:1

Aspect ratio. Options: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9

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

What can you do with Fibo Lite in opencode?

Create website artwork from a project's design brief and visual requirements. Keep the structured descriptions alongside the assets so later revisions can target lighting, composition, or color.

Product photo concepts

Explore a ceramic mug, desk lamp, or travel bag under different lighting. Specify materials, camera angle, and background so each concept answers a clear design question.

Website banner artwork

Create a scene with the subject positioned to one side and room for a headline. Add the final copy in the website layout after choosing the image.

Social campaign concepts

Develop square and portrait compositions around one campaign idea. Reuse the structured description to carry the palette, materials, and lighting into each new composition.

Editorial illustrations

Turn an article theme into a concrete visual metaphor, such as a tangled rope becoming an orderly line. Specify the medium, palette, and focal point.

Reference-inspired art direction

Start with one reference image and request a new scene inspired by its visual style. Describe the new subject and the qualities to carry forward, such as brushwork or lighting.

Lighting comparisons

Compare soft studio light, direct daylight, and backlighting on a chosen scene. Reuse the structured prompt and seed while changing the lighting instruction.

Story illustration concepts

Explore an owl in a forest, a quiet village, or another story scene before committing to an art direction. Refine the setting or mood through focused changes to the structured description.

Questions about Fibo Lite in opencode

Can opencode use Fibo Lite?

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

How much does Fibo Lite cost in opencode?

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

Do I need a fal account to use Fibo Lite in opencode?

No. Spiral runs Fibo Lite 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 Lite in opencode?

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

Does opencode wait while Fibo Lite runs?

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

How does Fibo Lite differ from FIBO?

Fibo Lite keeps FIBO's structured prompting workflow while using fewer generation steps. Bria reports a slight reduction in image quality compared with the full model, making speed the main reason to choose it.

What should a good Fibo Lite prompt include?

Describe the subject, setting, composition, lighting, materials, and visual style. Specific instructions such as a matte surface, light from the upper left, and empty space on the right give clearer direction than vague quality adjectives.

How can I make controlled changes to a Fibo Lite image?

Reuse the result's structured prompt and seed, then give a focused instruction such as changing the lighting. Keep the seed fixed while comparing prompt changes.

What image size does Fibo Lite produce?

The documented square output example is a 1024 × 1024 PNG. That example does not establish a maximum resolution for every image shape.

Can Fibo Lite reproduce a famous person or branded product?

Bria warns that prompts referencing public figures or protected brands may produce generic outputs. Describe the visible features you need and inspect the result for accuracy.

Get started

Start using Fibo Lite in opencode

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

Paste this into opencode:

Set up opencode

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