ComfyUI Node
Batch Load Image
Hands out one image per queue run and remembers how far it got, so a folder can be worked through across many runs.
Batch Load Image
- image
- mask
- source_path
- pass_dir
- fail_dir
- filename
- index
- total
- progress
◄directory►
◄pass_subdirkeep►
◄fail_subdirreject►
◄on_finishstop►
◄sort_byname►
◄include_subdirsfalse►
◄create_dirstrue►
◄trackerdefault►
CategoryFVM Tools/Batch
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | Folder to walk through. One image per queue run. | |
| pass_subdir | STRING | keep | Subfolder of the source directory for pictures that pass. Handed downstream as an absolute path. |
| fail_subdir | STRING | reject | Subfolder for pictures that fail. |
| on_finish | COMBO | stop | stop: end the run once every image has been handed out. loop: forget the progress and start over. |
| sort_by | COMBO | name | 2 options: name, modified |
| include_subdirs | BOOLEAN | false | Walk subfolders too. The pass/reject folders and any other dot-folders are always skipped. |
| create_dirs | BOOLEAN | true | Create the pass/reject subfolders if missing. |
| tracker | STRING | default | Name of this run's progress marker. Use different names to walk one folder several times independently. |
Outputs (9)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| source_path | STRING | — |
| pass_dir | STRING | — |
| fail_dir | STRING | — |
| filename | STRING | — |
| index | INT | — |
| total | INT | — |
| progress | STRING | — |