Update README.md

This commit is contained in:
TSC
2023-10-21 10:09:51 -05:00
committed by GitHub
parent 1c41b50081
commit 190aa1cedc

View File

@@ -7,13 +7,13 @@ Efficiency Nodes for ComfyUI
<details> <details>
<summary><b>Efficient Loader</b> & <b>Eff. Loader SDXL</b></summary> <summary><b>Efficient Loader</b> & <b>Eff. Loader SDXL</b></summary>
<ul> <ul>
<li>Can load & cache multiple Checkpoint, VAE, & LoRA type models. <i>(cache settings found in config file 'node_settings.json')</i></li> <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 'lora_stack' and 'cnet_stack' inputs.</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 'token_normalization' and 'weight_interpretation' widgets.</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. <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></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> <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 XY Plot node for many of its plot type dependencies.</li> <li>These loaders are used by the <b>XY Plot</b> node for many of its plot type dependencies.</li>
</ul> </ul>
<p align="center"> <p align="center">
@@ -27,7 +27,7 @@ Efficiency Nodes for ComfyUI
- Modded KSamplers with the ability to live preview generations and/or vae decode images. - 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> - 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 XY Plot script. To activate the script, simply connect the input connection. - 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"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20(Efficient).png" width="240"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20KSampler%20(Efficient).png" width="240">
@@ -42,7 +42,7 @@ Efficiency Nodes for ComfyUI
<details> <details>
<summary><b>Script Nodes</b></summary> <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' actions. - 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. - 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"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/ScriptChain.png" width="1080"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/ScriptChain.png" width="1080">
@@ -51,7 +51,7 @@ Efficiency Nodes for ComfyUI
<details> <details>
<summary><b>XY Plot</b></summary> <summary><b>XY Plot</b></summary>
<ul> <ul>
<li>Node that allows users to specify parameters for the Efficient KSampler's to plot on a grid.</li> <li>Node that allows users to specify parameters for the Efficiency KSamplers to plot on a grid.</li>
</ul> </ul>
<p align="center"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/XY%20Plot%20-%20Node%20Example.png" width="1080"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/XY%20Plot%20-%20Node%20Example.png" width="1080">
@@ -64,7 +64,7 @@ Efficiency Nodes for ComfyUI
<ul> <ul>
<li>Node that the gives user the ability to upscale KSampler results through variety of different methods.</li> <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>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 (must have Fannovel's <a href="https://github.com/Fannovel16/comfyui_controlnet_aux">comfyui_controlnet_aux</a> installed to unlock this feature)</li> <li>Supports ControlNet guided latent upscaling. <p><i> Note: You must have Fannovel's <a href="https://github.com/Fannovel16/comfyui_controlnet_aux">comfyui_controlnet_aux</a> installed to unlock this feature)</i></p></li>
</ul> </ul>
<p align="center"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/HighResFix%20-%20Node%20Example.gif" width="1080"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/HighResFix%20-%20Node%20Example.gif" width="1080">
@@ -92,7 +92,7 @@ Efficiency Nodes for ComfyUI
<ul> <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>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>Script supports Tiled ControlNet help via the options.</li>
<li>Strongly recommend the 'preview_method' be "vae_decoded_only" when running the script.</li> <li>Strongly recommend the <code>preview_method</code> be "vae_decoded_only" when running the script.</li>
</ul> </ul>
<p align="center"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Tiled%20Upscaler%20-%20Node%20Example.gif" width="1080"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Tiled%20Upscaler%20-%20Node%20Example.gif" width="1080">
@@ -104,7 +104,7 @@ Efficiency Nodes for ComfyUI
<summary><b>AnimateDiff</b></summary> <summary><b>AnimateDiff</b></summary>
<ul> <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>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 batch size when running this script becomes your frame count.</li> <li>The latent <code>batch_size</code> when running this script becomes your frame count.</li>
</ul> </ul>
<p align="center"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/AnimateDiff%20-%20Node%20Example.gif" width="1080"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/AnimateDiff%20-%20Node%20Example.gif" width="1080">
@@ -115,10 +115,10 @@ Efficiency Nodes for ComfyUI
<!--------------------------------------------------------------------------------------------------------------------------------------------------------> <!-------------------------------------------------------------------------------------------------------------------------------------------------------->
<details> <details>
<summary>Image Overlay</summary> <summary><b>Image Overlay</b></summary>
<ul>
- Node that allows for flexible image overlaying. Works also with image batches. <li>Node that allows for flexible image overlaying. Works also with image batches.</li>
</ul>
<p align="center"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Image%20Overlay%20-%20Node%20Example.png" width="1080"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/Image%20Overlay%20-%20Node%20Example.png" width="1080">
</p> </p>
@@ -127,9 +127,11 @@ Efficiency Nodes for ComfyUI
<!--------------------------------------------------------------------------------------------------------------------------------------------------------> <!-------------------------------------------------------------------------------------------------------------------------------------------------------->
<details> <details>
<summary><b>SimpleEval Nodes</b></summary> <summary><b>SimpleEval Nodes</b></summary>
<ul>
- A collection of nodes that allows users to write simple Python expressions for a variety of data types using the <a href="https://github.com/danthedeckie/simpleeval" >simpleeval</a> library. <li>A collection of nodes that allows users to write simple Python expressions for a variety of data types using the <a href="https://github.com/danthedeckie/simpleeval" >simpleeval</a> library.</li>
<li>To activate you must have installed the simpleeval library in Python</li>
<pre>pip install simpleeval</pre>
</ul>
<p align="center"> <p align="center">
<img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Integers.png" width="320"> <img src="https://github.com/LucianoCirino/efficiency-nodes-media/blob/main/images/nodes/NODE%20-%20Evaluate%20Integers.png" width="320">
&nbsp; &nbsp; &nbsp; &nbsp;
@@ -140,29 +142,25 @@ Efficiency Nodes for ComfyUI
</details> </details>
## **Workflow Examples:** ## Workflow Examples:
1. HiRes-Fixing<br>
- HiResFixing with the **HiRes-Fix Script** node [<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/HiResFix%20Script.png" width="800">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/HiResFix%20Script.png)<br>
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/HiResFix%20Script.png" width="720">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/HiResFix%20Script.png) 2. SDXL Refining & **Noise Control Script**<br>
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/SDXL%20Refining%20%26%20Noise%20Control%20Script.png" width="800">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/SDXL%20Refining%20%26%20Noise%20Control%20Script.png)<br>
- SDXL Refining using the **Eff. SDXL Loader**, & **Ksampler SDXL (Eff.)** 3. **XY Plot**: LoRA model_strength vs clip_strength<br>
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20LoRA%20Model%20vs%20Clip%20Strengths.png" width="800">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20LoRA%20Model%20vs%20Clip%20Strengths.png)<br>
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/SDXL%20Refining%20%26%20Noise%20Control%20Script.png" width="640">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/SDXL%20Refining%20%26%20Noise%20Control%20Script.png) 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">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20Seeds%20vs%20Checkpoints%20%26%20Stacked%20Scripts.png)<br>
- Comparing LoRA Model & Clip Strenghts via the **XY Plot** node. 5. Stacking Scripts: **AnimateDiff** + **HiRes-Fix**<br>
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/AnimateDiff%20%26%20HiResFix%20Scripts.gif" width="800">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/AnimateDiff%20%26%20HiResFix%20Scripts.gif)<br>
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20LoRA%20Model%20vs%20Clip%20Strengths.png" width="720">](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**
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/XYPlot%20-%20Seeds%20vs%20Checkpoints%20%26%20Stacked%20Scripts.png" width="720">](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**
[<img src="https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/AnimateDiff%20%26%20HiResFix%20Scripts.gif" width="720">](https://github.com/LucianoCirino/efficiency-nodes-comfyui/blob/v2.0/workflows/AnimateDiff%20%26%20HiResFix%20Scripts.gif)
### Dependencies ### Dependencies
Dependencies are automatically installed during ComfyUI boot up. Simpleeval library is required to use the simpleeval nodes.
## **Install:** ## **Install:**
To install, drop the "_**efficiency-nodes-comfyui**_" folder into the "_**...\ComfyUI\ComfyUI\custom_nodes**_" directory and restart UI. To install, drop the "_**efficiency-nodes-comfyui**_" folder into the "_**...\ComfyUI\ComfyUI\custom_nodes**_" directory and restart UI.