⚠️ IMPORTANT: This repository is no longer receiving updates or maintenance. For ongoing development, check out the fork of this project maintained by jags111.
Efficiency Nodes for ComfyUI
A collection of ComfyUI custom nodes to help streamline workflows and reduce total node count.
Nodes:
Efficient Loader & Eff. Loader SDXL
KSampler (Efficient), KSampler Adv. (Efficient), KSampler SDXL (Eff.)
- Modded KSamplers with the ability to live preview generations and/or vae decode images.
- Feature a special seed box that allows for a clearer management of seeds. (-1 seed to apply the selected seed behavior)
- Can execute a variety of scripts, such as the XY Plot script. To activate the script
, simply connect the input connection.
Script Nodes
- A group of node's that are used in conjuction with the Efficient KSamplers to execute a variety of 'pre-wired' set of actions.
- Script nodes can be chained if their input/outputs allow it. Multiple instances of the same Script Node in a chain does nothing.
XY Plot
- Node that allows users to specify parameters for the Efficiency KSamplers to plot on a grid.
HighRes-Fix
- Node that the gives user the ability to upscale KSampler results through variety of different methods.
- Comes out of the box with popular Neural Network Latent Upscalers such as Ttl's ComfyUi_NNLatentUpscale and City96's SD-Latent-Upscaler.
- Supports ControlNet guided latent upscaling. (You must have Fannovel's comfyui_controlnet_aux installed to unlock this feature)
Noise Control
- This node gives the user the ability to manipulate noise sources in a variety of ways, such as the sampling's RNG source.
- The CFG Denoiser noise hijack was developed by smZ, it allows you to get closer recreating Automatic1111 results.
Note: The CFG Denoiser does not work with a variety of conditioning types such as ControlNet & GLIGEN
- This node also allows you to add noise Seed Variations to your generations.
- For trying to replicate Automatic1111 images, this node will help you achieve it. Encode your prompt using "length+mean"
token_normalization
with "A1111" weight_interpretation
, set the Noise Control Script node's rng_source
to "gpu", and turn the cfg_denoiser
to true.
Tiled Upscaler
- The Tiled Upscaler script attempts to encompas BlenderNeko's ComfyUI_TiledKSampler workflow into 1 node.
- Script supports Tiled ControlNet help via the options.
- Strongly recommend the
preview_method
be "vae_decoded_only" when running the script.
AnimateDiff
- To unlock the AnimateDiff script it is required you have installed Kosinkadink's ComfyUI-AnimateDiff-Evolved.
- The latent
batch_size
when running this script becomes your frame count.
Image Overlay
- Node that allows for flexible image overlaying. Works also with image batches.
SimpleEval Nodes
- A collection of nodes that allows users to write simple Python expressions for a variety of data types using the simpleeval library.
- To activate you must have installed the simpleeval library in your Python workspace.
pip install simpleeval
Workflow Examples:
-
HiRes-Fixing
![](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/HiResFix%20Script.png)
-
SDXL Refining & Noise Control Script
![](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/SDXL%20Refining%20%26%20Noise%20Control%20Script.png)
-
XY Plot: LoRA model_strength
vs clip_strength
![](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20LoRA%20Model%20vs%20Clip%20Strengths.png)
-
Stacking Scripts: XY Plot + Noise Control + HiRes-Fix
![](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20Seeds%20vs%20Checkpoints%20%26%20Stacked%20Scripts.png)
-
Stacking Scripts: AnimateDiff + HiRes-Fix (with ControlNet)
![](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/AnimateDiff%20%26%20HiResFix%20Scripts.gif)
Dependencies
The python library simpleeval is required to be installed if you wish to use the Simpleeval Nodes.
pip install simpleeval
Install:
To install, drop the "efficiency-nodes-comfyui" folder into the "_...\ComfyUI\ComfyUI\custom_nodes_" directory and restart UI.