bria/product-shadow 🖼️✓🔢❓📝 → 🖼️

⭐ Official ▶️ 4.0K runs 📅 Sep 2025 ⚙️ Cog 0.16.7
ecommerce image-editing image-to-image product-photography

Performance

3.0sTypical run time
4.0KTotal runs

About

Add consistent, customizable shadows to product cutouts for enhanced visual appeal

Example Output

Output

Example output

Performance Metrics

3.05s Prediction Time
3.05s Total Time
All Input Parameters
{
  "image": "https://replicate.delivery/pbxt/NgXOiWJrUZYhj5NtqF4vB2d2jVnRZPuoHLjvpr5g7XeTrE7r/image.png",
  "force_rmbg": false,
  "shadow_type": "regular",
  "shadow_color": "#0080FF",
  "shadow_height": 70,
  "preserve_alpha": true,
  "shadow_offset_x": 0,
  "shadow_offset_y": 15,
  "background_color": "#FFFFFF",
  "shadow_intensity": 100,
  "content_moderation": false
}
Input Parameters
image (required) Type: string
Product image to add shadow effects to
force_rmbg Type: booleanDefault: false
Force background removal even if image has alpha channel
shadow_blur Type: integer
Controls the blur level of the shadow's edges
shadow_type Default: regular
Type of shadow to apply: regular or float
shadow_color Type: stringDefault: #000000
Shadow color hex code
shadow_width Type: integer
Controls the width of the elliptical shadow in pixels (for floating shadows)
shadow_height Type: integerDefault: 70
Controls the height of the elliptical shadow in pixels (for floating shadows)
preserve_alpha Type: booleanDefault: true
Preserve alpha channel in output
shadow_offset_x Type: integerDefault: 0
Horizontal shadow offset in pixels
shadow_offset_y Type: integerDefault: 15
Vertical shadow offset in pixels
background_color Type: stringDefault: #FFFFFF
The background hex color code (e.g., #FFFFFF) or 'transparent'
shadow_intensity Type: integerDefault: 60
Adjusts the intensity of the shadow (0-100)
content_moderation Type: booleanDefault: false
Enable content moderation
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Downloading 610299 bytes
Downloaded 0.58MB in 0.09sec
Version Details
Version ID
ffed8143e81736c5fb32ed63ba7362935d8228687fa3b5173eab2fbf86f54ee6
Version Created
September 11, 2025
Run on Replicate →