Nodes/AUN ComfyUI Nodes/Load Image Single/Batch
ComfyUI Node

Load Image Single/Batch

Load a single uploaded image or cycle through a batch of images from a folder with multiple selection modes, including range and search filtering by filename patterns.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Load Image Single/Batch
    • image
    • filename
    • cleaned filename
    source_modeBatch from Folder
    path_modePre-defined
    predefined_path
    manual_pathC:/path/to/your/images
    batch_modeincrement
    range_or_pattern0
    image_upload
    max_num_words0
    CategoryAUN Nodes/Image

    Inputs (8)

    NameTypeDefaultDescription
    source_modeCOMBOBatch from FolderChoose to load a single uploaded image or one image from a folder.
    path_modeCOMBOPre-definedSelect path source: Pre-defined list or manual input.
    predefined_pathCOMBOSelect a folder from the pre-defined list. Customize via predefined_paths.local.json (recommended) or copy predefined_paths.example.json.
    manual_pathSTRINGC:/path/to/your/imagesEnter the absolute path to the image folder.
    batch_modeCOMBOincrementHow to select the next image from the folder. Use 'search' mode to filter files by pattern using the range_or_pattern field.
    range_or_patternSTRING0Multi-purpose field: • For fixed/range modes: Comma-separated indices or ranges (e.g., 2,3,4-7,10) • For search mode: Search pattern supporting wildcards (*,?,[]), regex, or simple text (e.g., 'portrait*', 'img_[0-9]+', '.*face.*')
    image_uploadCOMBOWhen source_mode is 'Single Image Upload', choose the file from the ComfyUI input directory.
    max_num_wordsINT00–32Maximum number of words to keep for both filename outputs. Set to 0 for no limit.

    Outputs (3)

    NameTypeDescription
    imageIMAGE
    filenameSTRING
    cleaned filenameSTRING