Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > XB_ToolBox > XB-BOX - Batch Folder Loader

ComfyUI Node: XB-BOX - Batch Folder Loader

Class Name

XB_BatchFolderLoader

Category
XB_ToolBox/Batch_Process
Author
WJLUOXIAO (Account age: 324days)
Extension
XB_ToolBox
Latest Updated
2026-05-19
Github Stars
0.04K

How to Install XB_ToolBox

Install this extension via the ComfyUI Manager by searching for XB_ToolBox
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter XB_ToolBox in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

XB-BOX - Batch Folder Loader Description

Specialized node for batch loading images from directory, streamlining AI art processing.

XB-BOX - Batch Folder Loader:

The XB_BatchFolderLoader is a specialized node designed to streamline the process of loading multiple images from a specified directory for batch processing. This node is particularly beneficial for AI artists who work with large datasets or need to process numerous images simultaneously. By automating the image loading process, it saves time and reduces the potential for manual errors. The node is capable of handling various image formats and ensures that all images are prepared for subsequent processing steps in your AI art pipeline. Its primary goal is to facilitate efficient batch processing by organizing and loading images in a structured manner, making it an essential tool for projects that require handling large volumes of visual data.

XB-BOX - Batch Folder Loader Input Parameters:

directory

The directory parameter specifies the path to the folder containing the images you wish to load. This parameter is crucial as it directs the node to the correct location where your image files are stored. The path should be a valid directory path on your system. There are no specific minimum or maximum values for this parameter, but it must be a valid path string. The default value is typically an empty string, requiring you to specify the path manually.

seed

The seed parameter is used to ensure reproducibility in the image loading process. By setting a specific seed value, you can guarantee that the images are loaded in the same order each time the node is executed. This is particularly useful for debugging or when you need consistent results across multiple runs. The seed value is an integer, and while there is no strict minimum or maximum, it should be a valid integer. The default value is often set to a random integer if not specified.

XB-BOX - Batch Folder Loader Output Parameters:

loaded_images

The loaded_images parameter represents the collection of images that have been successfully loaded from the specified directory. This output is crucial as it provides the subsequent nodes in your pipeline with the necessary image data for further processing. The images are typically returned as a list or array, depending on the implementation, and are ready for any transformations or analyses you wish to perform.

XB-BOX - Batch Folder Loader Usage Tips:

  • Ensure that the directory path is correctly specified and accessible by the node to avoid loading errors.
  • Use a consistent seed value if you need to reproduce the same image loading order across different sessions.
  • Organize your images in the directory to match the intended processing order, as this can affect the results if the seed is not used.

XB-BOX - Batch Folder Loader Common Errors and Solutions:

Directory not found

  • Explanation: This error occurs when the specified directory path does not exist or is incorrect.
  • Solution: Double-check the directory path for typos or errors and ensure that the path is accessible from your system.

Invalid seed value

  • Explanation: This error arises when the seed value provided is not a valid integer.
  • Solution: Ensure that the seed value is a valid integer. If unsure, use a default or random integer value.

No images loaded

  • Explanation: This error indicates that no images were found in the specified directory.
  • Solution: Verify that the directory contains image files and that they are in a supported format. Check for any file permission issues that might prevent access.

XB-BOX - Batch Folder Loader Related Nodes

Go back to the extension to check out more related nodes.
XB_ToolBox
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.