How can I generate the exact same image twice using AI image generation tools?

Hello everyone,

I am a third-year student studying ICT and business, and I find the technology behind diffusion models very interesting. I have posted the same question on r/StableDiffusion, but I hope to gain more insights here as well.

I’ve been experimenting with various AI image generation tools, but I haven’t been able to generate the exact same image twice from the same prompt. I’m seeking advice on how to achieve consistent image outputs.

Tools I’ve tested:

  • ChatGPT
  • Adobe Firefly
  • Llama 3.2
  • ComfyUI

I’ve tried:
Using the same prompt multiple times.
Looking for options to set a seed value, but haven’t found a way in these tools.

My goal: Generate the identical image every time I use the same prompt.

Questions:

  1. Has anyone successfully generated the same image multiple times using these or similar tools?
  2. If so, could you please share how you achieved this consistency?
  3. Are there specific settings or methods to control randomness in these models?
  • I’m particularly interested in techniques applicable to Stable Diffusion models.
  • Any documentation or resources on this topic would be greatly appreciated.

Thanks for your help!

1 Like

Looking for options to set a seed value, but haven’t found a way in these tools.

This is correct, I’ll look for a sample.

Edit:
There is a seed in the Advanced tab, so please try fixing it. It should be possible with ComfyUI…