ComfyUI > Nodes > ComfyUI-JDCN

ComfyUI Extension: ComfyUI-JDCN

Repo Name

ComfyUI-JDCN

Author
daxcay (Account age: 93 days)
Nodes
View all nodes(79)
Latest Updated
2024-08-02
Github Stars
0.07K

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

JDCN_AnyFileList

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).

JDCN_AnyFileListHelper

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.

JDCN_AnyFileListRandom

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

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

JDCN_AnyFileSelector

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

JDCN_BatchImageLoadFromList

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

JDCN_BatchSaveLatent

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

JDCN_BatchLatentLoadFromDir

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.

JDCN_BatchLatentLoadFromList

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.

JDCN_FileMover

This node moves files from one directory to another.

JDCN_ImageSaver

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.

JDCN_ReBatch

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.

JDCN_SplitString

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.

JDCN_TXTFileSaver

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).

JDCN_VHSFileMover

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:

ComfyUI-JDCN Related Nodes

RunComfy

© 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.