ComfyUI Node

BobsLatentNode

A ComfyUI node in latent/generate with 5 inputs and 4 outputs.

By BobsBlazed·Created 2 years ago·Updated 11 months ago· 54
BobsLatentNode
    • latent
    • tile_width
    • tile_height
    • upscale_by
    aspect_ratio1:1
    mp_size1
    upscale_by2.00
    model_typeFLUX
    batch_size1
    Categorylatent/generate

    Inputs (5)

    NameTypeDefaultDescription
    aspect_ratioSTRING1:1Target image aspect ratio (e.g., '1:1', '16:9', '3:2'). This determines the shape of the BASE latent image.
    mp_sizeCOMBO1Approximate target megapixel area for the BASE latent image. These options map to common standard resolution areas (e.g., 1 is 1024x1024 area, 4 is 2048x2048 area).
    upscale_byFLOAT2.001–10Desired upscale factor for the FINAL output image. Used to calculate tiling dimensions in pixel space. Does NOT upscale the generated latent.
    model_typeCOMBOFLUXSelect model to set resolution rounding rules and latent channels (FLUX=16, QWEN=round to 28, others=4 channels & round to 64).
    batch_sizeINT11–64Number of latent images in the batch.

    Outputs (4)

    NameTypeDescription
    latentLATENT
    tile_widthINT
    tile_heightINT
    upscale_byFLOAT