ComfyUI Node
SAM3 Prompt To Mask
A ComfyUI node in Info-Prompt-Toolkit/Mask with 5 inputs and 4 outputs.
SAM3 Prompt To Mask
- image
- mask
- match_count
- scores_json
- boxes_json
◄promptperson►
◄score_threshold0.15►
◄combine_modeunion►
◄deviceauto►
CategoryInfo-Prompt-Toolkit/Mask
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image batch processed with the same SAM3 text prompt | |
| prompt | STRING | person | Text prompt used to select target objects. Comma-separated prompts are treated as OR |
| score_threshold | FLOAT | 0.150–1 | Detections below this score are discarded when scores are available |
| combine_mode | COMBO | union | union merges all matched masks. top1 keeps only the top-scoring one for each comma-separated prompt |
| device | COMBO | auto | Execution device for the SAM3 runtime |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| mask | MASK | — |
| match_count | INT | — |
| scores_json | STRING | — |
| boxes_json | STRING | — |