← Back to all generators
bria/product-shadow
OfficialView on Replicate →
Add consistent, customizable shadows to product cutouts for enhanced visual appeal
Capabilities
Reference Images
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
image* | string(uri) | Product image to add shadow effects to | — | — |
background_color | string | The background hex color code (e.g., #FFFFFF) or 'transparent' | "#FFFFFF" | — |
content_moderation | boolean | Enable content moderation | false | — |
force_rmbg | boolean | Force background removal even if image has alpha channel | false | — |
preserve_alpha | boolean | Preserve alpha channel in output | true | — |
shadow_blur | integer | Controls the blur level of the shadow's edges | — | — |
shadow_color | string | Shadow color hex code | "#000000" | — |
shadow_height | integer | Controls the height of the elliptical shadow in pixels (for floating shadows) | 70 | — |
shadow_intensity | integer | Adjusts the intensity of the shadow (0-100) | 60 | — |
shadow_offset_x | integer | Horizontal shadow offset in pixels | 0 | — |
shadow_offset_y | integer | Vertical shadow offset in pixels | 15 | — |
shadow_type | string | Type of shadow to apply: regular or float | "regular" | regularfloat |
shadow_width | integer | Controls the width of the elliptical shadow in pixels (for floating shadows) | — | — |
imagerequiredstringProduct image to add shadow effects to
background_colorstringThe background hex color code (e.g., #FFFFFF) or 'transparent'
Default:
"#FFFFFF"content_moderationbooleanEnable content moderation
Default:
falseforce_rmbgbooleanForce background removal even if image has alpha channel
Default:
falsepreserve_alphabooleanPreserve alpha channel in output
Default:
trueshadow_blurintegerControls the blur level of the shadow's edges
shadow_colorstringShadow color hex code
Default:
"#000000"shadow_heightintegerControls the height of the elliptical shadow in pixels (for floating shadows)
Default:
70shadow_intensityintegerAdjusts the intensity of the shadow (0-100)
Default:
60shadow_offset_xintegerHorizontal shadow offset in pixels
Default:
0shadow_offset_yintegerVertical shadow offset in pixels
Default:
15shadow_typestringType of shadow to apply: regular or float
Default:
"regular"regularfloat
shadow_widthintegerControls the width of the elliptical shadow in pixels (for floating shadows)
Version:
ffed8143e817Updated: 7/25/20263.9K runs
cinemasetfree.com