What the number is attached to
Diffusion starts from a field of pure noise and removes it step by step until an image appears. That noise has to come from somewhere, and a pseudorandom generator produces it from a single integer. That integer is the seed number. Same integer, same starting noise, same path through the denoising process, same picture.
This is why it is the most useful setting on the page and the least interesting one to tune. There is nothing to optimise. A seed is a bookmark, not a quality dial.
The workflow that makes it worth using
Almost every wasted afternoon of generation comes from changing two things at once. A fixed seed removes that problem entirely.
- Explore on random. Run the prompt four or five times with a random seed and look at the spread. This tells you what the prompt actually means to the model, which is usually broader than you assumed.
- Lock the best one. Copy the seed number from the run that came closest.
- Change exactly one thing. Guidance, a single clause, one style word, the sampler. Regenerate. Now the difference you see is caused by the thing you changed.
- Unlock at the end. Once the prompt is right, go back to random and generate a batch. You are now sampling variations of a prompt you trust rather than guessing.
Step three is where the whole value sits. Without a fixed seed, tuning a prompt is indistinguishable from re-rolling it.
What a seed does not do
It is not a style, an aesthetic, or a shared resource. The number means nothing outside the exact configuration that produced the image: same model, same version, same resolution, same everything. Somebody else's image seed pasted into your interface is just an arbitrary integer.
It is also not a fix for reproducibility across time. Hosted endpoints get updated, and a model version bump behind the same name will break your saved results without warning. If a look genuinely matters to a project, save the output file rather than trusting that the seed will regenerate it in six months.
Using it to get variation instead of repetition
The inverse trick is worth knowing. Once you have a composition you like, keeping the seed and making tiny prompt edits gives you near siblings: the same layout and lighting with a different jacket colour or time of day. Change the random seed instead and you get a genuinely different picture. So one number controls both halves of the job, holding a frame still while you iterate, or releasing it when you have iterated enough.