ComfyUI Node
Image Folder π
Pick a folder, tick the pictures you want, and run the workflow on each of them. All in one run does every picked picture with one press of Run. One per run loads one picture each run and steps to the next by itself, so one that fails only skips itself. It gives each picture's mask, its file name for saving the result under the same name, its number and how many there are. Folders are the ones inside ComfyUI's input or output folder.
Image Folder π
- image
- mask
- filename
- index
- count
βsourceinputβΊ
βfolderβΊ
βsubfoldersfalseβΊ
βsortnameβΊ
βpicturesβΊ
βrunall in one runβΊ
βposition1βΊ
βafter_runnextβΊ
βat_the_endstop the runβΊ
Categoryπ AusBoss/Image
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| source | COMBO | input | Which of ComfyUI's folders to look in: input (pictures you put there) or output (pictures you made). |
| folder | STRING | The folder inside it. Empty is the input or output folder itself. Browse lists the folders there. | |
| subfolders | BOOLEAN | false | Also take the pictures in the folders inside this one. |
| sort | COMBO | name | The order of the pictures: by name, or by when the file was last changed. |
| pictures | STRING | The picked pictures. Tick them on the node. Empty means every picture in the folder. | |
| run | COMBO | all in one run | All in one run: one press of Run does every picked picture. One per run: each run loads one picture and steps on, so a picture that fails only skips itself. |
| position | INT | 11β1000000 | With one per run: which of the picked pictures the next run loads, counted from 1. |
| after_run | COMBO | next | With one per run: next moves Picture on by one each time a run is queued, so queuing several runs walks the folder. Stay keeps loading the same picture. Random jumps to any of the picked ones. |
| at_the_end | COMBO | stop the run | With one per run, after the last picture: stop the run with a message, or start over at the first. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Each picked picture, one at a time. What comes after runs once for each. |
| mask | MASK | White where the picture is see-through. A picture with no see-through part gives the same empty mask core Load Image does. |
| filename | STRING | The picture's file name without its ending. Wire it to Save Image's filename and the result keeps the name. |
| index | INT | The picture's number among the picked ones, counted from 1. |
| count | INT | How many pictures are picked. |