---
title: "Bria Expand Image API & Playground - Comfy"
description: "Bria Expand Image: Expands an image beyond its borders with generated content. Run it in your browser or call it via API. Typical cost: 6.03 credits per run."
canonical: https://comfy.org/hub/models/bria-expand-image/
lang: en
index: https://comfy.org/llms.txt
---

[Models](https://comfy.org/hub/models/)

Bria

[Edit images](https://comfy.org/hub/models/?useCase=edit-images)

# Bria Expand Image

Expands an image beyond its borders with generated content.

- Use via API
- [Open in Cloud](https://stagingcloud.comfy.org/)

6.03 credits /Run

- [outpaint](https://comfy.org/hub/models/?q=outpaint)
- [image-edit](https://comfy.org/hub/models/?q=image-edit)

## Playground

Input

Source image

Choose the image to expand.

-

Prompt

Aspect ratio

Advanced settings

Negative prompt

Keep transparency

Retain transparent areas from the input image.

Seed

Reuse a seed with the same inputs to make results more repeatable.

Output

![Bria Expand Image: Swans on the mudflat, widened to 16:9](https://media.comfy.org/website/workshop/bria/expand-image/swans-on-the-mudflat-widened-to-16-9.png)

Example

## Try an example

-

## Call this model from your code

Sends your Playground inputs to Comfy Router.

[API docs (opens in a new tab)](https://docs.comfy.org/development/comfy-router/models#bria)

1. ### Get an API key

  Needs a paid Cloud plan with credits.

  [Get an API key (opens in a new tab)](https://platform.comfy.org/profile/api-keys?onboarding=models&model=bria--expand-image--edit-images)
2. ### Install the SDK

  Python 3.10+. Also on npm as @comfyorg/sdk.

  pip install comfy-sdk==0.2.0
3. ### Run it

  Calls Comfy Router at this endpoint with your COMFY_API_KEY.

  POST /v2/models/bria/image-edit-expand

Fill in the Playground inputs to generate a request.

## More from Bria

Compare Bria's other models. Price is the default setting; resolution and duration show the full range each model offers.

| Model | Price | Resolution | Duration |
| --- | --- | --- | --- |
| [Bria FIBO Image Edit](https://comfy.org/hub/models/bria-fibo-image-edit/) | 8.44 credits /Run | — | — |
| [Bria Eraser](https://comfy.org/hub/models/bria-eraser/) | 6.03 credits /Run | — | — |
| [Bria Generative Fill](https://comfy.org/hub/models/bria-generative-fill/) | 9.05 credits /Run | — | — |
| [Bria Green Screen Video](https://comfy.org/hub/models/bria-green-screen-video/) | — | — | — |
| [Bria Increase Resolution](https://comfy.org/hub/models/bria-increase-resolution/) | 6.03 credits /Run | — | — |
| [Bria Replace Video Background](https://comfy.org/hub/models/bria-replace-video-background/) | — | — | — |
| [Bria RMBG 2.0](https://comfy.org/hub/models/bria-rmbg-2-0/) | 3.8 credits /Run | — | — |
| [Bria Remove Video Background](https://comfy.org/hub/models/bria-remove-video-background/) | — | — | — |
