Nodes/Bobs_Latent_Optimizer/BobsLatentNodeAdvanced
ComfyUI Node

BobsLatentNodeAdvanced

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

By BobsBlazed·Created 2 years ago·Updated 11 months ago· 54
BobsLatentNodeAdvanced
    • latent
    • tile_width
    • tile_height
    • upscale_by
    aspect_ratio1:1
    mp_size_float1.00
    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_size_floatFLOAT1.000.01–4Target megapixel area (in millions of pixels, based on 1 MP = 1048576 pixels) for the BASE latent image. Range 0.01 to 4.0 (4.0 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