tokinator version 1

This commit is contained in:
AIrjen
2024-01-11 21:47:34 +01:00
parent 65bdf8fadd
commit bfa49fc7d2
8 changed files with 795781 additions and 12981 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from build_dynamic_prompt import *
from csv_reader import *
artists = ["all", "all (wild)", "none", "popular", "greg mode", "3D", "abstract", "angular", "anime" ,"architecture", "art nouveau", "art deco", "baroque", "bauhaus", "cartoon", "character", "children's illustration", "cityscape", "cinema", "clean", "cloudscape", "collage", "colorful", "comics", "cubism", "dark", "detailed", "digital", "expressionism", "fantasy", "fashion", "fauvism", "figurativism", "gore", "graffiti", "graphic design", "high contrast", "horror", "impressionism", "installation", "landscape", "light", "line drawing", "low contrast", "luminism", "magical realism", "manga", "melanin", "messy", "monochromatic", "nature", "nudity", "photography", "pop art", "portrait", "primitivism", "psychedelic", "realism", "renaissance", "romanticism", "scene", "sci-fi", "sculpture", "seascape", "space", "stained glass", "still life", "storybook realism", "street art", "streetscape", "surrealism", "symbolism", "textile", "ukiyo-e", "vibrant", "watercolor", "whimsical"]
imagetypes = ["all", "all - force multiple", "photograph", "octane render","digital art","concept art", "painting", "portrait", "anime key visual", "only other types", "only templates mode", "art blaster mode", "quality vomit mode", "color cannon mode", "unique art mode", "massive madness mode", "photo fantasy mode", "subject only mode", "fixed styles mode"]
imagetypes = ["all", "all - force multiple", "photograph", "octane render","digital art","concept art", "painting", "portrait", "anime key visual", "only other types", "only templates mode", "art blaster mode", "quality vomit mode", "color cannon mode", "unique art mode", "massive madness mode", "photo fantasy mode", "subject only mode", "fixed styles mode", "the tokinator"]
subjects =["all", "object", "animal", "humanoid", "landscape", "concept"]
genders = ["all", "male", "female"]
emojis = [False, True]
+26 -2
View File
@@ -144,7 +144,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
charactertypelist = csv_to_list("charactertypes", antilist)
objectstoholdlist = csv_to_list("objectstohold", antilist)
episodetitlelist = csv_to_list(csvfilename="episodetitles",antilist=antilist,skipheader=True)
tokenlist = csv_to_list(csvfilename="tokens",antilist=antilist,skipheader=True)
tokenlist = []
# additional descriptor lists
@@ -282,6 +282,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
buildfacepartlist = csv_to_list("buildfaceparts", antilist,"./csvfiles/special_lists/",0,"?")
buildfacelist = csv_to_list("buildface", antilist,"./csvfiles/special_lists/",0,"?")
tokinatorlist = csv_to_list("tokinator", antilist,"./csvfiles/templates/",0,"?")
styleslist = csv_to_list("styles", antilist,"./csvfiles/templates/",0,"?")
@@ -790,6 +791,8 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
if(imagetype == "the tokinator"):
specialmode = True
thetokinatormode = True
# for performance, load the list here
tokenlist = csv_to_list(csvfilename="tokens",antilist=antilist,skipheader=True)
print("Running with a completely random set of words")
print("All safety and logic is turned off")
@@ -1540,7 +1543,28 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
# start tokinator here
if(thetokinatormode == True):
completeprompt += "-token-, -token-, -token-, -token-, -token-"
if(chance_roll(insanitylevel,"normal")):
if(chance_roll(insanitylevel,"normal")):
completeprompt += "(OR(;-imagetypequality-;uncommon) OR(-imagetype-;-othertype-;rare):1.3) "
else:
completeprompt += "OR(;-imagetypequality-;uncommon) OR(-imagetype-;-othertype-;rare) "
completeprompt += random.choice(tokinatorlist)
if(givensubject == "" and overrideoutfit == ""):
completeprompt = completeprompt.replace("-subject-", "-token-")
elif(givensubject == "" and overrideoutfit != "" and "-outfit-" not in completeprompt):
completeprompt = completeprompt.replace("-subject-", "-token- wearing a OR(-token-;;normal) -outfit-")
elif(givensubject != "" and overrideoutfit != "" and "-outfit-" not in completeprompt):
completeprompt = completeprompt.replace("-subject-", givensubject + " wearing a OR(-token-;;normal) -outfit-")
else:
completeprompt = completeprompt.replace("-subject-", givensubject)
if(overrideoutfit == ""):
completeprompt = completeprompt.replace("-outfit-", "-token-")
else:
completeprompt = completeprompt.replace("-outfit-", overrideoutfit)
# start image type
+7 -1
View File
@@ -8,4 +8,10 @@ detailed
mundane
8k
awardwinning
studio
studio
dark
colorful
vibrant
dramatic
artistic
-basicbitchdescriptor-
1 professional
8 mundane
9 8k
10 awardwinning
11 studio
12 dark
13 colorful
14 vibrant
15 dramatic
16 artistic
17 -basicbitchdescriptor-
+1 -2
View File
@@ -6,5 +6,4 @@ unique art mode
massive madness mode
photo fantasy mode
subject only mode
fixed styles mode
the tokinator
fixed styles mode
1 only templates mode
6 massive madness mode
7 photo fantasy mode
8 subject only mode
9 fixed styles mode
the tokinator
+8 -2
View File
@@ -468,6 +468,12 @@ pastel colors, -subject-, cloudy, dreamy, enchanted atmosphere
photograph, rich colors, -subject-, expensive luxurious materials, upper class, royal aesthetic
photograph, muted colors, -subject-, cheap trashy materials, lower class, lowborn aesthetic
photograph, dark colors, -subject-, gothic themes, witchy aesthetic, emo, asymmetry, vertical proportions
anime sketch, -subject-, in pencil, warm colors, expressionism, romanticism, anime style, cottagecore
anime sketch, -subject-, in pencil, partly cell-shaded, chiaroscuro, muted colors, soft light, anime style
anime style, anime sketch of a -subject-, front view, 2d, bright colors, saturated colors, morning sunlight, water colors
impressionism art by Rumiko Takahashi claude monet, painting with small brush strokes, 2d, 80's anime style, 1920's -subject-, contrasting colors, impressionism, capturing the light, en plein air
impressionism art by Rumiko Takahashi claude monet, painting with small brush strokes, 2d, 80's anime style, 1920's -subject-, contrasting colors, impressionism, capturing the light, en plein air
exotic, -subject-, tropical, caribbean, colorful, warm, sultry
japanese yakuza style back tattoo of a -subject-, full irezumi, tattoo ink, japonism, symbolism, tattoo on a persons back, nobori-ryu
snowglobe with a -subject- inside, snowy layer, snowing inside snowglobe, glass, idyllic and cute, bokeh background
roman style mosaic of a -subject-, it is a wall mosiac that is roman themed, fragmented, assembled, detailed
ancient greek style vase, with an image of a -subject-, ceramic decor, vase painting, red- and black-figure vessels
futurism, -subject- from the year 3000, sci-fi influence, prominent technology, inspiration from space themes, sleek
1 professional 3d model -subject-, octane render, highly detailed, volumetric, dramatic lighting
468 photograph, rich colors, -subject-, expensive luxurious materials, upper class, royal aesthetic
469 photograph, muted colors, -subject-, cheap trashy materials, lower class, lowborn aesthetic
470 photograph, dark colors, -subject-, gothic themes, witchy aesthetic, emo, asymmetry, vertical proportions
471 anime sketch, -subject-, in pencil, warm colors, expressionism, romanticism, anime style, cottagecore anime sketch, -subject-, in pencil, partly cell-shaded, chiaroscuro, muted colors, soft light, anime style
472 anime style, anime sketch of a -subject-, front view, 2d, bright colors, saturated colors, morning sunlight, water colors
473 impressionism art by Rumiko Takahashi claude monet, painting with small brush strokes, 2d, 80's anime style, 1920's -subject-, contrasting colors, impressionism, capturing the light, en plein air
474 exotic, -subject-, tropical, caribbean, colorful, warm, sultry
475 japanese yakuza style back tattoo of a -subject-, full irezumi, tattoo ink, japonism, symbolism, tattoo on a persons back, nobori-ryu
476 snowglobe with a -subject- inside, snowy layer, snowing inside snowglobe, glass, idyllic and cute, bokeh background
477 roman style mosaic of a -subject-, it is a wall mosiac that is roman themed, fragmented, assembled, detailed
478 ancient greek style vase, with an image of a -subject-, ceramic decor, vase painting, red- and black-figure vessels
479 futurism, -subject- from the year 3000, sci-fi influence, prominent technology, inspiration from space themes, sleek
+9
View File
@@ -0,0 +1,9 @@
, a OR(;-token-;normal) -subject- that is -token-, in the background there is -token-, very -token-, -token-, OR(;-token-;normal)
of the personification of OR(;-token-;normal) -subject- wearing a -outfit-, background is made up of -token-, very -token-, -token-, OR(;-token-;normal)
, an OR(;-token-;normal) object in the shape of OR(;-token-;normal) -subject-, it is -token- and -token-, it is made of -token-, very -token-, -token-, OR(;-token-;normal)
, OR(;-token-;normal) -subject- object, very -token-, elements of -token-, in the background there is -token- and -token-, very -token-, -token-, OR(;-token-;normal)
, a landscape that features -subject- and -token-, the -token- is -token-, background has -token-, very -token-, -token-, OR(;-token-;normal)
, shaped as a OR(;-token-;normal) -subject-, it is -token-, -token-, in a -outfit-, very -token-, -token-, OR(;-token-;normal)
, -conceptprefix- of OR(;-token-;normal) -subject- on a -token-, -token- elements and detailed as -token-, has a -outfit-, in the back are -token-, very -token-, -token-, OR(;-token-;normal)
of a OR(;-token-;normal) OR(creature;beast;animal;myth;concept) based on -subject-, it is -token- and very -token-, has elements of OR(;-token-;normal) -outfit-, very -token-, -token-, OR(;-token-;normal)
, -outfit- with human form of OR(;-token-;normal) -subject-, feeling like -token-, detailed with -token-, very -token-, -token-, OR(;-token-;normal)
1 , a OR(;-token-;normal) -subject- that is -token-, in the background there is -token-, very -token-, -token-, OR(;-token-;normal)
2 of the personification of OR(;-token-;normal) -subject- wearing a -outfit-, background is made up of -token-, very -token-, -token-, OR(;-token-;normal)
3 , an OR(;-token-;normal) object in the shape of OR(;-token-;normal) -subject-, it is -token- and -token-, it is made of -token-, very -token-, -token-, OR(;-token-;normal)
4 , OR(;-token-;normal) -subject- object, very -token-, elements of -token-, in the background there is -token- and -token-, very -token-, -token-, OR(;-token-;normal)
5 , a landscape that features -subject- and -token-, the -token- is -token-, background has -token-, very -token-, -token-, OR(;-token-;normal)
6 , shaped as a OR(;-token-;normal) -subject-, it is -token-, -token-, in a -outfit-, very -token-, -token-, OR(;-token-;normal)
7 , -conceptprefix- of OR(;-token-;normal) -subject- on a -token-, -token- elements and detailed as -token-, has a -outfit-, in the back are -token-, very -token-, -token-, OR(;-token-;normal)
8 of a OR(;-token-;normal) OR(creature;beast;animal;myth;concept) based on -subject-, it is -token- and very -token-, has elements of OR(;-token-;normal) -outfit-, very -token-, -token-, OR(;-token-;normal)
9 , -outfit- with human form of OR(;-token-;normal) -subject-, feeling like -token-, detailed with -token-, very -token-, -token-, OR(;-token-;normal)
+795726 -12972
View File
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -22,7 +22,7 @@ subjectsubtypesobject = ["all"]
subjectsubtypeshumanoid = ["all"]
subjectsubtypesconcept = ["all"]
artists = ["all", "all (wild)", "none", "popular", "greg mode", "3D", "abstract", "angular", "anime" ,"architecture", "art nouveau", "art deco", "baroque", "bauhaus", "cartoon", "character", "children's illustration", "cityscape", "cinema", "clean", "cloudscape", "collage", "colorful", "comics", "cubism", "dark", "detailed", "digital", "expressionism", "fantasy", "fashion", "fauvism", "figurativism", "gore", "graffiti", "graphic design", "high contrast", "horror", "impressionism", "installation", "landscape", "light", "line drawing", "low contrast", "luminism", "magical realism", "manga", "melanin", "messy", "monochromatic", "nature", "nudity", "photography", "pop art", "portrait", "primitivism", "psychedelic", "realism", "renaissance", "romanticism", "scene", "sci-fi", "sculpture", "seascape", "space", "stained glass", "still life", "storybook realism", "street art", "streetscape", "surrealism", "symbolism", "textile", "ukiyo-e", "vibrant", "watercolor", "whimsical"]
imagetypes = ["all", "all - force multiple", "photograph", "octane render","digital art","concept art", "painting", "portrait", "anime key visual", "only other types", "only templates mode", "art blaster mode", "quality vomit mode", "color cannon mode", "unique art mode", "massive madness mode", "photo fantasy mode", "subject only mode", "fixed styles mode"]
imagetypes = ["all", "all - force multiple", "photograph", "octane render","digital art","concept art", "painting", "portrait", "anime key visual", "only other types", "only templates mode", "art blaster mode", "quality vomit mode", "color cannon mode", "unique art mode", "massive madness mode", "photo fantasy mode", "subject only mode", "fixed styles mode", "the tokinator"]
promptmode = ["at the back", "in the front"]
promptcompounder = ["1", "2", "3", "4", "5"]
ANDtogglemode = ["none", "automatic", "prefix AND prompt + suffix", "prefix + prefix + prompt + suffix"]
@@ -485,6 +485,8 @@ class Script(scripts.Script):
17. fixed styles mode --> Generate a subject on top of a fixed style.
18. the tokinator --> Complete random word gibberish mode, use at own risk
### 🎲🖼️ One in X chance to use special image type mode
<font size="2">