Extensions/Efficiency Nodes for ComfyUI Version 2.0+
ComfyUI Extension Runs on cloud

Efficiency Nodes for ComfyUI Version 2.0+

A collection of ComfyUI custom nodes to help streamline workflows and reduce total node count.[w/NOTE: This node is originally created by LucianoCirino, but the…

By jags111·Created 3 years ago·Updated 4 months ago· 1,485
jags111/efficiency-nodes-comfyui
Nodes40
On cloudRunnable
CategoryEfficiency Nodes/Stackers, Efficiency Nodes/Loaders
Stars1,485
Updated4 months ago

Nodes (40)

Apply ControlNet Stack

Apply ControlNet Stack

Efficiency Nodes/Stackers
Control Net Stacker

Control Net Stacker

Efficiency Nodes/Stackers
Efficient Loader

Efficient Loader

Efficiency Nodes/Loaders
Eff. Loader SDXL

Eff. Loader SDXL

Efficiency Nodes/Loaders
Evaluate Floats

Evaluate Floats

Efficiency Nodes/Simple Eval
Evaluate Integers

Evaluate Integers

Efficiency Nodes/Simple Eval
Evaluate Strings

Evaluate Strings

Efficiency Nodes/Simple Eval
HighRes-Fix Script

HighRes-Fix Script

Efficiency Nodes/Scripts
Image Overlay

Image Overlay

Efficiency Nodes/Image
Join XY Inputs of Same Type

Join XY Inputs of Same Type

Efficiency Nodes/XY Inputs
KSampler Adv. (Efficient)

KSampler Adv. (Efficient)

Efficiency Nodes/Sampling
KSampler (Efficient)

KSampler (Efficient)

Efficiency Nodes/Sampling
KSampler SDXL (Eff.)

KSampler SDXL (Eff.)

Efficiency Nodes/Sampling
LoRA Stacker

LoRA Stacker

Efficiency Nodes/Stackers
LoRA Stack to String converter

LoRA Stack to String converter

Efficiency Nodes/Misc
Manual XY Entry Info

Manual XY Entry Info

Efficiency Nodes/XY Inputs
Noise Control Script

Noise Control Script

Efficiency Nodes/Scripts
Pack SDXL Tuple

Pack SDXL Tuple

Efficiency Nodes/Misc
Simple Eval Examples

Simple Eval Examples

Efficiency Nodes/Simple Eval
Tiled Upscaler Script

Tiled Upscaler Script

Efficiency Nodes/Scripts
Unpack SDXL Tuple

Unpack SDXL Tuple

Efficiency Nodes/Misc
XY Input: Add/Return Noise

Add/Return Noise

Efficiency Nodes/XY Inputs
XY Input: Aesthetic Score

Aesthetic Score

Efficiency Nodes/XY Inputs
XY Input: CFG Scale

CFG Scale

Efficiency Nodes/XY Inputs
XY Input: Checkpoint

Checkpoint

Efficiency Nodes/XY Inputs
XY Input: Clip Skip

Clip Skip

Efficiency Nodes/XY Inputs
XY Input: Control Net

Control Net

Efficiency Nodes/XY Inputs
XY Input: Control Net Plot

Control Net Plot

Efficiency Nodes/XY Inputs
XY Input: Denoise

Denoise

Efficiency Nodes/XY Inputs
XY Input: LoRA

LoRA

Efficiency Nodes/XY Inputs
XY Input: LoRA Plot

LoRA Plot

Efficiency Nodes/XY Inputs
XY Input: LoRA Stacks

LoRA Stacks

Efficiency Nodes/XY Inputs
XY Input: Manual XY Entry

Manual XY Entry

Efficiency Nodes/XY Inputs
XY Input: Prompt S/R

Prompt S/R

Efficiency Nodes/XY Inputs
XY Input: Refiner On/Off

Refiner On/Off

Efficiency Nodes/XY Inputs
XY Input: Sampler/Scheduler

Sampler/Scheduler

Efficiency Nodes/XY Inputs
XY Input: Seeds++ Batch

Seeds++ Batch

Efficiency Nodes/XY Inputs
XY Input: Steps

Steps

Efficiency Nodes/XY Inputs
XY Input: VAE

VAE

Efficiency Nodes/XY Inputs
XY Plot

XY Plot

Efficiency Nodes/Scripts
Readme

✨🍬Planning to help this branch stay alive and any issues will try to solve or fix .. But will be slow as I run many github repos . before raising any issues, please update comfyUI to the latest and esnure all the required packages are updated ass well. Share your workflow in issues to retest same at our end and update the patch.🍬

<b> Efficiency Nodes for ComfyUI Version 2.0+

A collection of <a href="https://github.com/comfyanonymous/ComfyUI" >ComfyUI</a> custom nodes to help streamline workflows and reduce total node count.

Releases

Please check out our WIKI for any use cases and new developments including workflow and settings.<br> Efficiency Nodes Wiki<br>

Nodes:

<!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Efficient Loader</b> & <b>Eff. Loader SDXL</b></summary> <ul> <li>Nodes that can load & cache Checkpoint, VAE, & LoRA type models. <i>(cache settings found in config file 'node_settings.json')</i></li> <li>Able to apply LoRA & Control Net stacks via their <code>lora_stack</code> and <code>cnet_stack</code> inputs.</li> <li>Come with positive and negative prompt text boxes. You can also set the way you want the prompt to be <a href="https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb">encoded</a> via the <code>token_normalization</code> and <code>weight_interpretation</code> widgets.</li> <li>These node's also feature a variety of custom menu options as shown below. <p></p><img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes//NodeMenu%20-%20Efficient%20Loaders.png" width="240" style="display: inline-block;"></p> <p><i>note: "🔍 View model info..." requires <a href="https://github.com/pythongosssss/ComfyUI-Custom-Scripts">ComfyUI-Custom-Scripts</a> to be installed to function.</i></p></li> <li>These loaders are used by the <b>XY Plot</b> node for many of its plot type dependencies.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Efficient%20Loader.png" width="240" style="display: inline-block;"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Eff.%20Loader%20SDXL.png" width="240" style="display: inline-block;"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>KSampler (Efficient)</b>, <b>KSampler Adv. (Efficient)</b>, <b>KSampler SDXL (Eff.)</b></summary>
  • 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. <i>(-1 seed to apply the selected seed behavior)</i>
  • Can execute a variety of scripts, such as the <b>XY Plot</b> script. To activate the <code>script</code>, simply connect the input connection.
<p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20(Efficient).png" width="240"> &nbsp; &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20Adv.%20(Efficient).png" width="240"> &nbsp; &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20SDXL%20(Eff.).png" width="240"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Script Nodes</b></summary>
  • 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.

    <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/ScriptChain.png" width="1080"> </p> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>XY Plot</b></summary> <ul> <li>Node that allows users to specify parameters for the Efficiency KSamplers to plot on a grid.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/XY%20Plot%20-%20Node%20Example.png" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>HighRes-Fix</b></summary> <ul> <li>Node that the gives user the ability to upscale KSampler results through variety of different methods.</li> <li>Comes out of the box with popular Neural Network Latent Upscalers such as Ttl's <a href="https://github.com/Ttl/ComfyUi_NNLatentUpscale">ComfyUi_NNLatentUpscale</a> and City96's <a href="https://github.com/city96/SD-Latent-Upscaler">SD-Latent-Upscaler</a>.</li> <li>Supports ControlNet guided latent upscaling. <i> (You must have Fannovel's <a href="https://github.com/Fannovel16/comfyui_controlnet_aux">comfyui_controlnet_aux</a> installed to unlock this feature)</i></li> <li> Local models---The node pulls the required files from huggingface hub by default. You can create a models folder and place the modules there if you have a flaky connection or prefer to use it completely offline, it will load them locally instead. The path should be: ComfyUI/custom_nodes/efficiency-nodes-comfyui/models; Alternatively, just clone the entire HF repo to it: (git clone https://huggingface.co/city96/SD-Latent-Upscaler) to ComfyUI/custom_nodes/efficiency-nodes-comfyui/models</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/HighResFix%20-%20Node%20Example.gif" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Noise Control</b></summary> <ul> <li>This node gives the user the ability to manipulate noise sources in a variety of ways, such as the sampling's RNG source.</li> <li>The <a href="https://github.com/shiimizu/ComfyUI_smZNodes">CFG Denoiser</a> noise hijack was developed by smZ, it allows you to get closer recreating Automatic1111 results.</li> <p></p><i>Note: The CFG Denoiser does not work with a variety of conditioning types such as ControlNet & GLIGEN</i></p> <li>This node also allows you to add noise <a href="https://github.com/chrisgoringe/cg-noise">Seed Variations</a> to your generations.</li> <li>For trying to replicate Automatic1111 images, this node will help you achieve it. Encode your prompt using "length+mean" <code>token_normalization</code> with "A1111" <code>weight_interpretation</code>, set the Noise Control Script node's <code>rng_source</code> to "gpu", and turn the <code>cfg_denoiser</code> to true.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Noise%20Control%20Script.png" width="320"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Tiled Upscaler</b></summary> <ul> <li>The Tiled Upscaler script attempts to encompas BlenderNeko's <a href="https://github.com/BlenderNeko/ComfyUI_TiledKSampler">ComfyUI_TiledKSampler</a> workflow into 1 node.</li> <li>Script supports Tiled ControlNet help via the options.</li> <li>Strongly recommend the <code>preview_method</code> be "vae_decoded_only" when running the script.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Tiled%20Upscaler%20-%20Node%20Example.gif" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>AnimateDiff</b></summary> <ul> <li>To unlock the AnimateDiff script it is required you have installed Kosinkadink's <a href="https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved">ComfyUI-AnimateDiff-Evolved</a>.</li> <li>The latent <code>batch_size</code> when running this script becomes your frame count.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/AnimateDiff%20-%20Node%20Example.gif" width="1080"> </p> </details>
</details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Image Overlay</b></summary> <ul> <li>Node that allows for flexible image overlaying. Works also with image batches.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Image%20Overlay%20-%20Node%20Example.png" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>SimpleEval Nodes</b></summary> <ul> <li>A collection of nodes that allows users to write simple Python expressions for a variety of data types using the <i><a href="https://github.com/danthedeckie/simpleeval" >simpleeval</a></i> library.</li> <li>To activate you must have installed the simpleeval library in your Python workspace.</li> <pre>pip install simpleeval</pre> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Integers.png" width="320"> &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Floats.png" width="320"> &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Strings.png" width="320"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Latent Upscale nodes</b></summary> <ul> <li>Forked from NN latent this node provides some remarkable neural enhancement to the latents making scaling a cool task</li> <li>Both NN latent upscale and Latent upscaler does the Latent improvemnet in remarkable ways. If you face any issue regarding same please install the nodes from this link([SD-Latent-Upscaler](https://github.com/city96/SD-Latent-Upscaler) and the NN latent upscale from [ComfyUI_NNlatentUpscale](https://github.com/Ttl/ComfyUi_NNLatentUpscale) </li> </ul> <p align="center"> <img src="images/2023-12-08_19-53-37.png" width="320"> &nbsp; &nbsp; <img src="images/2023-12-08_19-54-11.png" width="320"> &nbsp; &nbsp; </p> </details>

Workflow Examples:

Kindly load all PNG files in same name in the (workflow driectory) to comfyUI to get all this workflows. The PNG files have the json embedded into them and are easy to drag and drop !<br>

  1. HiRes-Fixing<br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/HiResfix_workflow.png" width="800"><br>

  2. SDXL Refining & Noise Control Script<br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/SDXL_base_refine_noise_workflow.png" width="800"><br>

  3. XY Plot: LoRA <code>model_strength</code> vs <code>clip_strength</code><br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/Eff_XYPlot%20-%20LoRA%20Model%20vs%20Clip%20Strengths01.png" width="800"><br>

  4. Stacking Scripts: XY Plot + Noise Control + HiRes-Fix<br> <img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20Seeds%20vs%20Checkpoints%20%26%20Stacked%20Scripts.png" width="800"><br>

  5. Stacking Scripts: HiRes-Fix (with ControlNet)<br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/eff_animatescriptWF001.gif" width="800"><br>

  6. SVD workflow: Stable Video Diffusion + Kohya Hires* (with latent control)<br>

    <br>

Dependencies

The python library <i><a href="https://github.com/danthedeckie/simpleeval" >simpleeval</a></i> is required to be installed if you wish to use the Simpleeval Nodes.

<pre>pip install simpleeval</pre>

Also can be installed with a simple pip command <br> 'pip install simpleeval'

A single file library for easily adding evaluatable expressions into python projects. Say you want to allow a user to set an alarm volume, which could depend on the time of day, alarm level, how many previous alarms had gone off, and if there is music playing at the time.

check Notes for more information.

Install:

To install, drop the "efficiency-nodes-comfyui" folder into the "...\ComfyUI\ComfyUI\custom_nodes" directory and restart UI.

Todo

[ ] Add guidance to notebook

Comfy Resources

Efficiency Linked Repos

Guides:

If you create a cool image with our nodes, please show your result and message us on twitter at @jags111 or @NeuralismAI .

You can join the <a href="https://discord.gg/vNVqT82W" alt="Neuralism Discord"> NEURALISM AI DISCORD </a> or <a href="https://discord.gg/UmSd4qyh" alt =Jags AI Discord > JAGS AI DISCORD </a> Share your work created with this model. Exchange experiences and parameters. And see more interesting custom workflows.

Support us in Patreon for more future models and new versions of AI notebooks.

  • tip me on <a href="https://www.patreon.com/jags111"> [patreon]</a>

My buymeacoffee.com pages and links are here and if you feel you are happy with my work just buy me a coffee !

<a href="https://www.buymeacoffee.com/jagsAI"> coffee for JAGS AI</a>

Thank you for being awesome!

<img src = "images/ComfyUI_temp_vpose_00005_.png" width = "50%"> <!-- end support-pitch -->

✨🍬Planning to help this branch stay alive and any issues will try to solve or fix .. But will be slow as I run many github repos . before raising any issues, please update comfyUI to the latest and esnure all the required packages are updated ass well. Share your workflow in issues to retest same at our end and update the patch.🍬

<b> Efficiency Nodes for ComfyUI Version 2.0+

A collection of <a href="https://github.com/comfyanonymous/ComfyUI" >ComfyUI</a> custom nodes to help streamline workflows and reduce total node count.

Releases

Please check out our WIKI for any use cases and new developments including workflow and settings.<br> Efficiency Nodes Wiki<br>

Nodes:

<!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Efficient Loader</b> & <b>Eff. Loader SDXL</b></summary> <ul> <li>Nodes that can load & cache Checkpoint, VAE, & LoRA type models. <i>(cache settings found in config file 'node_settings.json')</i></li> <li>Able to apply LoRA & Control Net stacks via their <code>lora_stack</code> and <code>cnet_stack</code> inputs.</li> <li>Come with positive and negative prompt text boxes. You can also set the way you want the prompt to be <a href="https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb">encoded</a> via the <code>token_normalization</code> and <code>weight_interpretation</code> widgets.</li> <li>These node's also feature a variety of custom menu options as shown below. <p></p><img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes//NodeMenu%20-%20Efficient%20Loaders.png" width="240" style="display: inline-block;"></p> <p><i>note: "🔍 View model info..." requires <a href="https://github.com/pythongosssss/ComfyUI-Custom-Scripts">ComfyUI-Custom-Scripts</a> to be installed to function.</i></p></li> <li>These loaders are used by the <b>XY Plot</b> node for many of its plot type dependencies.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Efficient%20Loader.png" width="240" style="display: inline-block;"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Eff.%20Loader%20SDXL.png" width="240" style="display: inline-block;"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>KSampler (Efficient)</b>, <b>KSampler Adv. (Efficient)</b>, <b>KSampler SDXL (Eff.)</b></summary>
  • 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. <i>(-1 seed to apply the selected seed behavior)</i>
  • Can execute a variety of scripts, such as the <b>XY Plot</b> script. To activate the <code>script</code>, simply connect the input connection.
<p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20(Efficient).png" width="240"> &nbsp; &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20Adv.%20(Efficient).png" width="240"> &nbsp; &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20SDXL%20(Eff.).png" width="240"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Script Nodes</b></summary>
  • 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.

    <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/ScriptChain.png" width="1080"> </p> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>XY Plot</b></summary> <ul> <li>Node that allows users to specify parameters for the Efficiency KSamplers to plot on a grid.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/XY%20Plot%20-%20Node%20Example.png" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>HighRes-Fix</b></summary> <ul> <li>Node that the gives user the ability to upscale KSampler results through variety of different methods.</li> <li>Comes out of the box with popular Neural Network Latent Upscalers such as Ttl's <a href="https://github.com/Ttl/ComfyUi_NNLatentUpscale">ComfyUi_NNLatentUpscale</a> and City96's <a href="https://github.com/city96/SD-Latent-Upscaler">SD-Latent-Upscaler</a>.</li> <li>Supports ControlNet guided latent upscaling. <i> (You must have Fannovel's <a href="https://github.com/Fannovel16/comfyui_controlnet_aux">comfyui_controlnet_aux</a> installed to unlock this feature)</i></li> <li> Local models---The node pulls the required files from huggingface hub by default. You can create a models folder and place the modules there if you have a flaky connection or prefer to use it completely offline, it will load them locally instead. The path should be: ComfyUI/custom_nodes/efficiency-nodes-comfyui/models; Alternatively, just clone the entire HF repo to it: (git clone https://huggingface.co/city96/SD-Latent-Upscaler) to ComfyUI/custom_nodes/efficiency-nodes-comfyui/models</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/HighResFix%20-%20Node%20Example.gif" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Noise Control</b></summary> <ul> <li>This node gives the user the ability to manipulate noise sources in a variety of ways, such as the sampling's RNG source.</li> <li>The <a href="https://github.com/shiimizu/ComfyUI_smZNodes">CFG Denoiser</a> noise hijack was developed by smZ, it allows you to get closer recreating Automatic1111 results.</li> <p></p><i>Note: The CFG Denoiser does not work with a variety of conditioning types such as ControlNet & GLIGEN</i></p> <li>This node also allows you to add noise <a href="https://github.com/chrisgoringe/cg-noise">Seed Variations</a> to your generations.</li> <li>For trying to replicate Automatic1111 images, this node will help you achieve it. Encode your prompt using "length+mean" <code>token_normalization</code> with "A1111" <code>weight_interpretation</code>, set the Noise Control Script node's <code>rng_source</code> to "gpu", and turn the <code>cfg_denoiser</code> to true.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Noise%20Control%20Script.png" width="320"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Tiled Upscaler</b></summary> <ul> <li>The Tiled Upscaler script attempts to encompas BlenderNeko's <a href="https://github.com/BlenderNeko/ComfyUI_TiledKSampler">ComfyUI_TiledKSampler</a> workflow into 1 node.</li> <li>Script supports Tiled ControlNet help via the options.</li> <li>Strongly recommend the <code>preview_method</code> be "vae_decoded_only" when running the script.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Tiled%20Upscaler%20-%20Node%20Example.gif" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>AnimateDiff</b></summary> <ul> <li>To unlock the AnimateDiff script it is required you have installed Kosinkadink's <a href="https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved">ComfyUI-AnimateDiff-Evolved</a>.</li> <li>The latent <code>batch_size</code> when running this script becomes your frame count.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/AnimateDiff%20-%20Node%20Example.gif" width="1080"> </p> </details>
</details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Image Overlay</b></summary> <ul> <li>Node that allows for flexible image overlaying. Works also with image batches.</li> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Image%20Overlay%20-%20Node%20Example.png" width="1080"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>SimpleEval Nodes</b></summary> <ul> <li>A collection of nodes that allows users to write simple Python expressions for a variety of data types using the <i><a href="https://github.com/danthedeckie/simpleeval" >simpleeval</a></i> library.</li> <li>To activate you must have installed the simpleeval library in your Python workspace.</li> <pre>pip install simpleeval</pre> </ul> <p align="center"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Integers.png" width="320"> &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Floats.png" width="320"> &nbsp; &nbsp; <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Strings.png" width="320"> </p> </details> <!--------------------------------------------------------------------------------------------------------------------------------------------------------> <details> <summary><b>Latent Upscale nodes</b></summary> <ul> <li>Forked from NN latent this node provides some remarkable neural enhancement to the latents making scaling a cool task</li> <li>Both NN latent upscale and Latent upscaler does the Latent improvemnet in remarkable ways. If you face any issue regarding same please install the nodes from this link([SD-Latent-Upscaler](https://github.com/city96/SD-Latent-Upscaler) and the NN latent upscale from [ComfyUI_NNlatentUpscale](https://github.com/Ttl/ComfyUi_NNLatentUpscale) </li> </ul> <p align="center"> <img src="images/2023-12-08_19-53-37.png" width="320"> &nbsp; &nbsp; <img src="images/2023-12-08_19-54-11.png" width="320"> &nbsp; &nbsp; </p> </details>

Workflow Examples:

Kindly load all PNG files in same name in the (workflow driectory) to comfyUI to get all this workflows. The PNG files have the json embedded into them and are easy to drag and drop !<br>

  1. HiRes-Fixing<br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/HiResfix_workflow.png" width="800"><br>

  2. SDXL Refining & Noise Control Script<br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/SDXL_base_refine_noise_workflow.png" width="800"><br>

  3. XY Plot: LoRA <code>model_strength</code> vs <code>clip_strength</code><br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/Eff_XYPlot%20-%20LoRA%20Model%20vs%20Clip%20Strengths01.png" width="800"><br>

  4. Stacking Scripts: XY Plot + Noise Control + HiRes-Fix<br> <img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20Seeds%20vs%20Checkpoints%20%26%20Stacked%20Scripts.png" width="800"><br>

  5. Stacking Scripts: HiRes-Fix (with ControlNet)<br> <img src="https://github.com/jags111/efficiency-nodes-comfyui/blob/main/workflows/eff_animatescriptWF001.gif" width="800"><br>

  6. SVD workflow: Stable Video Diffusion + Kohya Hires* (with latent control)<br>

    <br>

Dependencies

The python library <i><a href="https://github.com/danthedeckie/simpleeval" >simpleeval</a></i> is required to be installed if you wish to use the Simpleeval Nodes.

<pre>pip install simpleeval</pre>

Also can be installed with a simple pip command <br> 'pip install simpleeval'

A single file library for easily adding evaluatable expressions into python projects. Say you want to allow a user to set an alarm volume, which could depend on the time of day, alarm level, how many previous alarms had gone off, and if there is music playing at the time.

check Notes for more information.

Install:

To install, drop the "efficiency-nodes-comfyui" folder into the "...\ComfyUI\ComfyUI\custom_nodes" directory and restart UI.

Todo

[ ] Add guidance to notebook

Comfy Resources

Efficiency Linked Repos

Guides:

If you create a cool image with our nodes, please show your result and message us on twitter at @jags111 or @NeuralismAI .

You can join the <a href="https://discord.gg/vNVqT82W" alt="Neuralism Discord"> NEURALISM AI DISCORD </a> or <a href="https://discord.gg/UmSd4qyh" alt =Jags AI Discord > JAGS AI DISCORD </a> Share your work created with this model. Exchange experiences and parameters. And see more interesting custom workflows.

Support us in Patreon for more future models and new versions of AI notebooks.

  • tip me on <a href="https://www.patreon.com/jags111"> [patreon]</a>

My buymeacoffee.com pages and links are here and if you feel you are happy with my work just buy me a coffee !

<a href="https://www.buymeacoffee.com/jagsAI"> coffee for JAGS AI</a>

Thank you for being awesome!

<img src = "images/ComfyUI_temp_vpose_00005_.png" width = "50%"> <!-- end support-pitch -->

Issue #300 Improvements

Date: 2026-03-13 17:21:22

Changes

  • Added installation instructions
  • Enhanced code documentation
  • Added usage examples
  • Fixed broken links

Security Enhancements

  • Added input sanitization examples
  • Included security best practices
  • Updated error handling guidelines

Testing

  • Verified documentation accuracy
  • Added test examples

Let me know if you need any clarification about this issue.