Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline file management for AI artists by filtering, searching, and processing various file types efficiently.
The AD_AnyFileList
node is designed to streamline the process of managing and processing files within a specified directory. It is particularly useful for AI artists who need to handle large batches of image and text files efficiently. This node allows you to filter files by type and extension, perform deep searches within directories, and control the number of files processed at a time. By organizing files into lists and providing a merged text output, it simplifies the task of file management, making it easier to integrate various file types into your creative workflows. The node's ability to handle both images and text files makes it versatile for projects that require multimedia inputs.
This parameter specifies the directory path where the files are located. It is crucial as it determines the source from which files will be processed. The default value is an empty string, indicating no directory is set initially.
This integer parameter defines the maximum number of files to load and process. It helps manage resource usage by limiting the number of files handled at once. The default value is 100, with a minimum of 1 and a maximum of 1000.
This integer parameter allows you to skip a specified number of files at the beginning of the list. It is useful for batch processing when you want to start from a specific point in the file list. The default value is 0, with a minimum of 0 and a maximum of 100.
This parameter lets you filter files by type, with options including *
(all files), images
, and text
. It helps narrow down the files to be processed based on their content type, making it easier to focus on specific file types.
This string parameter allows you to specify a particular file extension to filter by, such as .jpg
or .txt
. It provides an additional layer of filtering to ensure only files with the desired extension are processed. The default value is *
, meaning all extensions are considered.
This boolean parameter determines whether the node should perform a deep search through subdirectories within the specified directory. Enabling this option allows for a comprehensive search, ensuring no files are missed. The default value is False
.
This integer parameter is used for randomization purposes, particularly when dealing with processes that require a random element. It ensures consistency in results when the same seed is used. The default value is 0, with a range from 0 to 0xffffffffffffffff.
This output returns the directory path that was processed, confirming the source of the files.
This output provides a list of images that were successfully loaded and processed. It is essential for workflows that involve image manipulation or analysis.
This output contains a list of text contents from the processed files, useful for text-based projects or data extraction tasks.
This output delivers a list of full file paths for the processed files, offering a clear reference to the file locations.
This output gives a list of file names without extensions, which can be useful for organizing or referencing files by name.
This output provides a list of file names with their extensions, offering a complete reference to the files processed.
This output indicates the total number of files processed, providing a quick summary of the node's activity.
This output compiles all text content from the processed files into a single string, which is beneficial for creating a unified text document or analysis.
Filter_By
and Extension
parameters to precisely target the files you need, reducing processing time and resource usage.Deep_Search
if your files are organized in subdirectories to ensure all relevant files are included in the processing.Load_Cap
and Skip_Frame
parameters to manage large datasets effectively, allowing for batch processing without overwhelming your system.<file_path>
': <error_message>
.jpg
, .png
, etc.<file_path>
': <error_message>
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.