# Bria FIBO-Edit 1.5 Expand (`bria_fibo_edit_1_5_expand`)

> Bria FIBO-Edit 1.5 outpainting: extends one image to one of 9 aspect ratios or a custom canvas up to 25 MP, with an optional prompt for the new area. Original pixels are kept at full resolution. $0.04 per image.

- Capability: Images (tool `image`) — Image to image
- Price: from $0.04 per run (1 credit = $0.01). Exact price for a request: POST https://api.varg.ai/v2/estimate
- Typical time: ~15 s
- JSON Schema: https://api.varg.ai/v2/tools/image?model=bria_fibo_edit_1_5_expand (public, no key)
- Try it: https://varg.ai/dashboard/tools/playground?model=bria_fibo_edit_1_5_expand

## Call it

REST: `POST https://api.varg.ai/v2/tools/image/call` with `Authorization: Bearer $VARG_API_KEY` (create a key at https://varg.ai/dashboard/api).
It answers `202` with a job right away. Poll `GET /v2/jobs/{id}` until `status` is `completed`, then read `output.outputs[0].url` — or pass `options.webhook_url` and get the finished job POSTed to you.

```bash
curl -X POST https://api.varg.ai/v2/tools/image/call \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bria_fibo_edit_1_5_expand",
  "files": [
    {
      "url": "https://storage.googleapis.com/falserverless/model_tests/orange.png"
    }
  ]
}'
```

MCP: the varg server `https://mcp.varg.ai/mcp` (OAuth sign-in, no key) runs it with `call_tool`:

```json
{
  "tool": "image",
  "input": {
    "model": "bria_fibo_edit_1_5_expand",
    "files": [
      {
        "url": "https://storage.googleapis.com/falserverless/model_tests/orange.png"
      }
    ]
  },
  "wait": true
}
```

## Inputs

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `model` | string | yes | — | `bria_fibo_edit_1_5_expand` or a route key below | Which model runs the job. |
| `prompt` | string | no | — | — | — |
| `files` | array of { url } | no | — | — | — |
| `aspect_ratio` | string | no | — | e.g. 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 \| 21:9 \| auto | — |

Media inputs are URLs. Upload a local file first with `POST /v2/files` and pass the returned URL.

## Provider options

Optional, per provider, under `provider_options.<provider>`. Only the options of the provider that runs the job apply — pin a route to choose it.

### provider_options.fal

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `prompt` | string | no | — | — | — |
| `negative_prompt` | string | no | — | — | — |
| `seed` | integer | no | — | 0–2147483647 | — |
| `image_url` | string (URL) | no | — | — | The image to expand (file or URL). |
| `sync_mode` | boolean | no | — | — | If true, returns the image directly in the response (increases latency). |
| `aspect_ratio` | string | no | — | 1:1 \| 2:3 \| 3:2 \| 3:4 \| 4:3 \| 4:5 \| 5:4 \| 9:16 \| 16:9 | — |
| `preserve_alpha` | boolean | no | — | — | 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` | boolean | no | — | — | 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. |
| `retain_original_quality` | boolean | no | — | — | 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. |

## Routes

`"model": "bria_fibo_edit_1_5_expand"` picks a route automatically (priority order, then the inputs you send). To pin one, pass its key as `model`.

| model key | provider | modality | price from | typical time |
|---|---|---|---|---|
| `fal:bria/fibo-edit-1.5/expand` | fal | image-to-image | $0.04 | ~15 s |

---

Catalog version 2026-11-11T12:59:09.901887+00:00. All models: https://varg.ai/models/llms.txt
