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

falImageAvailable now

Bria Expand (FIBO-Edit-1.5)

bria/fibo-edit-1.5/expand

Edit and enhance images with Bria Expand (FIBO-Edit-1.5) from fal through one Spiral API key. It runs in the background and returns images. Pay as you go, with no subscription.

Pricing

$0.052 per image.

Limits

Runs
In the background
Returns
image
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
image_url requiredURL or file—

The image to expand (file or URL).

canvas_sizelist—

The desired size of the final image after the expansion, as [width, height]. Area must be under 25 megapixels. Pairs with 'original_image_location'.

aspect_ratioone of
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9
—

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.

original_image_sizelist—

The desired size of the original inside the canvas, as [width, height]; it is resized to this before being placed. Ignored if 'aspect_ratio' is provided.

original_image_locationlist—

Top-left corner of the original within the canvas, as [x, y]. May sit outside the canvas, in which case the original is cropped. Ignored if 'aspect_ratio' is provided.

prompttext—

What should appear in the expanded area. Omit it and the model is asked only to extend the image, which is usually what you want for a plain canvas change.

seednumber (whole)
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_prompttext—

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_qualitytrue or falsetrue

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_alphatrue or falsetrue

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_outputtrue or falsefalse

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.

Same request in code

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"
    }
  }'

Frequently asked questions

How much does Bria Expand (FIBO-Edit-1.5) cost?

$0.052 per image. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Bria Expand (FIBO-Edit-1.5) through an API?

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bria/fibo-edit-1.5/expand"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with fal to use Bria Expand (FIBO-Edit-1.5)?

No. Spiral runs it on its own fal account and charges your Spiral balance.

Can my AI agent use Bria Expand (FIBO-Edit-1.5)?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.