ReplicateImage to imageComing soon
bria/product-shadow
bria/product-shadow 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 |
|---|---|---|---|
image required | URL or file | — | Product image to add shadow effects to |
force_rmbg | true or false | false | Force background removal even if image has alpha channel |
shadow_blur | number (whole) | — | Controls the blur level of the shadow's edges |
shadow_type | JSON | regular | Type of shadow to apply: regular or float |
shadow_color | text | #000000 | Shadow color hex code |
shadow_width | number (whole) | — | Controls the width of the elliptical shadow in pixels (for floating shadows) |
shadow_height | number (whole) | 70 | Controls the height of the elliptical shadow in pixels (for floating shadows) |
preserve_alpha | true or false | true | Preserve alpha channel in output |
shadow_offset_x | number (whole) | 0 | Horizontal shadow offset in pixels |
shadow_offset_y | number (whole) | 15 | Vertical shadow offset in pixels |
background_color | text | #FFFFFF | The background hex color code (e.g., #FFFFFF) or 'transparent' |
shadow_intensity | number (whole) | 60 | Adjusts the intensity of the shadow (0-100) |
content_moderation | true or false | false | Enable content moderation |
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/product-shadow",
"input": {
"image": "<image>"
}
}'