How to Use Bria FIBO Edit 1.5 Expand in opencode
Bria FIBO Edit 1.5 Expand adds canvas around an existing image for banners, social posts, and wider compositions. It preserves the original pixels at full resolution by default, while generating the added area near one megapixel and scaling it for larger outputs.
Prompts to try with Bria FIBO Edit 1.5 Expand in opencode
Copy an example into opencode, or ask in your own words.
Use Bria FIBO Edit 1.5 Expand on public/images/home-hero.jpg to make a 1600 by 900 banner. Continue the existing background, preserve original detail, and preview it in the homepage layout.
Use Bria FIBO Edit 1.5 Expand on the product photos in public/products to prepare square listing images. Start without scene descriptions and show a contact sheet for review.
Use Bria FIBO Edit 1.5 Expand to extend assets/editorial/room.jpg into a 4:3 composition. Continue the walls and floor, then show enlarged views of the joins.
Use Bria FIBO Edit 1.5 Expand on assets/cover-illustration.png for a 1200 by 1600 cover. Continue the illustration's shapes and colors around the original artwork.
Use Bria FIBO Edit 1.5 Expand on public/images/campaign.jpg to prepare square and 4:5 versions. Preserve source detail and check how each composition looks in our campaign components.
How to set up Bria FIBO Edit 1.5 Expand in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Bria FIBO Edit 1.5 Expand
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/expand", "input": { "image_url": "https://storage.googleapis.com/falserverless/model_tests/orange.png" } }'
Then paste one of the prompts above: opencode finds Bria FIBO Edit 1.5 Expand on Spiral, shows the price and runs it.
Bria FIBO Edit 1.5 Expand providers and prices
Spiral runs Bria FIBO Edit 1.5 Expand through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Bria FIBO Edit 1.5 Expand works from your image URL and prompt. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Aspect ratio | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 1 more | The desired aspect ratio of the final image. Used over 'original_image_size' and 'original_image_location' if provided: the original is centred and the canvas grows around it. | |
| Seed | 0 to 2147483647 | Reuse the seed from a previous response to recreate that result. Omit it for a random one, which is reported in the response either way. | |
| Negative prompt | what to leave out, in words | Not supported by this model, and refused rather than ignored -- see 'prompt'. Present only so a request written against the SDXL expansion endpoint fails loudly here instead of silently losing the field. | |
| Retain original quality | on or off | on | Keep the original's own pixels at full resolution. Generation happens near one megapixel, so a larger canvas is scaled up afterwards; leave this on and the region the mask protected is not resampled at all. Turn it off for a uniformly soft result, which can hide the seam on a textured background. |
| Preserve alpha | on or off | on | Keep the input's transparency. The model works in RGB, so the alpha channel is not generated -- the original's own is extended outwards by replicating its edges, which is what expanding a cutout means. Turn it off to get a flattened RGB result. |
| Return model output | on or off | off | Also return the model's own frame, before the original was pasted back and the seam blended. Diagnostic only -- it does not change the returned image. Use it to tell a bad generation apart from a bad composite: a boundary already broken in that frame came from the model, not from post-processing. |
Every API field of Bria Expand (FIBO-Edit-1.5) is on its tool page: open its card above.
What can you do with Bria FIBO Edit 1.5 Expand in opencode?
Adapt project images to new layouts by extending their surroundings with Bria FIBO Edit 1.5 Expand. A coding agent can use the project's layout dimensions to prepare assets and compare the results in context.
Product listing images
Extend an existing product photo to give the item more surrounding space. Keep original quality retention enabled to preserve existing product detail.
Social post adaptations
Expand a campaign image for square or portrait layouts when the subject needs more breathing room.
Website banners
Widen an existing photograph and request a quiet continuation of its background where a designer plans to place headline text.
Interior photography layouts
Extend room photographs for wider editorial layouts. Review architectural lines where the generated area meets the original.
Travel and landscape headers
Expand an existing landscape or street scene for a travel article header, then inspect the added surroundings before publication.
Illustration layout changes
Add space around an existing illustration for a cover, presentation, or editorial layout. Describe the shapes and colors that should continue into the added area.
More on Bria FIBO Edit 1.5 Expand and opencode
Overview
Bria FIBO Edit 1.5 Expand in other agents
More opencode guides
Questions about Bria FIBO Edit 1.5 Expand in opencode
Can opencode use Bria FIBO Edit 1.5 Expand?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Bria FIBO Edit 1.5 Expand like any built-in tool.
How much does Bria FIBO Edit 1.5 Expand 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 Bria FIBO Edit 1.5 Expand in opencode?
No. Spiral runs Bria FIBO Edit 1.5 Expand 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 Edit 1.5 Expand in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Bria FIBO Edit 1.5 Expand runs?
Bria FIBO Edit 1.5 Expand runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.
What is Bria FIBO Edit 1.5 Expand useful for?
Use it to add space around an existing image, such as widening a photograph for a banner or extending an illustration for a new layout. It also supports interiors, landscapes, and street scenes.
Does expansion preserve the original image's detail?
Original quality retention keeps the source pixels at full resolution. Leave it enabled when product details or other existing image details need to stay sharp.
Does a large output contain equally detailed generated content?
Generation happens near one megapixel, and larger canvases are scaled up afterward. Inspect the added area at its intended display size before choosing a large output.
Do I need to write a prompt?
No. Start without a scene description when you simply want more canvas; add a prompt when you have a specific continuation in mind.
How far should I expand an image?
Keep custom output canvases below 25 megapixels. For composition, Bria recommends that the foreground or main subject occupy more than 15% of the final canvas, so avoid surrounding a tiny subject with a vast generated area.
Start using Bria FIBO Edit 1.5 Expand in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


