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 usage

Pricing

$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

FieldKindDefaultDescription
image requiredURL or file—Product image to add shadow effects to
force_rmbgtrue or falsefalseForce background removal even if image has alpha channel
shadow_blurnumber (whole)—Controls the blur level of the shadow's edges
shadow_typeJSONregularType of shadow to apply: regular or float
shadow_colortext#000000Shadow color hex code
shadow_widthnumber (whole)—Controls the width of the elliptical shadow in pixels (for floating shadows)
shadow_heightnumber (whole)70Controls the height of the elliptical shadow in pixels (for floating shadows)
preserve_alphatrue or falsetruePreserve alpha channel in output
shadow_offset_xnumber (whole)0Horizontal shadow offset in pixels
shadow_offset_ynumber (whole)15Vertical shadow offset in pixels
background_colortext#FFFFFFThe background hex color code (e.g., #FFFFFF) or 'transparent'
shadow_intensitynumber (whole)60Adjusts the intensity of the shadow (0-100)
content_moderationtrue or falsefalseEnable 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>"
    }
  }'