bria/expand-image 🔢✓🖼️📝❓ → 🖼️

⭐ Official ▶️ 352.8K runs 📅 Jul 2025 ⚙️ Cog 0.16.11 ⚖️ License
image-editing image-outpainting image-to-image

About

Bria Expand expands images beyond their borders in high quality. Resizing the image by generating new pixels to expand to the desired aspect ratio. Trained exclusively on licensed data for safe and risk-free commercial use

Example Output

Output

Example output

Performance Metrics

7.15s Prediction Time
7.38s Total Time
All Input Parameters
{
  "sync": true,
  "image": "https://replicate.delivery/pbxt/NIJ0ExiXIeJ1ExHAcgKXkRtiRdeCYPUhqj5UT3HW7kp23VsX/tmp_gj9mq_5.png",
  "aspect_ratio": "16:9",
  "preserve_alpha": true,
  "content_moderation": false
}
Input Parameters
seed Type: integer
Random seed. Set for reproducible generation
sync Type: booleanDefault: true
Synchronous response mode
image Type: string
Image file
prompt Type: string
Text prompt for image generation
image_url Type: string
Image URL
canvas_size Type: array
Desired output canvas dimensions [width, height]. Default [1000, 1000]. Max 5000x5000 pixels.
aspect_ratio Default: 1:1
Aspect ratio for expansion. Either aspect_ratio or canvas_size with original_image_size/location must be provided. Can be a predefined string like '1:1', '16:9' etc. or a custom float between 0.5 and 3.0
preserve_alpha Type: booleanDefault: true
Preserve alpha channel in output. When true, maintains original transparency. When false, output is fully opaque.
negative_prompt Type: string
Negative prompt for image generation
content_moderation Type: booleanDefault: false
Enable content moderation
original_image_size Type: array
Size of original image in canvas [width, height]
original_image_location Type: array
Position of original image in canvas [x, y]
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Downloading 1911939 bytes
Downloaded 1.82MB in 0.09sec
Version Details
Version ID
0d8d951a482d1f94125a7adbde188d7aa280a13fe0a444b9e786fce905e2af9a
Version Created
February 18, 2026
Run on Replicate →