Member-only story

Adventure in Imagineering — Getting Random

Fahim Farook
4 min readSep 18, 2022

--

The same prompt and same seed but different schedulers

As I’ve written previously, I’ve been working on a GUI for Stable Diffusion since I prefer working with a simple UI that allows me to do everything in one place. The trouble with that is that I don’t get as much time for doing other Stable Diffusion development since I only get to do any of this work in my spare time and on weekends.

One thing that I had been meaning to look into was that my Stable Diffusion image generator wasn’t working correctly with the seed function. Basically, each image generated by Stable Diffusion uses a random seed, which is just a random integer. If you generate a new image using the same prompt and seed, you’ll get the exact same image from Stable Diffusion again.

At least, that was the theory 🙂

My original code for working with Stable Diffusion did not have the random number feature, nor did it support entering your own random number. But I added that with the second iteration of the GUI.

Note: If you like the GUI below and would like to use it, you can get it here:

https://github.com/FahimF/sd-gui

Instructions for installing are there as well but if you are not familiar with the comand-line or Python, it can be a bit of work 🙂 I did consider writing a script which would simplify the work for people, but there…

--

--

Fahim Farook
Fahim Farook

Written by Fahim Farook

CEO and head iPhone tinkerer at RookSoft. Mad coder and tech editor. Author of a couple of books on iOS development.

No responses yet