ComfyUI Node
SAM3 Text Prompt to Seed Mask
Uses the SAM3 detector to find a text-described subject on one frame. Returns a white-foreground seed mask for SAM2Matting Video, a checkerboard preview, the highest detection score, and the matching frame index. The loaded model variant must be sam3.
SAM3 Text Prompt to Seed Mask
- model
- images
- seed_mask
- preview
- top_score
- mask_frame
◄text_promptperson►
◄frame_index0►
◄confidence_threshold0.50►
◄selectionhighest_score►
CategorySAM2Matting/video
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| model | SAM2MATTING_VIDEO_MODEL | — | |
| images | IMAGE | — | |
| text_prompt | STRING | person | — |
| frame_index | INT | 00–2147483647 | — |
| confidence_threshold | FLOAT | 0.500–1 | — |
| selection | COMBO | highest_score | 2 options: highest_score, combine_all |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| seed_mask | MASK | — |
| preview | IMAGE | — |
| top_score | FLOAT | — |
| mask_frame | INT | — |