Adding in Flora

This commit is contained in:
AIrjen
2023-07-09 07:57:20 +02:00
parent e5083da95a
commit e0c50094ca
10 changed files with 167 additions and 87 deletions
+18 -5
View File
@@ -89,9 +89,10 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
waterlocationlist = csv_to_list("waterlocations", antilist)
containerlist = csv_to_list("containers", antilist)
firstnamelist = csv_to_list(csvfilename="firstnames",antilist=antilist,skipheader=True,gender=gender)
floralist = csv_to_list("flora", antilist)
humanlist = fictionallist + nonfictionallist + humanoidlist
objecttotallist = objectlist + buildinglist + vehiclelist + foodlist + spacelist
objecttotallist = objectlist + buildinglist + vehiclelist + foodlist + spacelist + floralist
# build artists list
artistlist = []
@@ -157,6 +158,7 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
generatefood = True
generatebuilding = True
generatespace = True
generateflora = True
generateanimal = True
generatemanwoman = True
generatemanwomanrelation = True
@@ -256,6 +258,8 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
generatebuilding = False
if item[0] == 'subject_space' and item[1] != 'on':
generatespace = False
if item[0] == 'subject_flora' and item[1] != 'on':
generateflora = False
# animals
if item[0] == 'subject_animal' and item[1] != 'on':
generateanimal = False
@@ -427,7 +431,8 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
generatefood = bool(foodlist) and generatefood
generatebuilding = bool(buildinglist) and generatebuilding
generatespace = bool(spacelist) and generatespace
generateobject = generatevehicle or generateobject or generatefood or generatebuilding or generatespace
generateflora = bool(floralist) and generateflora
generateobject = generatevehicle or generateobject or generatefood or generatebuilding or generatespace or generateflora
if(generatevehicle):
@@ -454,6 +459,11 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
addontolocationlist.append("-building-")
addontolocationinsidelist.append("-building-")
if(generateflora):
objectwildcardlist.append("-flora-")
hybridlist.append("-flora-")
addontolocationlist.append("-flora-")
if(generateobject):
mainchooserlist.append("object")
@@ -1233,6 +1243,8 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
objectwildcardlist = ["-building-"]
if(subtypeobject == "space"):
objectwildcardlist = ["-space-"]
if(subtypeobject == "flora"):
objectwildcardlist = ["-flora-"]
# if we have a given subject, we should skip making an actual subject
if(givensubject == ""):
@@ -1897,9 +1909,10 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
"-manwomanrelation-" in completeprompt or
"-waterlocation-" in completeprompt or
"-container-" in completeprompt or
"-firstname-" 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-", "-brand-", "-space-", "-artist-", "-imagetype-", "-othertype-", "-quality-", "-lighting-", "-camera-", "-lens-","-imagetypequality-", "-poemline-", "-songline-", "-greatwork-", "-artistfantasy-", "-artistpopular-", "-artistromanticism-", "-artistphotography-", "-emoji-", "-timeperiod-", "-shotsize-", "-musicgenre-", "-animaladdition-", "-addontolocationinside-", "-addontolocation-", "-objectaddition-", "-humanaddition-", "-overalladdition-", "-focus-", "-direction-", "-styletilora-", "-manwomanrelation-", "-waterlocation-", "-container-", "-firstname-"]
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, brandlist, spacelist, artistlist, imagetypelist, othertypelist, qualitylist, lightinglist, cameralist, lenslist, imagetypequalitylist, poemlinelist, songlinelist, greatworklist, fantasyartistlist, popularartistlist, romanticismartistlist, photographyartistlist, emojilist, timeperiodlist, shotsizelist, musicgenrelist, animaladditionlist, addontolocationinsidelist, addontolocationlist, objectadditionslist, humanadditionlist, overalladditionlist, focuslist, directionlist, stylestiloralist, manwomanrelationlist, waterlocationlist, containerlist, firstnamelist]
"-firstname-" in completeprompt or
"-flora-" 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-", "-brand-", "-space-", "-artist-", "-imagetype-", "-othertype-", "-quality-", "-lighting-", "-camera-", "-lens-","-imagetypequality-", "-poemline-", "-songline-", "-greatwork-", "-artistfantasy-", "-artistpopular-", "-artistromanticism-", "-artistphotography-", "-emoji-", "-timeperiod-", "-shotsize-", "-musicgenre-", "-animaladdition-", "-addontolocationinside-", "-addontolocation-", "-objectaddition-", "-humanaddition-", "-overalladdition-", "-focus-", "-direction-", "-styletilora-", "-manwomanrelation-", "-waterlocation-", "-container-", "-firstname-", "-flora-"]
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, brandlist, spacelist, artistlist, imagetypelist, othertypelist, qualitylist, lightinglist, cameralist, lenslist, imagetypequalitylist, poemlinelist, songlinelist, greatworklist, fantasyartistlist, popularartistlist, romanticismartistlist, photographyartistlist, emojilist, timeperiodlist, shotsizelist, musicgenrelist, animaladditionlist, addontolocationinsidelist, addontolocationlist, objectadditionslist, humanadditionlist, overalladditionlist, focuslist, directionlist, stylestiloralist, manwomanrelationlist, waterlocationlist, containerlist, firstnamelist, floralist]
allwildcardslistwithhybrid = ["-material-", "-descriptor-", "-outfit-", "-conceptsuffix-","-culture-", "-objecttotal-"]
allwildcardslistwithhybridlists = [materiallist, descriptorlist,outfitlist,conceptsuffixlist,culturelist, objecttotallist]
+1
View File
@@ -10,6 +10,7 @@ subject_vehicle;on
subject_food;on
subject_space;on
subject_building;on
subject_flora;on
# animals;
subject_animal;on
# humanoids;
1 #this file controls the generation process
10 subject_food on
11 subject_space on
12 subject_building on
13 subject_flora on
14 # animals
15 subject_animal on
16 # humanoids
+128 -76
View File
@@ -1,81 +1,133 @@
Tree
Bush
Flower
Oak tree
Maple tree
Pine tree
Apple tree
Cherry blossom tree
Redwood tree
Birch tree
Willow tree
Palm tree
Magnolia tree
Roses
Sunflowers
Daisies
Tulips
Orchids
Lilies
Poppies
Hydrangeas
Irises
Marigolds
Leaf
Twig
Pinecone
Acacia
Acorn
Moss
Seedling
Petal
Fern
Mushroom
Mossy rock
Beehive
Vine
Willow basket
Coral reef
Honeycomb
Wildflower bouquet
Cactus spines
Pebble
Bamboo shoot
Sunflower field
Pine needle carpet
River stone
Seashell
Alder
Algae
Apple tree
Ash
Autumn leaf pile
Seaweed
Pine bark
Butterfly cocoon
Dandelion fluff
Bird nest
Water lily pad
Herb garden
Wild berry bush
Tree stump
Coral reef
Wild mushroom patch
Tulip bulb
Oak tree branch
Hummingbird feeder
Pond water lilies
Straw bale
Azalea
Bark
Bamboo
Bamboo shoot
Banyan
Baobab
Beech
Beehive
Birch
Birch tree
Black oak
Branch
Bouquet
Forest
Meadow
Garden
-waterlocation-
Rainforest
Waterfall
Rock formation
Foliage
Wilderness
Biodiversity
Ecosystem
Bush
Cactus
Cactus spines
Camellia
Carnation
Catalpa
Cedar
Cherry blossom tree
Chestnut
Chrysanthemum
Coral reef
Cypress
Daffodil
Daisies
Daisy
Dandelion
Dandelion fluff
Dogwood
Elm
Eucalyptus
Fern
Fir
Flora
Fauna
Woodland
Arboretum
Flower
Foliage
Forest
Fungus
Garden
Geranium
Ginkgo
Grass
Hazel
Herb garden
Hickory
Holly
Honeycomb
Hummingbird feeder
Hydrangea
Iris
Ironwood
Ivy
Jasmine
Juniper
Lavender
Leaf
Lichen
Lilac
Lily
Linden
Locust
Magnolia tree
Mahogany
Maple tree
Marigold
Marigolds
Meadow
Moss
Mossy rock
Mulberry
Mushroom
Nature
Oak tree
Olive
Orchard
Herb garden
Orchid
Palm tree
Pear
Pebble
Pecan
Peony
Petal
Petunia
Pine needle carpet
Pine tree
Pinecone
Poinsettia
Pond water lilies
Poplar
Poppies
Red oak
Redwood tree
River stone
Rose
Roses
Sagebrush
Sassafras
Seagrass
Seaweed
Seedling
Sequoia
Shrub
Spruce
Succulent
Sunflower
Sycamore
Tree
Tree stump
Tulip
Flower Bulb
Twig
Vine
Violet
Walnut
Water lily pad
Waterfall
White oak
Wild berry bush
Wild mushroom patch
Wilderness
Wildflower bouquet
Willow
Willow tree
Yew
1 Tree Acacia
Bush
Flower
Oak tree
Maple tree
Pine tree
Apple tree
Cherry blossom tree
Redwood tree
Birch tree
Willow tree
Palm tree
Magnolia tree
Roses
Sunflowers
Daisies
Tulips
Orchids
Lilies
Poppies
Hydrangeas
Irises
Marigolds
Leaf
Twig
Pinecone
2 Acorn Acorn
3 Moss Alder
4 Seedling Algae
5 Petal Apple tree
6 Fern Ash
Mushroom
Mossy rock
Beehive
Vine
Willow basket
Coral reef
Honeycomb
Wildflower bouquet
Cactus spines
Pebble
Bamboo shoot
Sunflower field
Pine needle carpet
River stone
Seashell
7 Autumn leaf pile Autumn leaf pile
8 Seaweed Azalea
9 Pine bark Bark
10 Butterfly cocoon Bamboo
11 Dandelion fluff Bamboo shoot
12 Bird nest Banyan
13 Water lily pad Baobab
14 Herb garden Beech
15 Wild berry bush Beehive
16 Tree stump Birch
17 Coral reef Birch tree
18 Wild mushroom patch Black oak
19 Tulip bulb Branch
Oak tree branch
Hummingbird feeder
Pond water lilies
Straw bale
20 Bouquet Bouquet
21 Forest Bush
22 Meadow Cactus
23 Garden Cactus spines
24 -waterlocation- Camellia
25 Rainforest Carnation
26 Waterfall Catalpa
27 Rock formation Cedar
28 Foliage Cherry blossom tree
29 Wilderness Chestnut
30 Biodiversity Chrysanthemum
31 Ecosystem Coral reef
32 Cypress
33 Daffodil
34 Daisies
35 Daisy
36 Dandelion
37 Dandelion fluff
38 Dogwood
39 Elm
40 Eucalyptus
41 Fern
42 Fir
43 Flora Flora
44 Fauna Flower
45 Woodland Foliage
46 Arboretum Forest
47 Fungus
48 Garden
49 Geranium
50 Ginkgo
51 Grass
52 Hazel
53 Herb garden
54 Hickory
55 Holly
56 Honeycomb
57 Hummingbird feeder
58 Hydrangea
59 Iris
60 Ironwood
61 Ivy
62 Jasmine
63 Juniper
64 Lavender
65 Leaf
66 Lichen
67 Lilac
68 Lily
69 Linden
70 Locust
71 Magnolia tree
72 Mahogany
73 Maple tree
74 Marigold
75 Marigolds
76 Meadow
77 Moss
78 Mossy rock
79 Mulberry
80 Mushroom
81 Nature
82 Oak tree
83 Olive
84 Orchard Orchard
85 Herb garden Orchid
86 Palm tree
87 Pear
88 Pebble
89 Pecan
90 Peony
91 Petal
92 Petunia
93 Pine needle carpet
94 Pine tree
95 Pinecone
96 Poinsettia
97 Pond water lilies
98 Poplar
99 Poppies
100 Red oak
101 Redwood tree
102 River stone
103 Rose
104 Roses
105 Sagebrush
106 Sassafras
107 Seagrass
108 Seaweed
109 Seedling
110 Sequoia
111 Shrub
112 Spruce
113 Succulent
114 Sunflower
115 Sycamore
116 Tree
117 Tree stump
118 Tulip
119 Flower Bulb
120 Twig
121 Vine
122 Violet
123 Walnut
124 Water lily pad
125 Waterfall
126 White oak
127 Wild berry bush
128 Wild mushroom patch
129 Wilderness
130 Wildflower bouquet
131 Willow
132 Willow tree
133 Yew
+2 -1
View File
@@ -23,4 +23,5 @@ simple -color- background
-descriptor- background
-descriptor- -color- background
-culture- background
-space- background
-space- background
-flora- in background
1 background is -location-
23 -descriptor- background
24 -descriptor- -color- background
25 -culture- background
26 -space- background
27 -flora- in background
@@ -5,6 +5,8 @@ visiting a -building-
visiting -location-
with a -animal-
surrounded by -object-s
surrounded by -flora-s
surrounded by -space-
eating -food-
and -human-
holding hands with -human-
1 riding a -animal-
5 visiting -location-
6 with a -animal-
7 surrounded by -object-s
8 surrounded by -flora-s
9 surrounded by -space-
10 eating -food-
11 and -human-
12 holding hands with -human-
@@ -6,4 +6,5 @@
-color- -minilocation-
lush -minilocation-
dense -minilocation-
-season- -minilocation-
-season- -minilocation-
-minilocation- with -flora-
1 -minilocation-
6 -color- -minilocation-
7 lush -minilocation-
8 dense -minilocation-
9 -season- -minilocation-
10 -minilocation- with -flora-
+2 -1
View File
@@ -10,4 +10,5 @@ detailed with -material- -descriptor- patterns
intricate details
smooth
designed by -brand-
made from -space-
made from -space-
made from -flora-
1 with a face
10 intricate details
11 smooth
12 designed by -brand-
13 made from -space-
14 made from -flora-
+3 -2
View File
@@ -6,7 +6,7 @@ flying
distant nuclear explosion
de dia los muertos
mechanical
lord of the rings scenery landscape
lord of the rings scenery landscape, -flora-
between the stars
surrounded by fire and ice
infused with ethereal color
@@ -41,4 +41,5 @@ clean, soap bubbles, iridescent
-color- light shining from within
and the genre is -musicgenre-
displayed in a rainbow pattern
inside a -container-
inside a -container-
-flora-, -flora-, -flora-, -flora-
1 floating in space
6 distant nuclear explosion
7 de dia los muertos
8 mechanical
9 lord of the rings scenery landscape lord of the rings scenery landscape, -flora-
10 between the stars
11 surrounded by fire and ice
12 infused with ethereal color
41 -color- light shining from within
42 and the genre is -musicgenre-
43 displayed in a rainbow pattern
44 inside a -container-
45 -flora-, -flora-, -flora-, -flora-
+4 -1
View File
@@ -24,4 +24,7 @@ Glacier
Underwater Cave
Onsen
Bath
Shower
Shower
Sauna
Spa
Thermal baths
1 River
24 Underwater Cave
25 Onsen
26 Bath
27 Shower
28 Sauna
29 Spa
30 Thermal baths
+5
View File
@@ -80,6 +80,7 @@ generateobject = True
generatefood = True
generatebuilding = True
generatespace = True
generateflora = True
generateanimal = True
generatemanwoman = True
generatemanwomanrelation = True
@@ -107,6 +108,8 @@ for item in config:
generatebuilding = False
if item[0] == 'subject_space' and item[1] != 'on':
generatespace = False
if item[0] == 'subject_flora' and item[1] != 'on':
generateflora = False
# animals
if item[0] == 'subject_animal' and item[1] != 'on':
generateanimal = False
@@ -167,6 +170,8 @@ if(generatebuilding):
subjectsubtypesobject.append("buildings")
if(generatespace):
subjectsubtypesobject.append("space")
if(generateflora):
subjectsubtypesobject.append("flora")
# humanoids (should I review descriptions??)
if(generatemanwoman):