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

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

Performance

7.2sTypical run time
463.4KTotal runs

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: integerDefault: null
Random seed. Set for reproducible generation
sync Type: booleanDefault: true
Synchronous response mode
image Type: stringDefault: null
Image file
prompt Type: stringDefault: null
Text prompt for image generation
image_url Type: stringDefault: null
Image URL
canvas_size Type: arrayDefault: null
Desired output canvas dimensions [width, height]. Default [1000, 1000]. Max 5000x5000 pixels.
aspect_ratio Default: 1:1
Aspect ratio for expansion. Set to 'none' to use canvas mode, which requires canvas_size, original_image_size, and original_image_location. Otherwise, pick a predefined ratio like '1:1' or '16:9'.
preserve_alpha Type: booleanDefault: true
Preserve alpha channel in output. When true, maintains original transparency. When false, output is fully opaque.
negative_prompt Type: stringDefault: null
Negative prompt for image generation
content_moderation Type: booleanDefault: false
Enable content moderation
original_image_size Type: arrayDefault: null
Size of original image in canvas [width, height]
original_image_location Type: arrayDefault: null
Position of original image in canvas [x, y]
Output Schema

Output

Type: string • Format: uri

Example Execution Logs
Downloading 1911939 bytes
Downloaded 1.82MB in 0.09sec
Version Details
Version ID
e153045f0c4163bd76788ab927faef5123db349294d4695dac07af828786e5b9
Version Created
September 23, 2026
Run on Replicate →