Nodes Browser
ComfyDeploy: How DJZ-Nodes works in ComfyUI?
What is DJZ-Nodes?
AspectSize and other nodes
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
DJZ-Nodes
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
DJZ-Nodes
<p align="left"> Drift Johnsons Custom nodes for ComfyUI <br /> Video: https://www.youtube.com/watch?v=MnZnP0Fav8E <br /> Article: https://civitai.com/user/driftjohnson/articles</p> <br /> <br /><br /> <p>AspectSize and ImageSizeAdjuster both address a simple problem, for best results images benefit from having dimensions divisible by 64<br /> AspectSize allows choice of base model and Aspect Ratio, it then calculates the best height and width which is closest to the targer and /64 on both sides<br /> ImageSizeAdjuster is the same idea but with an image input, doing the same calulation and outputting adjust dimensions for a resize node <br /> Zenkai-Prompt allows you to mix text files with random line chosen with seed <br /> Zenkai-wildcards parses a string for wildcards and swap out a single word in the same way <br /> recursive wildcard examples and 5000 prompts from my Zenkai system are included in the pack <br /> StringWeights simply wraps the generated strings with comfyui prompt weighting <br /> <br /> In all workflows the V2 offer advanced controls which might be useful over the base function</p> <br /> <br /><br /> <h3>AspectSize</h3> <br /> <p align="left"> default maximums: <br /> SD 512x512 <br /> SDXL 1024x1024 <br /> Cascade 2048x2048 <br /> Downscale factor 16 was baked into this version <br /> simply choose your aspect ratio.</p> <br /> <br /><br /> <h3>AspectSizeV2</h3> <br /> <p align="left"> default maximums: <br /> SD 512x512 <br /> SDXL 1024x1024 <br /> Cascade 2048x2048 <br /> allows customisation of the Downscale factor, 64 recommended<br /> simply choose your aspect ratio.</p> <br /> <img src="https://i.gyazo.com/b354edf9deee624fa27512da98601b36.png" /> <br /><br /> <h3>ImageSizeAdjuster</h3> <br /> <p align="left"> default maximums: <br /> SD 512x512 <br /> SDXL 1024x1024 <br /> Cascade 2048x2048 <br /> allows customisation of the Downscale factor, 64 recommended<br /> simply input your image, feed adjusted dimensions to a resize node.</p> <br /> <img src="https://i.gyazo.com/d922a13e0ba47e83405db6c2657f7c6c.png" /> <br /><br /> <h3>ImageSizeAdjusterV2</h3> <br /> <p align="left"> default maximums: <br /> SD 512x512 <br /> SDXL 1024x1024 <br /> Cascade 2048x2048 <br /> allows customisation of the Downscale factor, 64 recommended<br /> simply input your image, feed adjusted dimensions to a resize node.</p> <br /> <img src="https://i.gyazo.com/de2e50570fe2e7dd611feaffdebab929.png" /> <br /><br /> <h3>ZenkaiPrompt</h3> <br /> <p align="left"> place .txt files inside: \prompts\ <br /> choose the text file <br /> separate prompts with new lines in the .txt <br /> use seed control to control the random selection</p> <br /> <img src="https://i.gyazo.com/bbf9a12d4f0dd819aa17d5dcd9847ffa.png" /> <br /><br /> <h3>ZenkaiPromptV2</h3> <br /> <p align="left"> place .txt files inside: \prompts\ <br /> choose the text file <br /> separate prompts with new lines in the .txt <br /> supports multi-sampled prompt <br /> use seed control to control the random selection</p> <br /> <img src="https://i.gyazo.com/2bd40c42de4a116bbf60e4a99c131b84.png" /> <br /><br /> <h3>ZenkaiWildcard</h3> <br /> <p align="left"> place .txt files inside: \wildcards\ <br /> one or two words per line, for each wildcard file <br /> custom symbol (default $$) used to invoke the text filename <br /> designed for text passthrough <br /> use seed control to control the random selection</p> <br /> <img src="https://i.gyazo.com/4d7831155d033618023c975f64c2c149.png" /> <br /><br /> <h3>ZenkaiWildcardV2</h3> <br /> <p align="left"> place .txt files inside: \wildcards\ <br /> one or two words per line, for each wildcard file <br /> custom symbol (default $$) used to invoke the text filename <br /> support recursive wilcards (wildcards inside wildcards) <br /> designed for text passthrough <br /> use seed control to control the random selection</p> <br /> <img src="https://i.gyazo.com/ac056f611f1087844b051a7f68a93f7f.png" /> <br /><br /> <h3>StringWeights</h3> <br /> <p align="left"> random string weight control: <br /> text string passtrhough node<br /> wraps the string with the selected wieght <br /> string="Hello" result=(hello:0.9) with weight 0.9 selected <br /> made for convenience <br /> </p> <br /> <img src="https://i.gyazo.com/ac056f611f1087844b051a7f68a93f7f.png" /> <br /><br /> <h3>String Painter</h3> <br /> <p align="left"> String Painting Nodes: <br /> add the string to the end of a prompt, to see the effect<br /> generates the 16/32bit Hex from seed with options <br /> chaos inpaint/variation, colaboration with @StringPaintSunday from 2022<br /> V2 offers more controls and has a seed range limiter <br /> </p> <br /> <img src="https://i.gyazo.com/261e5a8b04212cd0711d0f12cfe97e70.png" /> <br /><br /> <h3>String Painter</h3> <br /> <p align="left"> FFX Fade-O-Rama: <br /> creates a sequence of images using two images<br /> comes with a bunch of stock transition effect <br /> <img src="https://i.gyazo.com/9a2755de83e1825ae6cb23d0c16b433e.png" /><br /><br />
<p align="left"> Zenkai-Prompt and Zenkai-Wildcard, with StringWeights for control. examples folder, contains example workflows. </p><br /> <img src="https://i.gyazo.com/e1431b0412590806f0fb388c337f59cf.png" /> <br /><br /><br />
<h2>Installation</h2>-- Clone this repo into /custom_nodes/ <br />
cd custom_nodes <br /> git clone https://github.com/MushroomFleet/DJZ-Nodes <br />
<br /><br />
<h1 align="center">Hi š, I'm Drift Johnson</h1> <h3 align="center">Data Scientist & Diffusion Designer from England</h3> <p align="left"> <a href="https://twitter.com/mushroomfleet" target="blank"><img src="https://img.shields.io/twitter/follow/mushroomfleet?logo=twitter&style=for-the-badge" alt="mushroomfleet" /></a> </p>-
š Iām currently working on Zenkai XL Diffusion
-
š± Iām currently learning LLM's & Applied Diffusion
-
šØāš» All of my projects are available at https://civitai.com/user/driftjohnson/models
-
š I rarely write articles on https://mushroomfleet.substack.com/
-
š¬ Ask me about Diffusion Models
-
š« How to reach me mushroomfleet@gmail.com
-
ā” Fun fact When i'm not Drafting I'm Drifting.