Nodes/ComfyUI-mnemic-nodes/πŸ“‚ Load File From Path
ComfyUI Node

πŸ“‚ Load File From Path

Loads a file and its matching files from a folder by seed, such as an image and its caption, each as the type you choose.

By MNeMoNiCuZΒ·Created 3 years agoΒ·Updated a day agoΒ· 108
πŸ“‚ Load File From Path
    • name
    • current_index
    • total_count
    • output1
    • output2
    • output3
    • output4
    • output5
    • output6
    • output7
    • output8
    • output9
    • output10
    • output11
    • output12
    • output13
    • output14
    • output15
    • output16
    β—„include_subfoldersfalseβ–Ί
    β—„seed0β–Ί
    β—„input_pathβ–Ί
    β—„files[{"extension": "png", "type": "image"}, {"extension": "txt", "type": "text"}]β–Ί
    Category⚑ MNeMiC Nodes

    Inputs (4)

    NameTypeDefaultDescription
    include_subfoldersBOOLEANfalseInclude files from all subfolders of the selected folder.
    seedINT00–18446744073709550000Index of the file name to load, starting at 0 and wrapping at the count. Increments every run by default.
    input_pathSTRINGFolder to load from, or one file to load it and its matching files. Relative paths start at ComfyUI's input folder.
    filesoptSTRING[{"extension": "png", "type": "image"}, {"extension": "txt", "type": "text"}]The file outputs: an extension and a type per output.

    Outputs (19)

    NameTypeDescription
    nameSTRINGThe shared file name, without folder or extension.
    current_indexINTIndex actually loaded: the seed wrapped around the count.
    total_countINTHow many files the first output found. The seed wraps at this count.
    output1*The file for this output, loaded as its chosen type.
    output2*The file for this output, loaded as its chosen type.
    output3*The file for this output, loaded as its chosen type.
    output4*The file for this output, loaded as its chosen type.
    output5*The file for this output, loaded as its chosen type.
    output6*The file for this output, loaded as its chosen type.
    output7*The file for this output, loaded as its chosen type.
    output8*The file for this output, loaded as its chosen type.
    output9*The file for this output, loaded as its chosen type.
    output10*The file for this output, loaded as its chosen type.
    output11*The file for this output, loaded as its chosen type.
    output12*The file for this output, loaded as its chosen type.
    output13*The file for this output, loaded as its chosen type.
    output14*The file for this output, loaded as its chosen type.
    output15*The file for this output, loaded as its chosen type.
    output16*The file for this output, loaded as its chosen type.