sam2_segment_image
Generate a PNG mask for a single image by providing point coordinates and labels. Use this tool to isolate objects or regions for compositing or replacement tasks.
Instructions
SAM2: PNG mask for a single image, via the video predictor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | ||
| input | Yes | ||
| labels | No | ||
| output | Yes | ||
| points | Yes | ||
| erosion | No |