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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | Path to image folder | |
| index_mode | COMBO | increment | How to select the image index |
| index | INT | 00–18446744073709550000 | Manual index (used when mode is 'fixed' or as start point) |
| recursive | BOOLEAN | false | Scan subfolders |
| auto_queue | BOOLEAN | true | Automatically queue next batch if current run finishes but images remain. |
| path_filter | STRING | *.png, *.jpg, *.jpeg, *.webp | Glob patterns to include (comma separated) |
| path_exclude | STRING | *_raw*, *_preview*, *_pose*, *_depth*, *_line* | Glob patterns to exclude (comma separated). Crucial to prevent loops! |
| safety_path | STRING | REQUIRED: Your EXPORT path. Must be different from directory! |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| parent_path | STRING | — |
| relative_path | STRING | — |
| filename | STRING | — |
| current_index | INT | — |
| total_count | INT | — |