ComfyUI Node
Layer Layout Composite (NH)
A ComfyUI node in NH-Nodes/Image with 17 inputs and 4 outputs.
Layer Layout Composite (NH)
- images
- background_image
- image
- slot_count
- used_count
- layout_info
◄canvas_width2480►
◄canvas_height3508►
◄background_color#FFFFFF►
◄layout_mode▾►
◄layout_preset▾►
◄resize_mode▾►
◄columns2►
◄rows3►
◄margin_x150►
◄margin_y150►
◄gap_x150►
◄gap_y150►
◄custom_units▾►
◄custom_layout0.06,0.04,0.39,0.20
0.55,0.04,0.39,0.20
0.06,0.28,0.39,0.20
0.55,0.28,0.39,0.20
0.06,0.58,0.39,0.36
0.55,0.58,0.39,0.36►
◄background_fit▾►
CategoryNH-Nodes/Image
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| canvas_width | INT | 24801–20000 | — |
| canvas_height | INT | 35081–20000 | — |
| background_color | STRING | #FFFFFF | — |
| layout_mode | COMBO | 3 options: preset, grid, custom | |
| layout_preset | COMBO | 8 options: 2x3, 2x3_mixed, 2_top_1_bottom, 1_full, 2_vertical, 2_horizontal, +2 | |
| resize_mode | COMBO | 3 options: cover, contain, stretch | |
| columns | INT | 21–20 | — |
| rows | INT | 31–20 | — |
| margin_x | INT | 1500–10000 | — |
| margin_y | INT | 1500–10000 | — |
| gap_x | INT | 1500–10000 | — |
| gap_y | INT | 1500–10000 | — |
| custom_units | COMBO | 4 options: auto, relative, percent, pixels | |
| custom_layout | STRING | 0.06,0.04,0.39,0.20 0.55,0.04,0.39,0.20 0.06,0.28,0.39,0.20 0.55,0.28,0.39,0.20 0.06,0.58,0.39,0.36 0.55,0.58,0.39,0.36 | — |
| background_fit | COMBO | 3 options: stretch, cover, contain | |
| background_imageopt | IMAGE | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| slot_count | INT | — |
| used_count | INT | — |
| layout_info | STRING | — |