ReplicateImage to imageComing soon
bria/expand-image
bria/expand-image is an image to 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.
Priced by usagePricing
$0.052 per image.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
seed | number (whole) | null | Random seed. Set for reproducible generation |
image | URL or file | null | Image file |
prompt | text | null | Text prompt for image generation |
image_url | text | null | Image URL |
canvas_size | list | null | Desired output canvas dimensions [width, height]. Default [1000, 1000]. Max 5000x5000 pixels. |
aspect_ratio | JSON | 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 | true or false | true | Preserve alpha channel in output. When true, maintains original transparency. When false, output is fully opaque. |
negative_prompt | text | null | Negative prompt for image generation |
content_moderation | true or false | false | Enable content moderation |
original_image_size | list | null | Size of original image in canvas [width, height] |
original_image_location | list | null | 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": {}
}'