mcmonkeyprojects / SwarmUI

SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.
MIT License
1.29k stars 92 forks source link

Blurry images #250

Closed DiggyDre closed 1 month ago

DiggyDre commented 1 month ago

Your question

I keep getting FLUX blurry images. I decided to try out the new version of Forge and I get clear images using the same settings there but I don't want to use Forge because for some reason, my negative tab is greyed out on FLUX models. What am I doing wrong in Swarm that I can't generate a crystal clear FLUX image?

Logs

No response

Other

No response

Jelosus2 commented 1 month ago

You probably used CFG higher than 1

DiggyDre commented 1 month ago

You probably used CFG higher than 1

I was using 3.5 on the Dev model.

Jelosus2 commented 1 month ago

Try with 1

DiggyDre commented 1 month ago

Try with 1

So I realize that when it is at 1, the negative tab is greyed out in Swarm, which is odd because it was automatically greyed out in Forge. I am still getting images that have blurred skin, no skin details. Nothing that looks REAL like other images that people post.

jwax33 commented 1 month ago

Flux was designed to not use negative prompts. Your blurred issue is probably a settings issue. What Sampler and Scheduler are you using? If possible, screenshot everything so we can look at it.

DiggyDre commented 1 month ago

Flux was designed to not use negative prompts. Your blurred issue is probably a settings issue. What Sampler and Scheduler are you using? If possible, screenshot everything so we can look at it.

Flux Those are the only things that I have set. I actually never used Swarm until I decided I wanted to try Flux. It is so weird because some people say the CFG should be 3.5, some say 1. No matter what I try to generate, it could be a closeup of a woman's face, I still get smooth, plastic textured skin, as if the surface is blurry.

jwax33 commented 1 month ago

image So the actual CFG Scale should be set to 1. There is another setting called Flux Guidance Scale which is by default set to 3.5. But...that tends to make things look too plastic. Somewhere around 2.8 is a good compromise. Try lowering that to 2.8 and see if that helps with the blurred skin issue.

DiggyDre commented 1 month ago

image So the actual CFG Scale should be set to 1. There is another setting called Flux Guidance Scale which is by default set to 3.5. But...that tends to make things look too plastic. Somewhere around 2.8 is a good compromise. Try lowering that to 2.8 and see if that helps with the blurred skin issue.

WOW! It's a shame that they hide the Guidance Scale in the advanced section since it is so vital to making a better image when using a Flux model. It made a big difference. I wonder if there are any settings in the Refiner/Upscale section that I could use to push things further? Thank you so much!

jwax33 commented 1 month ago

There is another function called Perturbed-Attention Guidance Scale that has some impact on images. Lowering it tends to make the sampler more creative in my experience. The downside to it is it doubles the image generation time if you turn it on. It's at the very bottom of the Advanced Sampling menu.

image

mcmonkey4eva commented 1 month ago