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

opencode · ImageReleased 2026-08-24

How to Use FIBO Edit 1.5 in opencode

FIBO Edit 1.5 edits photos for product placement, clothing changes, background replacement, and style transfer. Compared with FIBO Edit, it adds composition from multiple references and improves single-image editing quality.

Prompts to try with FIBO Edit 1.5 in opencode

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

Use FIBO Edit 1.5 to edit the chair photo in this project's assets. Change only the upholstery to forest-green velvet; preserve the chair shape, camera angle, room, and floor shadows. Save the result beside the source.

FIBO Edit 1.5opencode
Try asking
  • Use FIBO Edit 1.5 with the project's kitchen photo as image 1 and mug photo as image 2. Put the mug on the counter at a realistic scale, matching perspective and contact shadows.

  • Use FIBO Edit 1.5 to restyle the project's café image using its illustration reference. Keep the furniture arrangement and camera angle. Save the edited image and returned structured instruction.

  • Use FIBO Edit 1.5 to compare three paint colors on the project's car photo: red, blue, and green. Keep the same seed across edits and preserve the body shape, windows, reflections, and background.

  • Use FIBO Edit 1.5 with the project's bottle photo and cap mask. Replace the cap with brushed aluminum, preserve the bottle and label, and match the original studio reflections.

How to set up FIBO Edit 1.5 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 Edit 1.5

    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-1.5/edit",
        "input": {
          "image_urls": [
            "<image_urls>"
          ]
        }
      }'

Then paste one of the prompts above: opencode finds FIBO Edit 1.5 on Spiral, shows the price and runs it.

FIBO Edit 1.5 providers and prices

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

falImage
Fibo Edit 1.5 Image Editing
bria/fibo-edit-1.5/edit

Settings you can ask for

FIBO Edit 1.5 works from your image URLs and mask URL. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Aspect ratio1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 1 more

Output aspect ratio. Left unset, the output keeps the ratio of the first reference image. A chosen ratio applies only with two or more reference images; with a single reference the output keeps that image's ratio either way.

Seeda whole number5555

Random seed for reproducibility.

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

What can you do with FIBO Edit 1.5 in opencode?

Turn project image assets into product scenes, material studies, and reference-based composites. A coding agent can organize controlled comparisons and retain the editing specifications alongside the resulting assets.

Product lifestyle images

Combine a product photo with a setting reference. Request matching scale, perspective, and contact shadows while identifying the product details to preserve.

Clothing previews

Use a person photo and a garment reference to explore an outfit change. State that the person's identity, pose, and surrounding scene should stay fixed.

Background replacements

Move an existing subject into a different setting, using a reference for the destination. Specify how the subject's lighting should match the scene.

Reference-based restyling

Transfer the visual treatment of a style reference onto an existing image while requesting the same subject and composition.

Localized material changes

Regenerate a selected surface, such as chair upholstery or a bottle cap, with a different material. Name the surrounding details that must remain unchanged.

Character and scene composites

Combine a character reference with a scene reference. Describe placement, relative size, perspective, and shadows instead of leaving the relationship unspecified.

Controlled color studies

Explore different colors for a clearly identified object. Keep the seed fixed while changing the color instruction to compare the results.

Questions about FIBO Edit 1.5 in opencode

Can opencode use FIBO Edit 1.5?

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

How much does FIBO Edit 1.5 cost in opencode?

$0.052 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 Edit 1.5 in opencode?

No. Spiral runs FIBO Edit 1.5 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 1.5 in opencode?

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

Does opencode wait while FIBO Edit 1.5 runs?

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

What is FIBO Edit 1.5 good at?

It suits edits that combine visual references: placing a product into a scene, changing clothing, replacing a background, or transferring a style. Specify which reference supplies each element and how those elements should fit together.

How does FIBO Edit 1.5 improve on FIBO Edit?

FIBO Edit 1.5 adds composition from multiple reference images and improves the visual quality of single-image edits. That makes it useful when a scene, product, outfit, or style needs its own reference.

How should I write an editing prompt?

Name the target and the change, then state what must stay fixed. For a composite, also request matching perspective, scale, texture, and shadows.

Does a mask retouch the existing pixels?

The selected region is regenerated from the instruction. Treat masking as localized replacement, and state which details the replacement must retain.

What resolution does a masked edit return?

A masked edit returns at the reference image's resolution. It does not automatically increase the image's pixel dimensions.

Get started

Start using FIBO Edit 1.5 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