ReplicateImageComing soon

bria/product-shadow

bria/product-shadow 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
image requiredURL or file—

Product image to add shadow effects to

force_rmbgtrue or falsefalse

Force background removal even if image has alpha channel

shadow_blurnumber (whole)—

Controls the blur level of the shadow's edges

shadow_typeJSONregular

Type of shadow to apply: regular or float

shadow_colortext#000000

Shadow color hex code

shadow_widthnumber (whole)—

Controls the width of the elliptical shadow in pixels (for floating shadows)

shadow_heightnumber (whole)70

Controls the height of the elliptical shadow in pixels (for floating shadows)

preserve_alphatrue or falsetrue

Preserve alpha channel in output

shadow_offset_xnumber (whole)0

Horizontal shadow offset in pixels

shadow_offset_ynumber (whole)15

Vertical shadow offset in pixels

background_colortext#FFFFFF

The background hex color code (e.g., #FFFFFF) or 'transparent'

shadow_intensitynumber (whole)60

Adjusts the intensity of the shadow (0-100)

content_moderationtrue or falsefalse

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>"
    }
  }'