Skip to content

MushroomFleet/DJZ-Nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJZ-Nodes

Drift Johnsons Custom nodes for ComfyUI
Video: https://www.youtube.com/watch?v=MnZnP0Fav8E
Article: https://civitai.com/user/driftjohnson/articles




AspectSize and ImageSizeAdjuster both address a simple problem, for best results images benefit from having dimensions divisible by 64
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
ImageSizeAdjuster is the same idea but with an image input, doing the same calulation and outputting adjust dimensions for a resize node
Zenkai-Prompt allows you to mix text files with random line chosen with seed
Zenkai-wildcards parses a string for wildcards and swap out a single word in the same way
recursive wildcard examples and 5000 prompts from my Zenkai system are included in the pack
StringWeights simply wraps the generated strings with comfyui prompt weighting

In all workflows the V2 offer advanced controls which might be useful over the base function




AspectSize


default maximums:
SD 512x512
SDXL 1024x1024
Cascade 2048x2048
Downscale factor 16 was baked into this version
simply choose your aspect ratio.




AspectSizeV2


default maximums:
SD 512x512
SDXL 1024x1024
Cascade 2048x2048
allows customisation of the Downscale factor, 64 recommended
simply choose your aspect ratio.




ImageSizeAdjuster


default maximums:
SD 512x512
SDXL 1024x1024
Cascade 2048x2048
allows customisation of the Downscale factor, 64 recommended
simply input your image, feed adjusted dimensions to a resize node.




ImageSizeAdjusterV2


default maximums:
SD 512x512
SDXL 1024x1024
Cascade 2048x2048
allows customisation of the Downscale factor, 64 recommended
simply input your image, feed adjusted dimensions to a resize node.




ZenkaiPrompt


place .txt files inside: \prompts\
choose the text file
separate prompts with new lines in the .txt
use seed control to control the random selection




ZenkaiPromptV2


place .txt files inside: \prompts\
choose the text file
separate prompts with new lines in the .txt
supports multi-sampled prompt
use seed control to control the random selection




ZenkaiWildcard


place .txt files inside: \wildcards\
one or two words per line, for each wildcard file
custom symbol (default $$) used to invoke the text filename
designed for text passthrough
use seed control to control the random selection




ZenkaiWildcardV2


place .txt files inside: \wildcards\
one or two words per line, for each wildcard file
custom symbol (default $$) used to invoke the text filename
support recursive wilcards (wildcards inside wildcards)
designed for text passthrough
use seed control to control the random selection




StringWeights


random string weight control:
text string passtrhough node
wraps the string with the selected wieght
string="Hello" result=(hello:0.9) with weight 0.9 selected
made for convenience




String Painter


String Painting Nodes:
add the string to the end of a prompt, to see the effect
generates the 16/32bit Hex from seed with options
chaos inpaint/variation, colaboration with @StringPaintSunday from 2022
V2 offers more controls and has a seed range limiter




String Painter


FFX Fade-O-Rama:
creates a sequence of images using two images
comes with a bunch of stock transition effect



Zenkai-Prompt and Zenkai-Wildcard, with StringWeights for control. examples folder, contains example workflows.





Installation

-- Clone this repo into /custom_nodes/

cd custom_nodes
git clone https://github.com/MushroomFleet/DJZ-Nodes



Hi 👋, I'm Drift Johnson

Data Scientist & Diffusion Designer from England

mushroomfleet

Connect with me:

mushroomfleet mushroomfleet mushroomfleet mushroomfleet https://discord.gg/DtMXKqD5bT

Languages and Tools:

ifttt linux mysql nginx photoshop php python pytorch unreal

Support:

driftjohnson