Nodes/ComfyUI-nhknodes/πŸ”² Load 2x2 Grid Series (nhk)
ComfyUI Node

πŸ”² Load 2x2 Grid Series (nhk)

A ComfyUI node in nhk/image with 8 inputs and 6 outputs.

By EnashkaΒ·Created 11 months agoΒ·Updated about a month agoΒ· 22
πŸ”² Load 2x2 Grid Series (nhk)
    • image
    • filename
    • current_index
    • total_images
    • grid_position
    • position_name
    β—„modeβ–Ύβ–Ί
    β—„pathβ–Ί
    β—„pattern*β–Ί
    β—„index0β–Ί
    β—„seed0β–Ί
    β—„labelGrid2x2_001β–Ί
    β—„resetfalseβ–Ί
    β—„separator_width0β–Ί
    Categorynhk/image

    Inputs (8)

    NameTypeDefaultDescription
    modeCOMBOsingle_image: load by index (use with control_after_generate=increment for sequences), random: load random grid cell by seed
    pathSTRINGDirectory path containing grid images to load
    patternSTRING*Glob pattern to filter files (e.g., '*.png', 'img_*.jpg', '**/*.png' for recursive)
    indexINT0Starting index for single_image mode (auto-increments with control_after_generate)
    seedINT0Seed for random mode (same seed = same random grid cell)
    labelSTRINGGrid2x2_001Unique identifier for tracking this sequence independently from others
    resetBOOLEANfalseReset counter back to index 0
    separator_widthINT00–100Width of separator lines between grid cells (in pixels). Excludes this many pixels from center cross.

    Outputs (6)

    NameTypeDescription
    imageIMAGEβ€”
    filenameSTRINGβ€”
    current_indexINTβ€”
    total_imagesINTβ€”
    grid_positionINTβ€”
    position_nameSTRINGβ€”