r/StableDiffusion • Comfy Org • Jan 21 '23

Workflow Included Using Anythingv3 as a first pass model and Abyss Orange Mix 2 as a second pass model gives some cool results.

234 Upvotes

40 comments sorted by

42

u/comfyanonymous Comfy Org Jan 21 '23

This is my exact workflow. I'm using my own GUI here: https://github.com/comfyanonymous/ComfyUI
But you should be able to replicate it with any UI with img2img.

4

u/Nevysha Jan 21 '23

Looks nice. I try to install it but I'm not sure on how to use it. For exemple I can't seems to have my model loading inside the UI to select one. I'm running Automatic1111 on default port with api enabled

1

u/comfyanonymous Comfy Org Jan 21 '23

If you are talking about my UI you need to put the models in the right directory: models/checkpoints/ as explained in the README. This doesn't depending on the automatic webui so you should close it unless you have enough memory to run both at the same time.

1

u/Nevysha Jan 21 '23

My bad, I thought it was a UI that function over something else

1

u/BjornHafthor Jan 21 '23

I am yet to manage to load a VAE in Automatic/TheLastBen… the worst is nobody else seems to have this problem, and I am using Google Colab with clean installs, so there is no way to fix it I can think of.

2

u/[deleted] Jan 21 '23

I can't load a VAE either. I have Anything and Orangemix vae and it doesn't work. I also get "Torch not compiled with CUDA enabled" error

2

u/lazyzefiris Jan 21 '23

OOOOOH that's almost the kind of UI I've been looking for!

I've envisioned another layer of UI though, where chosen fields of "blueprint" would be laid out in classical manner, but this is still prety close!

1

u/Zipp425 Official CivitAi Jan 21 '23

This looks awesome. Excited to try it out and see what it can do.

6

u/K0ba1t_17 Jan 21 '23

Very good results!

Just interesting, configs like 'v1-inference_clip_skip_2.yaml' are for your GUI only, or necessary for AUTOMATIC WebUI ?

3

u/comfyanonymous Comfy Org Jan 21 '23

Yes. I decided to put the clip skip inside the config yaml because that's where it's configured in SD2. Using that config should be the same as loading the model regularly and setting clip skip 2 in the automatic webui.

6

u/artoonu Jan 21 '23

I don't get it.

Why not just use second model if it ends up with it's style?

I mean, sure, both models has their strengths, but I don't see any reason to switch models. Anything V3 and OrangeMixes (I'm using BloodOrangeMix) are generating pretty much the same compositions, OrangeMix maybe even better... if it doesn't throw cropped or multiple frames or... Wait. Maybe I'm starting to get it.

I have to give it a shot later :P

11

u/comfyanonymous Comfy Org Jan 21 '23

AOM2 has very blurry backgrounds when used on its own and it's also very overfit. This lets me use the freedom of anythingv3 with the style of AOM2 while also getting a sharp image.

3

u/diputra Jan 21 '23

Why both has different prompt? Does it because recommend it by the mix recipe or you need to generate danboroo tag for the 2nd pass?

4

u/comfyanonymous Comfy Org Jan 21 '23

The first pass is really for composition and the second one is for detail. If you are doing images with a character in the picture like mine it's best to limit the tags describing the background in the first pass for example or they will drown out the tags for the character but that's not the case for the second pass where you can put all the tags you want for the background.

Different tags in the second pass can also be used to limit artifacts and aberrations. For example sometimes using the same prompt as the first pass will turn some background detail into girls or whatever you have highly emphasized in your prompt. Having a different second pass prompt with less emphasis on those tags can fix that.

9

u/stablediffusioner Jan 21 '23 edited Jan 21 '23

Anything* is great with human anatomy, often within 10 steps and without negative bad anatomy promts, and it rarely gets these errors:

- bad hands

- missing (lower) leg

- disconnected leg/foot (in "sitting/kneeling" prompts with lots of shading (bright spots on brown ground randomly become legs))

- conjoined legs or 2 nearby characters

- torso or head or foot rotated by 180deg

- a bit too long limbs/legs

- duplicate head/torso

and all of the above are tricky to address with negatives for any model, and just doing 30 steps is the simple fix here.

This makes anything* a good first-pass model, except maybe for the anime-style bobble heads and excessive hair styles to be a bit hard to fix (try inpainting)

you can relatively easily force anything* to be not rendered in anime-style, with obvious anti-cartoon negatives; anime, cartoon, painting, drawing, cell-shading, flat-shading, black outlines, big eyes, big head but more importantly, with (contextually relevant) light-transport terms and detailing-terms (making it look like a more realistic ghibly background at least, and usually close enough to realism at best (and too abstract mmo-style when you overdo it)

versatile and efficient example prompt for Anything3 (and pretty much any mode, just sort elements to re-prioritize for model-biases) so far

https://www.reddit.com/r/StableDiffusion/comments/109ebkf/comment/j4bze3x/?utm_source=share&utm_medium=web2x&context=3

 (((128k))), ((64k)), (32k), 16k, photorealistic photon-mapping, canon 55, pristine translucent flowering layered solar-punk garden on a fine hot-springs flowering Penthouse-Garden Balcony made of inter-reflection Glass, sharp atmospheric-scattering muted-pastel-palette overcast specular-highlights Sunset over a Science-fiction canyon cyberpunk-skyline, cyan ray-tracing art-decor (Space-Elevator) (Sky-Scrapers) to the (Stars), specular refraction rapids Science-fiction Landscape, sharp global illumination purple Northern-Lights, tall wild ground floor flowering grass, alien iridescent butterfly,  subsurface scattering bird wings, indirect lighting exterior light, intricate layered steampunk mega-city, transparent reflective glass dome greenhouse, exotic fruit trees, 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, color bleeding 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, , ambient  occlusion, attenuation

(((lens-flare))) , bloom, glow, fog, drone-footage, conjoined, bw, blur, painting, PC-game, 3d render, comic, cartoon, anime, illustration, indoors, over-saturated, too many limbs, 2 headed, floating bush, floating branch, text, letter, signature, watermark, missing limb, missing foot, missing lower leg, mangled

Only do 10 steps in larger resolutions, and with only 10-20 guidance-scale. above prompt is designed to efficiently give a large variety of high-resolution outdoor skylines. (((ens flare))) is anything3 specific, when using THIS much scify+light-Transport, its heavily implied and needs to be cancelled out. The fantasy-scify authors are significant even for anything3 to add some variety, and those themes are more tolerant in terms of improper physics (mostly multiple suns/moons and other unstable mega-structures). If light-transport term is too dominant, or a detailing-term adds to much golden-carpet-lace, either place it later, remove it, or add it to a later-mentioned relevant object.

1

u/Mich-666 Jan 23 '23 edited Jan 23 '23

Any reason to use hard instead of normal nsfw version of AOM2?

Is the model actually better with anatomy? From what I saw the nswf model should suffice?

Or had your tests shown different results?

1

u/comfyanonymous Comfy Org Jan 23 '23

I didn't test the other flavors, I grabbed that one since it was the one I saw other people use.

1

u/kyoshiroyang Feb 27 '23

I'm using this fantastic model, but all my outcome look pretty dull, how is these all so colorful/ saturated?

3

u/KayLazyBee Jan 21 '23

This is really cool i love your approach on the UI, i will definitely be checking this repo out. Thanks so much for sharing this.

3

u/Kenyko Jan 21 '23

I think this sub needs a FAQ or something because we have so many great workflows being shared but the nature of reddit makes it so hard to find things again.

2

u/Zipp425 Official CivitAi Jan 21 '23

If you’re up for exploring this more, I’ve got a few ideas after seeing some things pop up on Civitai.

  • The 7th Heaven mix seems like a good derivative of both anything and orange.
  • The effect of the sxz-bloom hypernetwork on anime based models is really cool and might be another cool thing to add to the comparison pipeline.

2

u/ImShrpy Jan 21 '23 edited Jan 21 '23

This is about exactly what I wanted to create with SD. Thank you so much for making this public! Great work btw!

1

u/APAcuka1978 Jan 21 '23

Indeed. Cool. Just partly because of the snow

1

u/Several_Comic_Bark Jan 21 '23

I want to do stuff like this but I don't know how to make a second pass

1

u/Lonely-Definition756 Jan 21 '23

Holyy this is absolutly fire

1

u/Kantuva Jan 22 '23

Go share them on /r/WaifuDiffusion

Dont bother with the mouthbreathers on this subreddit

Appreciated for the work that it took to compile everything on the github and for doing good showcases of the AbyssOrangeMixes

1

u/TheRealShamger Jan 22 '23

I been trying to install and use this ai for concept so I can improve my own art, but i have zero idea what im doing, could someone show me a tutorial that shows me all the steps to using this ai?

1

u/LonerGothOnline Jan 28 '23

excellent. I wish more japanese art studios knew this and were allowed to implement it in their workflows natively. as is.

1

u/[deleted] Mar 21 '23

Thank you for posting the UI configuration!
I tried it out too using a LoRA, but the results are rather disappointing, not really sure what im doing wrong.

1

u/[deleted] Mar 21 '23

Those are the results i get when 1:1 copying your setup

1

u/[deleted] Mar 21 '23

Okay some better negative prompts fixed it:
(worst quality, low quality:1.4), (realistic, lip, nose, tooth, rouge, lipstick, eyeshadow:1.0), (dusty sunbeams:1.0),, (abs, muscular, rib:1.0), (depth of field, bokeh, blurry:1.4), (greyscale, monochrome:1.0), text, title, logo, signature,watermark

Only thing missing now is the high detail

-11

u/mudman13 Jan 21 '23

Nice and crisp, just wish there was a better showcase for stable diffusion than fractionally post pubescent teenage girls..

5

u/stablediffusioner Jan 21 '23

"flat chest" is in the prompt, as it should, because SD has a bias in favor of huge tits.

-3

u/Dxmmer Jan 21 '23

people really can't put 2 and 2 together. its ok don't live in denial. accepting you have a problem is the first step to healing.

-7

u/mutsuto Jan 21 '23

im going to comment something rude, if you dont want to read something rude, dont click the spoiler

this is fucking awful

0

u/[deleted] Jan 21 '23

[deleted] — view deleted comment

7

u/Pretend-Marsupial258 Jan 21 '23

I think you take the first image and then run it through img2img using the second model, but keep the prompt the same.

0

u/[deleted] Feb 17 '23

[deleted] — view deleted comment

1

u/comfyanonymous Comfy Org Feb 17 '23

Try using the same sampler/denoise that I use. 1.5x is a good number for the upscale so it should work well.