Nodes/Krea2 Spatial Composition 3x3/Krea2 Spatial Composition 3x3 — Visual Editor
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.

By un4ssociated·Created 21 days ago·Updated 19 days ago· 1
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)

    NameTypeDefaultDescription
    base_promptSTRINGOverall scene description. Prepended to the composed region prompt.
    top_leftSTRING—
    top_centerSTRING—
    top_rightSTRING—
    middle_leftSTRING—
    centerSTRING—
    middle_rightSTRING—
    bottom_leftSTRING—
    bottom_centerSTRING—
    bottom_rightSTRING—
    layout_jsonSTRING{"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_widthINT115264–4096—
    canvas_heightINT204864–4096—

    Outputs (2)

    NameTypeDescription
    promptSTRING—
    layout_guideIMAGE—