checkin for now

This commit is contained in:
AIrjen
2023-06-02 19:41:31 +02:00
parent 32878f30b1
commit d9dacd9f13
13 changed files with 108 additions and 19 deletions
+30 -7
View File
@@ -71,6 +71,9 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
minilocationlist = csv_to_list("minilocations", antilist)
minioutfitlist = csv_to_list("minioutfits", antilist)
seasonlist = csv_to_list("seasons", antilist)
elaborateoutfitlist = csv_to_list("elaborateoutfits", antilist)
minivomitlist = csv_to_list("minivomit", antilist)
imagetypequalitylist = csv_to_list("imagetypequality", antilist)
humanlist = fictionallist + nonfictionallist + humanoidlist
objecttotallist = objectlist + buildinglist + vehiclelist + foodlist
@@ -257,8 +260,10 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
generateanimaladdition = bool(animaladditionlist) and not templatemode
generateaccessories = bool(buildaccessorielist) and not templatemode
generategreatwork = bool(greatworklist) and not templatemode
generateminilocationaddition = bool(minilocationadditionslist) and not templatemode
generateminivomit = bool(minivomitlist) and not templatemode
generateimagetypequality = bool(imagetypequalitylist) and not templatemode
# Smart subject logic
@@ -607,6 +612,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
if(giventypeofimage=="" and generatetype == True):
if(imagetype != "all" and imagetype != "all - force multiple" and imagetype != "only other types"):
completeprompt += " " + imagetype + ", "
elif(imagetype == "all - force multiple" or unique_dist(insanitylevel)):
amountofimagetypes = random.randint(2,3)
@@ -617,13 +623,17 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
if(imagetype == "all" and normal_dist(insanitylevel) and amountofimagetypes <= 1):
amountofimagetypes = 1
for i in range(amountofimagetypes):
# one in 6 images is a complex/other type
if(rare_dist(insanitylevel) and generateimagetypequality):
completeprompt += random.choice(imagetypequalitylist) + " "
if(random.randint(0,5) < 5):
completeprompt += ", " + random.choice(imagetypelist) + " "
completeprompt += " " + random.choice(imagetypelist) + ", "
else:
othertype = 1
completeprompt += ", " + random.choice(othertypelist) + " "
completeprompt += " " + random.choice(othertypelist) + ", "
if(othertype==1):
completeprompt += " of a "
@@ -643,6 +653,12 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
generateartmovement = False
completeprompt += " -artmovement-, "
if(rare_dist(insanitylevel) and generateminivomit == True):
completeprompt += " -minivomit-, "
if(unique_dist(insanitylevel) and generateminivomit == True):
completeprompt += " -minivomit-, "
# start shot size
if(mainchooser in ["object", "animal", "humanoid", "concept"] and othertype == 0 and "portrait" not in completeprompt and generateshot == True and uncommon_dist(insanitylevel)):
@@ -882,9 +898,12 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
if(uncommon_dist(insanitylevel)):
completeprompt += random.choice(custominputmidlist) + ", "
# add in some more mini vomits
if(unique_dist(insanitylevel) and generateminivomit == True):
completeprompt += " -minivomit-, "
# outfit builder
if(subjectchooser in ["animal as human","human","fictional", "non fictional", "humanoid"] and normal_dist(insanitylevel) and generateoutfit == True):
if(subjectchooser in ["animal as human","human","fictional", "non fictional", "humanoid"] and normal_dist(insanitylevel) and generateoutfit == True and humanspecial != 1):
completeprompt += ", wearing " + random.choice(buildoutfitlist) + ", "
if(subjectchooser in ["animal as human","human","fictional", "non fictional", "humanoid"] and uncommon_dist(insanitylevel) and humanspecial != 1 and generatepose == True):
@@ -929,6 +948,10 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
if(normal_dist(insanitylevel) and generatemood == True):
completeprompt += random.choice(moodlist) + ", "
# add in some more mini vomits
if(unique_dist(insanitylevel) and generateminivomit == True):
completeprompt += " -minivomit-, "
if(normal_dist(insanitylevel) and generateartmovement == True):
completeprompt += random.choice(artmovementlist) + ", "
@@ -1092,9 +1115,9 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
# completeprompt = completeprompt.replace('-outfit-', hybridorswapreplacementvalue,1)
# lol, this needs a rewrite :D
while "-color-" in completeprompt or "-material-" in completeprompt or "-animal-" in completeprompt or "-object-" in completeprompt or "-fictional-" in completeprompt or "-nonfictional-" in completeprompt or "-conceptsuffix-" in completeprompt or "-building-" in completeprompt or "-vehicle-" in completeprompt or "-outfit-" in completeprompt or "-location-" in completeprompt or "-conceptprefix-" in completeprompt or "-descriptor-" in completeprompt or "-food-" in completeprompt or "-haircolor-" in completeprompt or "-hairstyle-" in completeprompt or "-job-" in completeprompt or "-culture-" in completeprompt or "-accessory-" in completeprompt or "-humanoid-" in completeprompt or "manwoman" in completeprompt or "-human-" in completeprompt or "-colorscheme-" in completeprompt or "-mood-" in completeprompt or "-genderdescription-" in completeprompt or "-artmovement-" in completeprompt or "-malefemale-" in completeprompt or "-objecttotal-" in completeprompt or "-bodytype-" in completeprompt or "-minilocation-" in completeprompt or "-minilocationaddition-" in completeprompt or "-pose-" in completeprompt or "-season-" in completeprompt or "-minioutfit-" in completeprompt:
allwildcardslistnohybrid = [ "-color-","-object-", "-animal-", "-fictional-","-nonfictional-","-building-","-vehicle-","-location-","-conceptprefix-","-food-","-haircolor-","-hairstyle-","-job-", "-accessory-", "-humanoid-", "-manwoman-", "-human-", "-colorscheme-", "-mood-", "-genderdescription-", "-artmovement-", "-malefemale-", "-bodytype-", "-minilocation-", "-minilocationaddition-", "-pose-", "-season-", "-minioutfit-" ]
allwildcardslistnohybridlists = [colorlist, objectlist, animallist, fictionallist, nonfictionallist, buildinglist, vehiclelist, locationlist,conceptprefixlist,foodlist,haircolorlist, hairstylelist,joblist, accessorielist, humanoidlist, manwomanlist, humanlist, colorschemelist, moodlist, genderdescriptionlist, artmovementlist, malefemalelist, bodytypelist, minilocationlist, minilocationadditionslist, poselist, seasonlist, minioutfitlist]
while "-color-" in completeprompt or "-material-" in completeprompt or "-animal-" in completeprompt or "-object-" in completeprompt or "-fictional-" in completeprompt or "-nonfictional-" in completeprompt or "-conceptsuffix-" in completeprompt or "-building-" in completeprompt or "-vehicle-" in completeprompt or "-outfit-" in completeprompt or "-location-" in completeprompt or "-conceptprefix-" in completeprompt or "-descriptor-" in completeprompt or "-food-" in completeprompt or "-haircolor-" in completeprompt or "-hairstyle-" in completeprompt or "-job-" in completeprompt or "-culture-" in completeprompt or "-accessory-" in completeprompt or "-humanoid-" in completeprompt or "manwoman" in completeprompt or "-human-" in completeprompt or "-colorscheme-" in completeprompt or "-mood-" in completeprompt or "-genderdescription-" in completeprompt or "-artmovement-" in completeprompt or "-malefemale-" in completeprompt or "-objecttotal-" in completeprompt or "-bodytype-" in completeprompt or "-minilocation-" in completeprompt or "-minilocationaddition-" in completeprompt or "-pose-" in completeprompt or "-season-" in completeprompt or "-minioutfit-" in completeprompt or "-elaborateoutfit-" in completeprompt or "-minivomit-" in completeprompt or "-vomit-" in completeprompt:
allwildcardslistnohybrid = [ "-color-","-object-", "-animal-", "-fictional-","-nonfictional-","-building-","-vehicle-","-location-","-conceptprefix-","-food-","-haircolor-","-hairstyle-","-job-", "-accessory-", "-humanoid-", "-manwoman-", "-human-", "-colorscheme-", "-mood-", "-genderdescription-", "-artmovement-", "-malefemale-", "-bodytype-", "-minilocation-", "-minilocationaddition-", "-pose-", "-season-", "-minioutfit-", "-elaborateoutfit-", "-minivomit-", "-vomit-" ]
allwildcardslistnohybridlists = [colorlist, objectlist, animallist, fictionallist, nonfictionallist, buildinglist, vehiclelist, locationlist,conceptprefixlist,foodlist,haircolorlist, hairstylelist,joblist, accessorielist, humanoidlist, manwomanlist, humanlist, colorschemelist, moodlist, genderdescriptionlist, artmovementlist, malefemalelist, bodytypelist, minilocationlist, minilocationadditionslist, poselist, seasonlist, minioutfitlist, elaborateoutfitlist, minivomitlist, vomitlist]
allwildcardslistwithhybrid = ["-material-", "-descriptor-", "-outfit-", "-conceptsuffix-","-culture-", "-objecttotal-"]
allwildcardslistwithhybridlists =[materiallist, descriptorlist,outfitlist,conceptsuffixlist,culturelist, objecttotallist]
+3 -1
View File
@@ -118,4 +118,6 @@ empty eyes
dashed eyes
heart-shaped eyes
amphibian eyes
tartan scarf
tartan scarf
Braces
Wizard hat
1 Glasses
118 dashed eyes
119 heart-shaped eyes
120 amphibian eyes
121 tartan scarf
122 Braces
123 Wizard hat
+26
View File
@@ -0,0 +1,26 @@
wizard -minioutfit- and wizard hat, background is wizard tower, -minilocationaddition-
witch hat, cauldron, -mood- -minilocationaddition-
party hat, balloons, confetti, party
yoga -minioutfit-, doing yoga pose, stretching, yoga mat, yoga school
shell bikini and mermaid tail, under water, underground -minilocation-
superhero -minioutfit-, flying through the city, superhero pose
kung fu -minioutfit-, fighting pose, shaolin background, asian temple
atompunk torn -minioutfit-, post apocalyptic -descriptor- city, explosions in background, yellow hue
royal -descriptor- regalia, -descriptor- crown, sitting on a -descriptor- throne, majestic, -minivomit-, -minivomit-, castle
Cyberpunk metal -minioutfit- with -color- neon lines, cyberpunk city street, nighttime, neon -color- lights, nebula, metals
Emopunk goth -minioutfit-, sad, angry, alone, inside
super mario outfit, jumping, mushroom kingdom, huge mushrooms, video game, game art, nintencore
holy raiments, religious icons, cathedral, stained glass windows, colorful light through stained glass windows
exotic -minioutfit-, -descriptor-, tropical island, ocean, beach, sunny, daylight
orientalism -minioutfit-, oriental location, daylight, sun in the sky, outside, -mood-
-culture- warrior -minioutfit-, fighting stance, -minilocationaddition-, epic, fantasy
burlesque -minioutfit-, dancing, performing on stage, dynamic composition
white holy -minioutfit- made of silks and cloth, halo, sitting on a cloud, happy, tranquil
dark red evil -minioutfit- made of spikes and scales, in dungeon, bones and skulls, deathpunk, sinister
pirate -minioutfit-, on a ship, ocean, pirate island in background, tropical, palmtrees, waves
rogue -minioutfit-, -descriptor-, fantasy, epic, back alley in medieval town, sinister, smirk, evil
thief -material- -minioutfit-, -descriptor-, fantasy, epic, stealing gold from treasure chest, sinister, laughing, -mood-, gold, gems
knight metal -minioutfit- with -material- details, fantasy, castle, -minilocationaddition-, shield
necromancer -minioutfit- adorned with skulls, deathpunk vibes, evil green magic, casting magic pose
barbarian -minioutfit-, cloth and leather, muscles, strong, screaming to attack, fighting pose
barbie doll -minioutfit-, pink and pastel colors, barbies dream house, smiling, happy, frolicking
1 wizard -minioutfit- and wizard hat, background is wizard tower, -minilocationaddition-
2 witch hat, cauldron, -mood- -minilocationaddition-
3 party hat, balloons, confetti, party
4 yoga -minioutfit-, doing yoga pose, stretching, yoga mat, yoga school
5 shell bikini and mermaid tail, under water, underground -minilocation-
6 superhero -minioutfit-, flying through the city, superhero pose
7 kung fu -minioutfit-, fighting pose, shaolin background, asian temple
8 atompunk torn -minioutfit-, post apocalyptic -descriptor- city, explosions in background, yellow hue
9 royal -descriptor- regalia, -descriptor- crown, sitting on a -descriptor- throne, majestic, -minivomit-, -minivomit-, castle
10 Cyberpunk metal -minioutfit- with -color- neon lines, cyberpunk city street, nighttime, neon -color- lights, nebula, metals
11 Emopunk goth -minioutfit-, sad, angry, alone, inside
12 super mario outfit, jumping, mushroom kingdom, huge mushrooms, video game, game art, nintencore
13 holy raiments, religious icons, cathedral, stained glass windows, colorful light through stained glass windows
14 exotic -minioutfit-, -descriptor-, tropical island, ocean, beach, sunny, daylight
15 orientalism -minioutfit-, oriental location, daylight, sun in the sky, outside, -mood-
16 -culture- warrior -minioutfit-, fighting stance, -minilocationaddition-, epic, fantasy
17 burlesque -minioutfit-, dancing, performing on stage, dynamic composition
18 white holy -minioutfit- made of silks and cloth, halo, sitting on a cloud, happy, tranquil
19 dark red evil -minioutfit- made of spikes and scales, in dungeon, bones and skulls, deathpunk, sinister
20 pirate -minioutfit-, on a ship, ocean, pirate island in background, tropical, palmtrees, waves
21 rogue -minioutfit-, -descriptor-, fantasy, epic, back alley in medieval town, sinister, smirk, evil
22 thief -material- -minioutfit-, -descriptor-, fantasy, epic, stealing gold from treasure chest, sinister, laughing, -mood-, gold, gems
23 knight metal -minioutfit- with -material- details, fantasy, castle, -minilocationaddition-, shield
24 necromancer -minioutfit- adorned with skulls, deathpunk vibes, evil green magic, casting magic pose
25 barbarian -minioutfit-, cloth and leather, muscles, strong, screaming to attack, fighting pose
26 barbie doll -minioutfit-, pink and pastel colors, barbies dream house, smiling, happy, frolicking
+8
View File
@@ -0,0 +1,8 @@
professional
epic
masterpiece
fantasy
grand
masterwork
detailed
mundane
1 professional
2 epic
3 masterpiece
4 fantasy
5 grand
6 masterwork
7 detailed
8 mundane
+2 -1
View File
@@ -678,4 +678,5 @@ Labyrinth
color field
alternate dimensions
jupiter clouds
crack in the earth
crack in the earth
Mushroom Kingdom
1 Grand Canyon
678 color field
679 alternate dimensions
680 jupiter clouds
681 crack in the earth
682 Mushroom Kingdom
+19
View File
@@ -0,0 +1,19 @@
behance
majestic
elegant
-descriptor-
masterpiece
-vomit-
-mood-
highly detailed
surreal
insane details
intricate details
hyperdetailed
intricate background
fairy tale
concept art
(-color- theme:0.7)
Golden ratio
Rule of Thirds
awardwinning
1 behance
2 majestic
3 elegant
4 -descriptor-
5 masterpiece
6 -vomit-
7 -mood-
8 highly detailed
9 surreal
10 insane details
11 intricate details
12 hyperdetailed
13 intricate background
14 fairy tale
15 concept art
16 (-color- theme:0.7)
17 Golden ratio
18 Rule of Thirds
19 awardwinning
+2 -1
View File
@@ -491,4 +491,5 @@ Armor
Short skirt and a long jacket
-material- outfit
Band shirt
Holy raiment
Holy raiment
Witch hat
1 Formal attire
491 Short skirt and a long jacket
492 -material- outfit
493 Band shirt
494 Holy raiment
495 Witch hat
+2 -1
View File
@@ -70,4 +70,5 @@ Meditation pose
perched on a cloud
captivating pose
confident stance
royal pose
royal pose
frolicking in a -minilocation-
1 looking up
70 perched on a cloud
71 captivating pose
72 confident stance
73 royal pose
74 frolicking in a -minilocation-
+6 -3
View File
@@ -6,10 +6,13 @@ visiting -location-
with a -animal-
surrounded by -object-s
eating -food-
and -fictional-
and -nonfictional-
and -human-
holding hands with -human-
cosplaying as -fictional-
with -color- skin
with -material- skin
feeling -mood-
bathing in a river
bathing in a river
-pose- under a waterfall
torn -minioutfit-
wearing -elaborateoutfit-
1 riding a -animal-
6 with a -animal-
7 surrounded by -object-s
8 eating -food-
9 and -fictional- and -human-
10 and -nonfictional- holding hands with -human-
11 cosplaying as -fictional-
12 with -color- skin
13 with -material- skin
14 feeling -mood-
15 bathing in a river
16 -pose- under a waterfall
17 torn -minioutfit-
18 wearing -elaborateoutfit-
+3 -2
View File
@@ -7,5 +7,6 @@ de dia los muertos
mechanical
lord of the rings scenery landscape
between the stars
dreamy
concept art
surrounded by fire
-season-
-color- smoke
1 floating in space
7 mechanical
8 lord of the rings scenery landscape
9 between the stars
10 dreamy surrounded by fire
11 concept art -season-
12 -color- smoke
+5 -1
View File
@@ -82,4 +82,8 @@ Movie concept art
taiji
dreamy
concept art
silhouette
silhouette
fairy tale
(-color- and -color-:0.7)
quantum wavetracing
de dia los muertos
1 Golden ratio
82 taiji
83 dreamy
84 concept art
85 silhouette
86 fairy tale
87 (-color- and -color-:0.7)
88 quantum wavetracing
89 de dia los muertos
+1 -1
View File
@@ -35,4 +35,4 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im
print("")
print("All done!")
generateprompts(10,7,"all","all","only templates",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","")
generateprompts(10,5,"humanoid","all","all",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","")
+1 -1
View File
@@ -9,7 +9,7 @@ def uncommon_dist(insanitylevel):
return (random.randint(1, 18)<insanitylevel or insanitylevel >= 10)
def rare_dist(insanitylevel):
roll = (random.randint(1, 30)<insanitylevel or insanitylevel >= 10)
roll = (random.randint(1, 30)<insanitylevel or insanitylevel >= 11)
if(roll):
print("adding something rare to the prompt")
return roll