ComfyUI > Nodes > SDVN Comfy node > 🏞️ Load Image Folder

ComfyUI Node: 🏞️ Load Image Folder

Class Name

SDVN Load Image Folder

Category
📂 SDVN
Author
Stable Diffusion VN (Account age: 281days)
Extension
SDVN Comfy node
Latest Updated
2025-04-27
Github Stars
0.04K

How to Install SDVN Comfy node

Install this extension via the ComfyUI Manager by searching for SDVN Comfy node
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SDVN Comfy node 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

🏞️ Load Image Folder Description

Facilitates efficient loading and selection of images for AI art projects, enhancing creative workflow and output variety.

🏞️ Load Image Folder:

The SDVN Load Image Folder node is designed to facilitate the loading of images from a specified folder, providing a streamlined method for accessing and utilizing image data within your AI art projects. This node is particularly beneficial for users who need to handle multiple images efficiently, as it allows for the selection of images based on specific criteria such as randomization and seed-based indexing. By leveraging this node, you can easily manage and manipulate image datasets, enhancing your creative workflow and enabling more dynamic and varied outputs in your AI-generated art.

🏞️ Load Image Folder Input Parameters:

folder_path

This parameter specifies the directory path from which images will be loaded. It is a string input that allows you to define the exact location of your image folder. The default value is an empty string, indicating that no folder is selected initially. This parameter is crucial as it determines the source of the images to be processed by the node.

number

This integer parameter defines the number of images to load from the specified folder. The default value is 1, but you can set it to -1 to load all images available in the folder. This parameter allows you to control the volume of data being processed, which can be useful for managing memory usage and processing time.

random

A boolean parameter that determines whether the images should be selected randomly from the folder. The default value is True, meaning that images will be chosen at random, which can introduce variability and unpredictability into your image processing tasks. Setting this to False will load images in a sequential order.

seed

This integer parameter is used to set the random seed for image selection, ensuring reproducibility in the randomization process. The default value is 0, and it can be set to any integer up to 0xffffffffffffffff. By adjusting the seed, you can achieve consistent results across different runs, which is particularly useful for debugging or when you need to replicate specific outcomes.

🏞️ Load Image Folder Output Parameters:

image

This output parameter provides the loaded images in a format ready for further processing or analysis. The images are returned as a list, allowing you to handle multiple images simultaneously. This output is essential for any subsequent image manipulation or AI processing tasks you wish to perform.

img_path

The img_path output parameter returns the file paths of the loaded images as a list of strings. This information is useful for tracking the source of each image and for any operations that require knowledge of the image's original location, such as saving processed images back to their source directory.

🏞️ Load Image Folder Usage Tips:

  • To ensure consistent results when using random image selection, set a specific seed value. This will allow you to reproduce the same set of images across different sessions.
  • If you need to process all images in a folder, set the number parameter to -1. This is particularly useful for batch processing tasks where you want to apply the same operation to an entire dataset.
  • Use the random parameter to introduce variability in your image selection, which can be beneficial for training AI models that require diverse input data.

🏞️ Load Image Folder Common Errors and Solutions:

Invalid image file: <image_name>

  • Explanation: This error occurs when the specified image file does not exist in the provided folder path or is not accessible.
  • Solution: Ensure that the image file name is correct and that the file exists in the specified directory. Check for any typos in the file name and verify the folder path.

No images found in the specified folder

  • Explanation: This error indicates that the folder path provided does not contain any valid image files.
  • Solution: Verify that the folder path is correct and that it contains image files with supported formats such as JPEG, PNG, or BMP. Ensure that the folder is not empty and that the images are not located in subdirectories unless those are also included in the path.

🏞️ Load Image Folder Related Nodes

Go back to the extension to check out more related nodes.
SDVN Comfy node
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 Playground, enabling artists to harness the latest AI tools to create incredible art.