Check earlier versions for more examples!
WHY?
So the other day I was thinking of a way to automate my prompts so that I could go somewhere come back and have a load of images to choose from.
I've seen quite a few implementations using different approaches but none where very pleasing as they where simply loading pre made prompts and this would lead to repetition.
So I though what if I just give it a list of locations, leg wear, top wear, colours, texture patterns, light types and effects, ambient?
And so here it is the solution.
Using the new ComfyUI Subgraph feature I built a system where it will randomly pick clothes, makeup, expression, etc from a list.
The above image is the provided workflow.
1 - I added a Save Image Node so that you can save your prompts as well as all is randomly generated you wont get the same prompt when you reload a image into comfy.
2 - The tool was built with the intention of generating pictures for a model, so in the top text box where it says Pre, that's where you would write your model's identity, like trigger word, hair colour, etc. For the images I am sharing here, I simply used "1 woman".
3 - The buttons will turn on/off generation for what they mean. SFW and NSFW will will trigger different lists of actions and also be used for logic of what to wear in different settings.
4 - The box at the end where it says Post is whatever you want to go after the generation. Typically this is where you can write the style of the composition, like anime, realistic, and cameras, Cannon, phone, etc
5 - To use simple copy and paste the node into an existing workflow and connect the prompt output to a text encoder positive.
Enter the subgraph to edit the lists.
You can edit this lists by entering the Subgraph clicking twice on it or by clicking on the top right icon.
Once inside the subgraph look for the section depicted in the image above .
Its all the lists you can alter.
If you feel adventurous check the code and change that to your will π
All the images I am showing here where done with all the buttons ON and "1 Woman" in the pre prompt, for some models I turned off SFW and clothes to be able to generate NSFW content, Krea wasn't having it though π€£π€£
Send me some love and I'll release other versions, hope you like and use it and ask/suggest away, I'll answer when I can.
V1.0 added seed control for recall!
V1.1 bug fix: solved issue of regenerating even when the seed was the same!
V1.2
I noticed that for V1.1 the colour variation has stopped, this is due to the seed being locked and the same for all nodes, in version 1.2 I added colour and pattern variation sliders.
V2.0
Added Hair styles and 2 separate (Optional) nodes that separate the lists from the main subgraph and are broken up into 2 main categories, General and Character.
These 2 nodes where created so you can change characters and environment by simply plugin them into the main subgraph. Each character may have different styles of clothes, hair, colours, etc so I though it could be handy to have the system broken up.
Although these nodes are optional, if not plugged in, it will default to the lists it contains.
Here are a few examples on how you could use them, but these are just copies of the other 2.
Simple copy/paste or Alt+Drag a lists node, enter the subgraph and change it to your needs.
As keep using it on a daily basis I will probably release more versions but for now I think we good π
V2.1
Bug fix: Fixed a node that was giving error in the console.
Removed the lists from the main subgraph, the subgraph is now dependant of them.
Created a node with the combined lists for easy access.
- Fixed "Clothed <> Lingerie" Slider has it was inverted
- Fixed Bra input has it wasn't coming through
- Added separate seeds for character and environment to be able to change one or the other
Go ahead and upload yours!
Your query returned no results β please try removing some filters or trying a different term.