Nodes/ComfyUI-IntoTheLatent-Utils/ITL Multi Image Loader Advanced
ComfyUI Node

ITL Multi Image Loader Advanced

Multi Image Loader plus a mask_N (inverted alpha, stock LoadImage behavior) and filename_N output per file.

By Into-The-Latent·Created 9 days ago·Updated 5 days ago· 1
ITL Multi Image Loader Advanced
    • count
    • image_1
    • mask_1
    • filename_1
    • image_2
    • mask_2
    • filename_2
    • image_3
    • mask_3
    • filename_3
    • image_4
    • mask_4
    • filename_4
    • image_5
    • mask_5
    • filename_5
    • image_6
    • mask_6
    • filename_6
    • image_7
    • mask_7
    • filename_7
    • image_8
    • mask_8
    • filename_8
    files_json[]
    downscale_modeoff
    max_size1200
    output_slotsauto
    CategoryInto The Latent/image

    Inputs (4)

    NameTypeDefaultDescription
    files_jsonSTRING[]Authoritative file list as JSON. Hidden in the UI and kept in sync by the front-end — drop files onto the node instead of editing this.
    downscale_modeCOMBOoffoff = images pass through untouched. keep aspect ratio = shrink keeping shape so the longest edge is max_size. crop to square = centered square, at most max_size. stretch to square = force a max_size square (ignores shape). Never upscales (keep aspect ratio/crop to square); masks follow their image.
    max_sizeINT12008–8192Size threshold/target in pixels for downscaling. Ignored while downscale_mode is off.
    output_slotsCOMBOautoHow many output sockets to show. 'auto' follows the number of loaded files, so sockets appear and disappear as you edit the list. Pick a fixed number to keep the sockets (and your wires) in place while you swap files around — extra sockets with no file behind them output nothing, so don't wire more than you load.

    Outputs (25)

    NameTypeDescription
    countINT
    image_1IMAGE
    mask_1MASK
    filename_1STRING
    image_2IMAGE
    mask_2MASK
    filename_2STRING
    image_3IMAGE
    mask_3MASK
    filename_3STRING
    image_4IMAGE
    mask_4MASK
    filename_4STRING
    image_5IMAGE
    mask_5MASK
    filename_5STRING
    image_6IMAGE
    mask_6MASK
    filename_6STRING
    image_7IMAGE
    mask_7MASK
    filename_7STRING
    image_8IMAGE
    mask_8MASK
    filename_8STRING