blur_background
Blur an image background while keeping the subject sharp to create portrait-style bokeh, with adjustable blur strength and optional output path.
Instructions
Keep the subject sharp and blur the background (portrait-style bokeh).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | Blur strength, 1-50. | |
| image_path | Yes | Path to a local JPG, PNG, WEBP, BMP or GIF image (1 KB to 10 MB). | |
| output_path | No | Where to save the result. Defaults to '<name>_<operation>.<ext>' next to the input image. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |