ComfyUI Node
Load Image From Folder (Batch)
Loads one image at a time from a folder. In sequential mode the index auto-advances each execution. Enable skip_captioned to resume an interrupted batch — already-captioned images are skipped with zero GPU cost.
Load Image From Folder (Batch)
- IMAGE
- folder_path
- filename_stem
- filename_full
- current_index
- total_images
◄folder_path►
◄modesequential►
◄index0►
◄sort_byalphabetical►
◄reset_counterfalse►
◄skip_captionedfalse►
Category📂 BatchFolder
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Absolute path to image folder. Supports /mnt/ WSL paths, Linux, macOS, Windows, and network shares. | |
| mode | COMBO | sequential | sequential: auto-advances each execution. manual: uses the index widget. |
| index | INT | 00–9999999 | Image index (0-based). Only used in manual mode. |
| sort_by | COMBO | alphabetical | How to sort the files before indexing. |
| reset_counter | BOOLEAN | false | Reset the sequential counter back to 0. |
| skip_captioned | BOOLEAN | false | Skip images that already have a caption file. Checks for .txt/.caption/.cap next to the image. Use this to resume an interrupted batch. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| folder_path | STRING | — |
| filename_stem | STRING | — |
| filename_full | STRING | — |
| current_index | INT | — |
| total_images | INT | — |