Introduction to ComfyUI-N-Suite
ComfyUI-N-Suite is an innovative suite of custom nodes designed for ComfyUI, a creative framework that facilitates intuitive user interaction. This suite expands the capabilities of ComfyUI by providing integer, string, and float variable nodes, as well as GPT and video nodes. These tools are specifically crafted to enhance the range of features in ComfyUI, making the user experience more versatile and comprehensive.
Important Considerations
While these nodes have been extensively tested in the default Windows environment offered by ComfyUI and a specific Paperspace environment, compatibility with other environments has not been confirmed. This is an important note for users intending to implement the suite in different settings.
Installation Instructions
-
Begin by cloning the repository into ComfyUI's
custom_nodes
directory with the command:git clone https://github.com/Nuked88/ComfyUI-N-Nodes.git
-
Although the need for running dependency batch files for GPU-compatible GPT nodes has been eliminated, if you are utilizing the Moondream model via GPTLoaderSimple, make sure to execute 'install_extra.bat' to download required transformers.
-
After following these steps, ensure to restart ComfyUI to complete the setup.
If you run into compatibility issues with other nodes, you can reverse changes using the 'remove_extra.bat' script. This suite automatically loads all custom scripts and nodes upon startup.
Key Updates
Significant updates have been made to this suite, including a comprehensive rewrite of its nodes to prevent future conflicts with other extensions. Due to these updates, existing workflows using older nodes are incompatible. To address this, a migration tool is available to automatically update workflows.
For removing the suite, delete the ComfyUI-N-Nodes
and comfyui-n-nodes
folders from the respective directories, and remove n-styles.csv
files from the styles
directory.
Features
Video Nodes
LoadVideoAdvanced
This node allows for uploading a video file and extracting its frames into ComfyUI.
Inputs include:
- The video file
- Desired frame rate (original, half, or quarter speed)
- Frame resizing options
- Frame extraction limits
Outputs are:
- Extracted frames as PyTorch tensors
- Metadata like frame rate and frame number
SaveVideo
This node saves the extracted frames back into a video file. It offers options for saving the frames individually or as a compressed video.
LoadFramesFromFolder
Load frames from a specified folder, with options to adjust FPS, providing easy access to pre-extracted frames for further processing.
FrameInterpolator
This node enhances video playback by interpolating between frames for smoother motion.
Variable Nodes
These simple nodes overcome limitations in link connections in primitive nodes and provide integer, float, and string variable nodes.
GPTLoaderSimple and GPTSampler
These nodes bring text generative capabilities using GGUF GPT models into ComfyUI. Users can select from supported models like GGUF LLM, Llava, Moondream, and Joytag.
Image Pad For Outpainting Advanced
This node offers powerful outpainting techniques by extending and enhancing images.
Dynamic Prompt
Generates dynamic prompts by combining constants with randomly selected variable tags, creating versatile and customizable input prompts.
CLIP Text Encode Advanced (Experimental)
This experimental node allows encoding positive and negative prompts in one single node, supporting advanced style management.
Troubleshooting
There has been a conflict between the SaveVideo node and AnimateDiff, resolved in an updated version available on GitHub.
Contribution and License
The project welcomes contributions through issue reports or GitHub pull requests. It is licensed under the MIT License.
The ComfyUI-N-Suite serves as a valuable resource for enhancing ComfyUI's functionality and offers a broad array of tools for creative developers looking to optimize user interactions.