Nodes/h4_Live/h4 - Latent Selector
ComfyUI Node

h4 - Latent Selector

A ComfyUI node in h4_ToolKit/Latents with 5 inputs and 3 outputs.

By m3rr·Created 8 months ago·Updated 16 days ago· 1
h4 - Latent Selector
    • LATENT
    • WIDTH
    • HEIGHT
    base_modelSDXL
    aspect_ratio1:1 (Square)
    batch_size1
    custom_width1024
    custom_height1024
    Categoryh4_ToolKit/Latents

    Inputs (5)

    NameTypeDefaultDescription
    base_modelCOMBOSDXLWhich model architecture are you using? This determines the optimal pixel area. SD1.5 uses 512px base, SDXL uses 1024px, Wan uses 720p. Pick 'Start From Custom' to ignore presets and use your own width/height.
    aspect_ratioCOMBO1:1 (Square)The shape of your canvas. 1:1 = perfect square (great for avatars). 16:9 = widescreen cinema. 9:16 = phone wallpaper / story format. Pick 'Custom Dimensions' to manually set width and height below.
    batch_sizeINT11–64How many identical empty latents to generate in one batch. Set to 1 for single images. Crank it up if you have the VRAM and want to generate multiple variations in parallel.
    custom_widthoptINT102464–16384Manual width override (only used when 'Start From Custom' or 'Custom Dimensions' is selected). Values get snapped to the nearest multiple of 16 for hardware compatibility.
    custom_heightoptINT102464–16384Manual height override (only used when 'Start From Custom' or 'Custom Dimensions' is selected). Values get snapped to the nearest multiple of 16 for hardware compatibility.

    Outputs (3)

    NameTypeDescription
    LATENTLATENT
    WIDTHINT
    HEIGHTINT