r/StableDiffusion • • Jan 11 '23

Tutorial | Guide a "10 steps only" test run for 1 day taught me many lessons in what makes a good and efficient prompt

This is still a very early and always an incomplete work in progress, so for now just a gist:

Portraits are easy, BUT a good portrait, like "Mona Lisa" also thrives from its background and set design.

within only 10 steps, most (more general) models can only do decent backgrounds/sets, so we initially focus on that. (AnythingV3 is an exception here, it does great anatomy of dozens of highly detailed and anatomically/physically correct characters and structures in 10 steps)

I start with larger merged models, to get a more generally useful result, mostly "D18, berry_mix, AnythingV3", BUT many other models keep positively surprising me with efficient-prompts-found-below, to they get revisited, mostly "moDi", and the common famous models.

We focus on efficiency, and do not force a model into drawing something, that it is barely trained at, like "x-ray of an elephant", which would take way too many steps to get even remotely useful outputs from. ANY excessive negative prompt also forces a model into doing something ,that it is likely not so good at (just negatively), so we also barely use any negatives, besides the obvious "blur,oversaturated,undersaturared,fog..." trust me, this is fine, one surprising lesson of "10 steps only" is how often less but more efficient prompts are significantly better than excessive semi-repetitive prompts.

Instead we focus on getting a high-quality image of "any nice background set" with only 10 steps.

This lets us get more higher quality background in a shorter time, that we then (inpaint things onto or style transfer with other models).

...

51 Upvotes

14 comments sorted by

View all comments

Show parent comment

2

u/stablediffusioner Jan 14 '23 edited Feb 05 '23

update on AnythingV3 and on science-fiction illustrators.

the anithymgV3 model is harder to optimize-in-10-steps for (it is a bit over-fitted for anime and human anatomy, allowing for GOOD humans in only 10 steps BUT at a cost-of-variety), so i thought of including my fantasy + science fiction themes for more variety within rapid-10-step-backgrounds (also, scify-genre is much more lenient to "physical errors" like false-colors or bad scale or anything more unusual/ALIEN, like 2 suns in a sunset or too many moons...), and for that i wanted to see, what fantasy + science-fiction illustrators even work, and how well.

Starting with "Wikipedia list of fantasy + science fiction illustrators" and then filtering first by whether or not the model gets even triggered significantly by them, and then further ranking the remaining 40 authors that AnythingV3 and f222/MD18 recognize, I got me this: by Mike Hinge, by Rodney Matthews, by Brian Froud, by Jean-Baptiste Monge, by Stephen Hickman, by Wendy Froud, by Donato Giancola, by Clyde Caldwell, by Doug Chiang, by James C. Christensen, by Gerald Brom, by Stephen Bradbury, by Brothers Hildebrandt, by Don Dixon, by Stephan Martinière, by H. R. Giger <- ranked by how good they do 12 different scify scenes with the AnythingV3 model with no negative prompts, and at least half of those scenes are just as "fantasy themed", explaining why most of the illustrators in that list only do fantasy-themed. (getting the wikipedia-list shorter took half a day)

the anythingV3 model will be VERY fuzzy if you only declare an artist-style without a fitting image, because it is more fitted to anime.

with this, i tried my best to "make scify look good with the anythingV3 model", and while it will do most scify scenes in 10 steps, it just wont do them too well/varied, and instead barely have any variation-by-illustrator from the same seeds, showing, that those artists often have only a minor effect (except for "Giger", one of the most dominant text2image styles, only surpassed by very abstract artists or something like "Hell-raiser style")

balancing light-transport and detailing terms for AnythingV3 was VERY hard to do, and it worked better, if i used them as attributes for a lot of scene-elements. this gave me my prompt-so-far for anythingV3 (and it really needs a LOT of flare/bloom negative-prompt and not too many other negative prompts, or it will just glare glow way too much).

(((128k))), ((64k)), (32k), 16k, photorealistic, canon 55, atmospheric-scattering overcast Sky, photon-mapping muted-pastel-palette Sunset, specular-highlights pristine translucent flowering layered solar-punk garden, sharp global illumination purple Northern-Lights, cyan ray-tracing art-decor Space-Elevator Sky-Scraper to the Stars, canyon, rapids, garden, hot-springs, green specular refraction Science-fiction Landscape, tall wild ground floor flowering grass, alien iridescent butterfly, subsurface scattering bird wings, indirect lighting exterior light, intricate layered cyberpunk mega-city, transparent reflective glass dome greenhouse, exotic fruit trees, fine flowering Penthouse Balcony, area-light neon advertisement blimp, floating ornamented utopian marble floor Atlantis Temples, large accurate intricate reflectance greebles windows, meticulous dry canyons, physically based rendering rainbow, lavish caustics hot springs, detailed refraction rapids, elaborate waterfalls, specular highlights of rainy swamps, jungle, tropical translucent flowers, luminescent mushrooms, precise columnar jointing, wild moist tropical specular scattering sentient iridescent vegetation, delicate glossy flying cars,opulent space station, low orbit, aliens, alien animals,alien jungle, metallic laboratory, laser pistol battle, golden specular reflection shadow mapping alien spaceship, spaceship hospital, pastel palette, glowing power generator room, docking-station, space-port, robot, cylindrical ring-world, space-station, alien crowd, glass windows, glowing engines, lasers, point-defense-turrets, spaceship battle, Big explosion, torpedoes, force fields, shields , fist fight, ( by Mike Hinge, by Rodney Matthews, by Brian Froud, by Jean-Baptiste Monge, by Stephen Hickman, by Wendy Froud, by Donato Giancola, by Clyde Caldwell, by Doug Chiang, by James C. Christensen, by Gerald Brom, by Stephen Bradbury, by Brothers Hildebrandt, by Don Dixon, by Stephan Martinière, by Giger ) , specular roughness, specular, specular color, inter-reflection, ambient occlusion, attenuation <- work in progress, has many semi-dupe entries. the later terms tend to be totally dominated by earlier terms. (eg, the Giger prompt only completely failed meat "neon steampunk city by Giger (in 10 steps)" (as expected) and gets "creative enough" on the other 10 prompts to be a top20/200)

((((((lens-flare)))))), (((bloom))), tilt-shift, birds-eye-view, drone-photography, from airplane, slanted angle, overexposed, underexposed, over-saturated, under-saturated, monochrome, signature, watermark, depth of field, molten,melting,blur,motion blur,fog,bloom,glow,long exposure,pollution, dust, ocean, floating branch, floating flower, mangled, sketch, abstract <- negatives lists tend to be shorter for AnythingV3 because its REALLY good at anatomy.

this is made for AnythingV3, and i tested it a bit with 3 larger model-mergers, and it still "mostly works"

edit, just don't use color bleeding, its a bad habit to make it randomly rain blood.