ComfyUI Node
Koolook Matte — Sampler
A ComfyUI node in Koolook Matte with 13 inputs and 1 output.
Koolook Matte — Sampler
- pipeline
- images
- masks
- MASK
◄seed42►
◄max_resolution1024►
◄fps7►
◄motion_bucket_id127►
◄noise_aug_strength0.00►
◄window_size16►
◄window_overlap2►
◄crop_to_masktrue►
◄crop_padding16►
◄resize_modeshortest_side►
CategoryKoolook Matte
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| pipeline | KOOLOOK_MATTE_PIPELINE | — | |
| images | IMAGE | — | |
| masks | MASK | — | |
| seed | INT | 420–18446744073709550000 | — |
| max_resolution | INT | 1024256–2048 | — |
| fps | INT | 71–60 | — |
| motion_bucket_id | INT | 1271–255 | — |
| noise_aug_strength | FLOAT | 0.000–1 | — |
| window_size | INT | 160–128 | Frames sent through the UNet per pass. Lower = far less VRAM, so you can raise max_resolution (e.g. 1440) on 24GB. 0 = process the whole clip in one pass (legacy behaviour). |
| window_overlap | INT | 20–32 | Frames re-processed and blended at each window boundary for temporal continuity. 0 disables overlap feedback/blending. Must be < window_size. |
| crop_to_mask | BOOLEAN | true | Process only the union bounding box of the masks (Sammie-style ROI). Far fewer pixels through the UNet => much faster and lets max_resolution apply to just the subject. The output matte is pasted back into the full frame (zero alpha outside). |
| crop_padding | INT | 160–512 | Pixels of margin added around the mask bounding box before cropping, so soft edges/motion aren't clipped. |
| resize_mode | COMBO | shortest_side | shortest_side = desktop/Sammie parity: cap the shorter side at max_resolution, never upscale, keep the long axis at full detail (sharpest matte, more VRAM). longest_axis = force the longer side to max_resolution (lower VRAM, softer edges). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MASK | MASK | — |