Nodes/ComfyUI-LoadImagePath/Load Image Sequence From Path
ComfyUI Node

Load Image Sequence From Path

Loads every image in a folder as one batch, sorted by filename, from a typed or pasted path. Nothing is copied. Images must all be the same size; mismatches raise rather than being resized.

By dreevelle·Created 17 days ago·Updated 16 days ago· 0
Load Image Sequence From Path
    • IMAGE
    • MASK
    path
    start_index0
    count0
    select_every_nth1
    threads0
    Categoryimage

    Inputs (5)

    NameTypeDefaultDescription
    pathSTRINGPath to a folder of images, or to a single animated file. A folder loads every image inside it, sorted by filename, as one batch. Subfolders are not searched. A file loads all of its frames. Surrounding quotes, a file:// prefix and a leading ~ are accepted.
    start_indexINT00–9007199254740991Skip this many images from the start — or this many frames, if the path is a single animated file.
    countINT00–9007199254740991How many images to load. 0 = all of them. Applied after start_index and select_every_nth.
    select_every_nthINT11–9007199254740991Load only every Nth image. 1 = every one, 2 = every other, and so on. Applied after start_index.
    threadsINT00–64Decoder threads. 0 = auto (min(8, CPU count)). Decoding runs through PyAV, which releases the GIL, so this scales with cores.

    Outputs (2)

    NameTypeDescription
    IMAGEIMAGE
    MASKMASK