You're looking at a specific version of this model. Jump to the model overview.
bria /product-shadow:ffed8143
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Product image to add shadow effects to
|
|
| shadow_type |
None
|
regular
|
Type of shadow to apply: regular or float
|
| background_color |
string
|
#FFFFFF
|
The background hex color code (e.g., #FFFFFF) or 'transparent'
|
| shadow_color |
string
|
#000000
|
Shadow color hex code
|
| shadow_offset_x |
integer
|
0
|
Horizontal shadow offset in pixels
|
| shadow_offset_y |
integer
|
15
|
Vertical shadow offset in pixels
|
| shadow_intensity |
integer
|
60
|
Adjusts the intensity of the shadow (0-100)
|
| shadow_blur |
integer
|
Controls the blur level of the shadow's edges
|
|
| shadow_width |
integer
|
Controls the width of the elliptical shadow in pixels (for floating shadows)
|
|
| shadow_height |
integer
|
70
|
Controls the height of the elliptical shadow in pixels (for floating shadows)
|
| force_rmbg |
boolean
|
False
|
Force background removal even if image has alpha channel
|
| preserve_alpha |
boolean
|
True
|
Preserve alpha channel in output
|
| content_moderation |
boolean
|
False
|
Enable content moderation
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}