minor additions

pull/43/head
AIrjen 2023-06-08 22:39:24 +02:00
parent ac5c111e74
commit f233cb8fa2
8 changed files with 40 additions and 11 deletions

View File

@ -103,6 +103,8 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
custominputsuffixlist = csv_to_list("custom_input_suffix",antilist,"./userfiles/")
generatecustominputsuffix = bool(custominputsuffixlist) # True of not empty
customsubjectslist = csv_to_list("custom_subjects",antilist,"./userfiles/")
# special lists
backgroundtypelist = csv_to_list("backgroundtypes", antilist,"./csvfiles/special_lists/")
insideshotlist = csv_to_list("insideshots", antilist,"./csvfiles/special_lists/")
@ -218,9 +220,9 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
if(generateconcept):
mainchooserlist.append("concept")
# determine wether we should go for a template or not
# determine wether we should go for a template or not. Not hooked up to insanitylevel
templatemode = False
if(rare_dist(insanitylevel) or imagetype == "only templates"):
if(random.randint(1, 20) == 1 or imagetype == "only templates"):
templatemode = True
@ -1120,9 +1122,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 or "-elaborateoutfit-" in completeprompt or "-minivomit-" in completeprompt or "-vomit-" in completeprompt or "-rpgclass-" 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-", "-rpgclass-"]
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, rpgclasslist]
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 or "-rpgclass-" in completeprompt or "-subjectfromfile-" 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-", "-rpgclass-", "-subjectfromfile-"]
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, rpgclasslist, customsubjectslist]
allwildcardslistwithhybrid = ["-material-", "-descriptor-", "-outfit-", "-conceptsuffix-","-culture-", "-objecttotal-"]
allwildcardslistwithhybridlists =[materiallist, descriptorlist,outfitlist,conceptsuffixlist,culturelist, objecttotallist]

View File

@ -33,4 +33,5 @@ Abstract
Fractal
portrait
Raw digital photo
Airbrush painting
Airbrush painting
On pale black paper
1 RAW photo
33 Fractal
34 portrait
35 Raw digital photo
36 Airbrush painting
37 On pale black paper

View File

@ -16,4 +16,5 @@ concept art
(-color- theme:0.7)
Golden ratio
Rule of Thirds
awardwinning
awardwinning
stylized
1 behance
16 (-color- theme:0.7)
17 Golden ratio
18 Rule of Thirds
19 awardwinning
20 stylized

View File

@ -321,6 +321,7 @@ oil painting with heavy impasto of a -culture- -subject- and its -job-, cosmic h
-subject- dressed as storm trooper, -outfit-, starship background, (((full body visible))), looking at viewer, portrait, photography, detailed skin, realistic, photo-realistic, 8k, highly detailed, full length frame, High detail RAW color art, piercing, diffused soft lighting, shallow depth of field, sharp focus, hyperrealism, cinematic lighting;prompthero;gallery;humanoid;-human-
ultra realistic photo portrait of -subject- cosmic energy, colorful, painting burst, beautiful symmetrical face, nonchalant kind look, realistic round eyes, tone mapped, intricate, elegant, highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, dreamy magical atmosphere, art by artgerm and greg rutkowski and alphonse mucha, 4k, 8k;prompthero;gallery;humanoid;-human-
-artmovement-, -subject-, star wars setting;prompthero;gallery;humanoid;-fictional-
magical -subject-, -haircolor- long hair, sparkle, vibrant, bioluminescence, 8k;prompthero;gallery;humanoid;-human-
portrait of -subject-, pen and ink, intricate line drawings, by craig mullins, ruan jia, kentaro miura, greg rutkowski;prompthero;gallery;humanoid;-fictional-
((tarot card with intricate detailed frame around the outside)), side profile of -descriptor- head of -subject- with large moon in background, -descriptor-, styled in Art Nouveau, insanely detailed,embellishments, high definition, concept art,digital art, vibrant;prompthero;gallery;humanoid;-manwoman-
-subject-, high ornamented light -minioutfit-, fluffy fur, foggy, wet, stormy, 70mm, cinematic, highly detailed;prompthero;gallery;animal;-animal-
@ -416,4 +417,25 @@ a -subject-, nightly, spiral, naive nerikomi, weird perspective, extra narrow, d
-subject-. highly detailed, digital painting, watercolor, soviet realism, engraving, artstation, concept art, smooth, sharp focus, vivid grunge, manga, illustration, unreal engine 5, 8k, art by bilibin and kilian eng and kuvshinov and malevich and mucha;replicable;gallery;animal;-animal-
digital illustration of a -subject- flowing through a vibrant alien landscape, art by Junji Ito, Cyril Rolando, Pablo Amaringo, M.W Kaluta, Victo Ngai and Caspar David Friedrich, colorful alien flora, wide angle, panoramic, fantasy, 8k resolution, deviantart, trending on Artstation, concept art, Terragen, HDR, Octane;replicable;gallery;landscape;-location-
a beautiful artwork illustration, -object- hovering around breathtaking clouds, high contrast, high contrast, high contrast, vibrant colors, vivid colors, high saturation, by Greg Rutkowski and Jesper Ejsing and Raymond Swanland, featured on artstation, wide angle, vertical orientation;replicable;gallery;object;-vehicle-
appealing naturalistic portrait of a -descriptor- -descriptor- -subject- -rpgclass- -rpgclass-, representational earth tones, stunning clarity experimental cut paper mixed media blotchy character shape design by masaaki yuasa, pleasing palette watercolor masterpiece;replicable;gallery;humanoid;-human-
appealing naturalistic portrait of a -descriptor- -descriptor- -subject- -rpgclass- -rpgclass-, representational earth tones, stunning clarity experimental cut paper mixed media blotchy character shape design by masaaki yuasa, pleasing palette watercolor masterpiece;replicable;gallery;humanoid;-human-
many -subject- doodle art style, colorful,tattoo;lexica;gallery;animal;-animal-
-subject-, in the style of adrian ghenie, esao andrews, jenny saville, edward hopper, surrealism, dark art by james jean, takato yamamoto, inkpunk minimalism;lexica;gallery;concept;the -conceptprefix- of -conceptsuffix-
Super -descriptor- -subject-, holding a -objecttotal-, light rain, -minilocation-, by POPMART blind box, -colorscheme-, mockup, blind box toy, fineluster, clean background, 3D render, oc render, best quality, 4k, ultradetailed;lexica;gallery;humanoid;-human-
a -descriptor- anthropomorphic -subject- smiling, accurate, unreal engine, 4k;lexica;gallery;object;-objecttotal-
A -descriptor- -culture- -subject- in a -minilocationaddition-, -colorscheme-;lexica;gallery;animal;-animal-
-culture- -subject- wearing -descriptor- -outfit-, cartoon character;lexica;gallery;humanoid;-manwoman-
-descriptor- terrarium with a little -subject-;lexica;gallery;object;-objecttotal-
pen and ink, illustrated by hergé, Background space and earth. . Sadness.;lexica;gallery;concept;the -conceptprefix- of -conceptsuffix-
A -descriptor- -descriptor- baby -subject- made of crystal ball with low poly eye's highly detailed intricated concept art trending artstation 8k;lexica;gallery;animal;-animal-
60s cartoon style photo of a -descriptor- -descriptor- -subject- in far off galaxy, style of Hannah Barbara, studio ghibli, akira toriyama, james gilleard, warner brothers, trending pixiv fanbox, acrylic palette knife, 8k, -colorscheme-, deviantart, trending on artstation, low details, smooth;lexica;gallery;humanoid;-job-
-descriptor- drawing like a -descriptor- -subject- with a daisy in hand, vector illustration for coloring book, black line art with white background;lexica;gallery;humanoid;-human-
-subject- chef making -food-, manga style, surreal;lexica;gallery;animal;-animal-
photo of a baby -subject- in the -minilocationaddition-, style of laurie greasley, studio ghibli, akira toriyama, james gilleard, genshin impact, trending pixiv fanbox, acrylic palette knife, 4k, vibrant colors, deviantart, trending on artstation, low details;lexica;gallery;animal;-animal-
colorful, -subject-s and -objectotal-s on pale black paper, very detailed illustration, sketch, concept art, ink outlines, smooth;lexica;gallery;animal;-animal-
landscape of -culture- countryside, coloring book, black and white, stars, black sky, clean lines, detailed, magical, van gogh style, wavy pattern;lexica;gallery;landscape;-culture-
a -subject- figurine super detailed colored pencil drawing with fluo colors;lexica;gallery;animal;-animal-
maximalist chaotic -subject-, birds eye view, illustrated by Hergé, style of tin tin comics, pen and ink;lexica;gallery;landscape;-location-
pixel art -subject-. 3d pixel art 4k wallpaper. incredible pixel art details. flowers. pixel art. lots of flowers in foreground;lexica;gallery;landscape;-location-
-descriptor- -subject- -culture- -artmovement- style. at an -location-;lexica;gallery;animal;-animal-
cartoon -subject- drawn in a simple style in -colorscheme- for children;lexica;gallery;animal;-animal-
-subject-, game asset, top down, centered, plain background;lexica;gallery;object;-objecttotal-
Can't render this file because it contains an unexpected character in line 224 and column 11.

View File

@ -90,4 +90,5 @@ de dia los muertos
otherworldly
cosmic energy
dreamy magical atmosphere
-color- sky
-color- sky
stylized
1 Golden ratio
90 otherworldly
91 cosmic energy
92 dreamy magical atmosphere
93 -color- sky
94 stylized

View File

@ -46,4 +46,4 @@ def generateprompts(amount = 1,insanitylevel="5",subject="all", artist="all", im
print("")
print("All done!")
generateprompts(10,5,"humanoid","all","all",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","HELLO")
generateprompts(10,5,"all","all","templates only",False,"","","PREFIXPROMPT" ,"SUFFIXPROMPT","",1,"","HELLO")

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 >= 11)
roll = (random.randint(1, 30)<insanitylevel or insanitylevel >= 10)
if(roll):
print("adding something rare to the prompt")
return roll

View File

@ -0,0 +1,2 @@
cat
dog
1 cat
2 dog