this post was submitted on 06 Jul 2023
14 points (100.0% liked)

AI Generated Images

7074 readers
131 users here now

Community for AI image generation. Any models are allowed. Creativity is valuable! It is recommended to post the model used for reference, but not a rule.

No explicit violence, gore, or nudity.

This is not a NSFW community although exceptions are sometimes made. Any NSFW posts must be marked as NSFW and may be removed at any moderator's discretion. Any suggestive imagery may be removed at any time.

Refer to https://lemmynsfw.com/ for any NSFW imagery.

No misconduct: Harassment, Abuse or assault, Bullying, Illegal activity, Discrimination, Racism, Trolling, Bigotry.

AI Generated Videos are allowed under the same rules. Photosensitivity warning required for any flashing videos.

To embed images type:

“![](put image url in here)”

Follow all sh.itjust.works rules.


Community Challenge Past Entries

Related communities:

founded 1 year ago
MODERATORS
 

I'm still figuring out what happens when settings are changed in stablediffusion. Tonight I played with sampling. With a really basic prompt, I increased the sampling by 1 going all the way to the max of 150, keeping everything else exactly the same. The results were interesting.

Note: I uploaded them in order, not sure why imgur changed that around. The number under the photo is the number of samples

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago

Sampling is just how many passes Stable Diffusion makes to generate the image. It makes noise based on the seed and then diffuses it with the prior image in "latent space" as many times as you select.

The first few samples are going to be pretty abstract, but with each pass it can add more detail. At a certain point, additional passes aren't likely to get much more detail, though, I think primarily due to the limitation of the resolution (512 for 1.5, for example). Instead, the new noise basically pushes the image in a slightly altered direction.

There's no right answer to how many steps you should use. It's going to vary between models, seeds, and your prompt. I find 20-40 works best in Stable Diffusion 1.5 based models.

If you generate an image that looks great other than some minor oddities, try adjusting the steps up or down a bit and see if it resolves it. If not, use a seed variation (the "Extra" checkbox next to the seed number in AUTO1111) to keep the original seed, but introduce slight alterations.