ComfyUI Node
H3 Track Subject Mask
Track the performer with SAM3 and dilate safely, reusing cached masks beside the source video when available.
H3 Track Subject Mask
- images
- sam_model
- sam_clip
- raw_mask
- expanded_mask
◄subjectperson►
◄expansion_px32►
◄detect_threshold0.35►
◄track_threshold0.50►
◄source_file►
◄first0►
◄total_frames0►
CategoryMinimaxH3
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| sam_modelopt | MODEL | — | |
| sam_clipopt | CLIP | — | |
| subjectopt | STRING | person | — |
| expansion_pxopt | INT | 320–256 | — |
| detect_thresholdopt | FLOAT | 0.350.05–0.95 | — |
| track_thresholdopt | FLOAT | 0.500.05–0.95 | — |
| source_fileopt | STRING | — | |
| firstopt | INT | 00–100000 | — |
| total_framesopt | INT | 00–100000 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| raw_mask | MASK | — |
| expanded_mask | MASK | — |