ReplicateImageComing soon

bria/expand-image

bria/expand-image is an image tool from Replicate that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Pricing

Coming soon

$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
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
seednumber (whole)null

Random seed. Set for reproducible generation

imageURL or filenull

Image file

prompttextnull

Text prompt for image generation

image_urltextnull

Image URL

canvas_sizelistnull

Desired output canvas dimensions [width, height]. Default [1000, 1000]. Max 5000x5000 pixels.

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

Preserve alpha channel in output. When true, maintains original transparency. When false, output is fully opaque.

negative_prompttextnull

Negative prompt for image generation

content_moderationtrue or falsefalse

Enable content moderation

original_image_sizelistnull

Size of original image in canvas [width, height]

original_image_locationlistnull

Position of original image in canvas [x, y]

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": "replicate",
    "model": "bria/expand-image",
    "input": {}
  }'