ComfyUI Node
Smart Grid Cutter ✂️
Splits a grid image into individual frames by detecting divider lines. Works with any grid layout.
Smart Grid Cutter ✂️
- image
- frame_0
- frame_1
- frame_2
- frame_3
- frame_4
- frame_5
- frame_6
- frame_7
- frame_8
- cols
- rows
- total_frames
- grid_info
◄mode▾►
◄custom_cols3►
◄custom_rows3►
◄divider_threshold0.15►
◄min_divider_width2►
◄padding2►
◄align_to16►
Categoryimage/transform
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mode | COMBO | 6 options: auto, 3x3, 4x2, 3x2, 2x2, custom | |
| custom_colsopt | INT | 31–10 | — |
| custom_rowsopt | INT | 31–10 | — |
| divider_thresholdopt | FLOAT | 0.150.01–0.5 | Brightness difference threshold for detecting divider lines. Lower = more sensitive. |
| min_divider_widthopt | INT | 21–20 | Minimum width in pixels for a line to be considered a divider. |
| paddingopt | INT | 20–20 | Pixels to trim from each cell edge after cutting. |
| align_toopt | INT | 161–64 | Align cell dimensions to this value (16 for video compatibility). |
Outputs (13)
| Name | Type | Description |
|---|---|---|
| frame_0 | IMAGE | — |
| frame_1 | IMAGE | — |
| frame_2 | IMAGE | — |
| frame_3 | IMAGE | — |
| frame_4 | IMAGE | — |
| frame_5 | IMAGE | — |
| frame_6 | IMAGE | — |
| frame_7 | IMAGE | — |
| frame_8 | IMAGE | — |
| cols | INT | — |
| rows | INT | — |
| total_frames | INT | — |
| grid_info | STRING | — |