add_shadow
Cuts out the subject from an image and adds a drop shadow behind it on a transparent background.
Instructions
Cut out the subject and add a drop shadow behind it on a transparent background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset_x | No | Horizontal shadow offset in pixels. | |
| offset_y | No | Vertical shadow offset in pixels. | |
| image_path | Yes | Path to a local JPG, PNG, WEBP, BMP or GIF image (1 KB to 10 MB). | |
| blur_radius | No | Shadow softness in pixels. | |
| output_path | No | Where to save the result. Defaults to '<name>_<operation>.<ext>' next to the input image. | |
| shadow_color | No | Color as hex ('#FF8C00', '#FF8C0080') or RGB(A) ('255, 140, 0' or '255, 140, 0, 255'). | 0, 0, 0, 150 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |