photoshop_smart_remove_distractions
Removes unwanted people or background distractions using Content-Aware Fill with edge feathering and context expansion on a non-destructive Retouch layer.
Instructions
Smartly removes unwanted people or background distractions. Combines context expansion + edge feathering + Content-Aware Fill on a non-destructive Retouch layer.
Args:
regions: List of [left, top, right, bottom] bounding boxes in pixels.
feather_px: Feather edge softness in pixels (default 2.5).
expand_px: Context expansion in pixels to eliminate halo artifacts (default 6).
create_backup_layer: If True, preserves the original layer and performs retouching on a duplicated layer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regions | Yes | ||
| expand_px | No | ||
| feather_px | No | ||
| create_backup_layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||