Closed mskiller closed 11 months ago
Hi, yea that is beyond my coding skills, first thing that comes to mind is a wildcard text file.
ComfyUI\custom_nodes\ComfyUI-Impact-Pack\wildcards is where you can store wildcard txt files, create a txt file then use the wildcard node and put in the name of the text file ( example horror2.txt ) then put like horror2 and it will randomly pick a line from that file. You could even have it do more lines from same file with _horror2, horror2, horror2 and with each queue it would grab 3 random lines. See txt file. Anyway, I don't know if putting the pic back in will give you the prompt. horror2.txt
Thank you, I thought that like random seeds you could give à number to the style and call up that number. I will take a deeper look inti wildcards then...but I will also look into tour code to see if I find à way and will propose it to you.
I messed around and able to get this working with each run now. As far as putting the png file back in and getting the prompt? I don't know. I ran across a github that had a node you could add to get the images info, forgot the name of it now. git pull to get latest changes
A choice below base, that says random so it choose randomly one of the style installed. Then when you launch 10 prompt in queue it will choose each time a different style. And if you put the png file back in it should show the style that was chosen.