The primary goal of these nodes is to provide a way to access files generated by ComfyUI workflows, local to the machine running ComfyUI. These nodes should always return an updated list of files when triggered.
- directory
- The directory in which you want search files
- limiter
- Regular Expression to 'limit' or filter the files selected
- sort
- Attribute by which to sort the selected files
- Name, Date Created, Date Modified, Size
- direction
- Accending or Decending sorting by
sort
attribute.
- Accending or Decending sorting by
- splice
- Use the Head or Tail of sorted files
- You will likely want to use Tail with Accending, or Head with Decending
- count
- The number of files to return
- If fewer than
count
files are found, we re-use existing files to fill the count - A count of 0 will return all files
- error
- No Error - Does not error if
count
is not met - Load Count - Error if
count
is not met
- No Error - Does not error if
- filenames (STRING)
- Newline delimited list of files selected
Provide list of Files form Directory
This is supposed to be a generic node which allows you to use the core functionality of LoadFiles, with uncommon or new scenarios.
Load Images from Directory
In addition to selecting files and returning the list of files, this will load up the images and provide an IMAGE and MASK output.
Note: Mask might not be working correctly at the moment
Attempts to check the number of lines in a STRING by detecting \n
or \r\n
.