Encyclopedia Autonomica

Encyclopedia Autonomica

Share this post

Encyclopedia Autonomica
Encyclopedia Autonomica
Code Clinic | Finding your Seed in Stable Diffusion

Code Clinic | Finding your Seed in Stable Diffusion

A short python script that runs a locally hosted model on a MacOS Macbook Air (M1)

Jan Daniel Semrau (MFin, CAIO)'s avatar
Jan Daniel Semrau (MFin, CAIO)
Aug 14, 2023
∙ Paid
1

Share this post

Encyclopedia Autonomica
Encyclopedia Autonomica
Code Clinic | Finding your Seed in Stable Diffusion
1
Share

Stable Diffusion is a really powerful image generator. Yet, one of the problems I encountered time and time again was finding the right seed.

Most UIs randomize it and I found this really annoying. Just for the record.

Here is an example from stable diffusion how you can work with a prompt if you have found a good seed.

Besides the prompt and the model, finding the right seed is really powerful because it helps to ensure reproducible results. And if you want to do actual work with the images you have created, then finding the right seed should be a core component of your workflow.

If you are really in a hurry, here is my final code on GitHub, the software is provided as is.

So how can you find the right seed?

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 JDS
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share