Nodes/shima_wf/Shima Batch Image Processor
ComfyUI Node

Shima Batch Image Processor

Iterates over a folder of images. NOTE: Set 'auto_queue' to True to process all images automatically without 100-run limit. The system will stop and raise an error when all images are finished.

By KDB-USJP·Created 5 months ago·Updated 5 months ago· 1
Shima Batch Image Processor
    • image
    • mask
    • parent_path
    • relative_path
    • filename
    • current_index
    • total_count
    directory
    index_modeincrement
    index0
    recursivefalse
    auto_queuetrue
    path_filter*.png, *.jpg, *.jpeg, *.webp
    path_exclude*_raw*, *_preview*, *_pose*, *_depth*, *_line*
    safety_path
    CategoryShima/Image

    Inputs (8)

    NameTypeDefaultDescription
    directorySTRINGPath to image folder
    index_modeCOMBOincrementHow to select the image index
    indexINT00–18446744073709550000Manual index (used when mode is 'fixed' or as start point)
    recursiveBOOLEANfalseScan subfolders
    auto_queueBOOLEANtrueAutomatically queue next batch if current run finishes but images remain.
    path_filterSTRING*.png, *.jpg, *.jpeg, *.webpGlob patterns to include (comma separated)
    path_excludeSTRING*_raw*, *_preview*, *_pose*, *_depth*, *_line*Glob patterns to exclude (comma separated). Crucial to prevent loops!
    safety_pathSTRINGREQUIRED: Your EXPORT path. Must be different from directory!

    Outputs (7)

    NameTypeDescription
    imageIMAGE
    maskMASK
    parent_pathSTRING
    relative_pathSTRING
    filenameSTRING
    current_indexINT
    total_countINT