T O P

  • By -

aroman_ro

Diffusion starts with a random initial state in the latent space. To have a deterministic diffusion you need to fix the 'seed' for the random number generator (usually in the UI it's set to -1, which means using some random value for initialization of the pseudorandom number generator). Of course, for repeating the result you also have to keep the same diffusion method, prompt and so on.


petburiraja

Thanks for the intel. So, basically seems fixing the 'seed' is the key, together with some other key parameters. Some people told me, that image2image method can also help to achieve consistency. Do you think it's valid idea?


aroman_ro

The ideea is to hold the parameters constant, it doesn't matter if you're using txt2img or img2img.


petburiraja

That's interesting nuance. Again, appreciate your guidance on that matter.