ComfyUI  >  Nodes  >  ComfyUI-JDCN

ComfyUI Extension: ComfyUI-JDCN

Repo Name


daxcay (Account age: 93 days)
View all nodes (79)
Latest Updated
Github Stars

How to Install ComfyUI-JDCN

Install this extension via the ComfyUI Manager by searching for  ComfyUI-JDCN
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-JDCN 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI-JDCN Description

ComfyUI-JDCN offers custom nodes for efficient file and data management, including saving and importing latents, converting lists to strings, moving files, and batch loading images, enhancing ComfyUI's functionality.

ComfyUI-JDCN Introduction

ComfyUI-JDCN is an extension designed to enhance the functionality of ComfyUI by providing custom utility nodes specifically tailored for artists, designers, and animators. These nodes offer a variety of tools to manage files, save and load latents, and perform other useful tasks efficiently. The extension aims to simplify workflows and improve productivity by automating repetitive tasks and providing easy access to file management features.

How ComfyUI-JDCN Works

ComfyUI-JDCN works by adding custom nodes to ComfyUI, each designed to perform specific tasks. These nodes interact with file paths and directories, allowing you to manage files without loading them into memory initially, which makes the process RAM efficient. For example, you can save and load latents, filter files by type, and move files between directories. By using these nodes, you can streamline your workflow and focus more on your creative process.

ComfyUI-JDCN Features


This node allows you to load paths of any files from a specified folder within ComfyUI.

  • folder_Path: Input the folder directory of the files you want to load (e.g., F:\Temp).
  • filter_by: Filter files by major categories such as images, audios, videos, texts, tensors, and folders.
  • extension: Filter files by their specific file extensions (e.g., jpg, mp3, mp4, txt).


This helper node allows you to sort and filter lists externally.

  • Search: Input keywords to search for, separated by commas (e.g., portrait,girl).
  • filter_by and extension: Same as in JDCN_AnyFileList.


This node selects elements from a list in a random, fixed, or incremental order.

  • Batch_Size: Set the number of files selected per queue.


This node is used to select a single element from a given input list.


This node loads images in any supported format from a list.


This node exports latents into a folder, saving VAE encoding time for later use.


This node loads latents directly from a specified directory.

  • Directory: Enter the folder location.
  • Load_Cap: Number of latents to load.
  • Skip_Frame: Skip the first n images.


This node loads latents from a list based on the specified index and batch size.

  • Index: Start index of the latents from the path list inputted.
  • BatchSize: Number of latents to load.
  • BatchDirection: Direction for selection of latents from the list.


This node moves files from one directory to another.


This node saves images into an output directory.

  • OpenOutputDirectory: When enabled, it will open the output folder.

JDCN_ListToString and JDCN_StringToList

These nodes convert a list to a single multiline text and vice versa.


This node rebatches a list of strings.

  • BatchSize: Number of elements for a single output packet.
  • TextList: False will give a comma-separated list, True will give a new line-separated list.


This node splits an input string or list of strings from a given search term and provides outputs for suffix, prefix, and found location.

  • SearchFor: Enter the character or word to search for in a string.
  • StartFrom: Begin searching the string from the front or rear.
  • Occurrence: Split the string from the nth occurrence of the search term.
  • IncludeSearchFor: Include the search term in the outputs.


This node saves string or text content into a file.

  • Directory: Input a folder location to save the text file.
  • Mode: How to handle files with the same name (Merge, OverWrite, SaveNew, MergeAndSaveNew).


This node moves rendered files to the output location, useful with a VHS video combine node.

  • OverwriteFile: It will overwrite the file if they have the same file name.

Troubleshooting ComfyUI-JDCN

Common Issues and Solutions

  1. Node Not Appearing in ComfyUI:
  • Ensure that the extension is installed correctly.
  • Restart ComfyUI after installation.
  1. File Not Found Errors:
  • Double-check the file paths entered in the nodes.
  • Ensure that the directory and file names are correct and accessible.
  1. RAM Usage Issues:
  • Since the nodes work with file paths, ensure that files are not being loaded into memory unnecessarily.

Frequently Asked Questions

  • How do I filter files by type? Use the filter_by and extension options in the JDCN_AnyFileList node to specify the file types you want to filter.

  • Can I save and load latents for later use? Yes, use the JDCN_BatchSaveLatent node to save latents and the JDCN_BatchLatentLoadFromDir node to load them.

Learn More about ComfyUI-JDCN

For more information, tutorials, and community support, you can visit the following resources:

  • These resources provide comprehensive documentation, examples, and community forums where you can ask questions and get support from other AI artists and developers.

ComfyUI-JDCN Related Nodes


© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.