ComfyUI Node
Krea2 Spatial Composition 3x3 — Visual Editor
Composes a region-aware prompt from nine cell descriptions. Each non-empty cell becomes a sentence naming its position, its proportional area, its focal point, and the description. Optionally renders a layout-guide image showing the regions and focal markers. This is prompt-level guidance only: it does not create masks, per-region conditioning, or guaranteed object placement.
Krea2 Spatial Composition 3x3 — Visual Editor
- prompt
- layout_guide
◄base_prompt►
◄top_left►
◄top_center►
◄top_right►
◄middle_left►
◄center►
◄middle_right►
◄bottom_left►
◄bottom_center►
◄bottom_right►
◄layout_json{"x": [0.3333333333333333, 0.6666666666666666], "y": [0.3333333333333333, 0.6666666666666666], "anchors": [[0.16666666666666666, 0.16666666666666666], [0.5, 0.16666666666666666], [0.8333333333333334, 0.16666666666666666], [0.16666666666666666, 0.5], [0.5, 0.5], [0.8333333333333334, 0.5], [0.16666666666666666, 0.8333333333333334], [0.5, 0.8333333333333334], [0.8333333333333334, 0.8333333333333334]]}►
◄canvas_width1152►
◄canvas_height2048►
CategoryKrea2/Composition
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| base_prompt | STRING | Overall scene description. Prepended to the composed region prompt. | |
| top_left | STRING | — | |
| top_center | STRING | — | |
| top_right | STRING | — | |
| middle_left | STRING | — | |
| center | STRING | — | |
| middle_right | STRING | — | |
| bottom_left | STRING | — | |
| bottom_center | STRING | — | |
| bottom_right | STRING | — | |
| layout_json | STRING | {"x": [0.3333333333333333, 0.6666666666666666], "y": [0.3333333333333333, 0.6666666666666666], "anchors": [[0.16666666666666666, 0.16666666666666666], [0.5, 0.16666666666666666], [0.8333333333333334, 0.16666666666666666], [0.16666666666666666, 0.5], [0.5, 0.5], [0.8333333333333334, 0.5], [0.16666666666666666, 0.8333333333333334], [0.5, 0.8333333333333334], [0.8333333333333334, 0.8333333333333334]]} | Region geometry: {"x":[..2],"y":[..2],"anchors":[[x,y] x9]}. Written by the visual editor; edit by hand only if you know the format. |
| canvas_width | INT | 115264–4096 | — |
| canvas_height | INT | 204864–4096 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| layout_guide | IMAGE | — |