Seeds and Reproducibility: Recreating AI Images Exactly
How seeds work in local image generation, what else must match to reproduce an image, variation seeds, and why results differ across hardware.
A seed sets the starting noise. Reproducing an image needs the seed and everything else that shaped it.
What must match
- Model and version (including VAE).
- Prompt and negative prompt.
- Seed.
- Sampler and scheduler.
- Steps and CFG.
- Width and height.
- LoRAs and their strengths.
- Precision (FP16, FP8, GGUF level).
What can still differ
- Hardware: different GPU architectures can produce slightly different numbers.
- Software versions: updates to UIs or libraries.
- Noise source: some UIs offer GPU or CPU noise; switching changes results.
- Non-deterministic optimisations: some attention backends trade exact determinism for speed.
Embedded metadata
ComfyUI saves the full workflow inside PNGs; drag one back in to restore it. A1111-style UIs save generation parameters in image metadata.
Using seeds creatively
- Fix the seed, vary one setting: learn what each does.
- Fix the seed, vary prompt words: controlled edits.
- Variation seeds: blend a second seed at low strength for near-duplicates.
Batch exploration
Random seeds for exploration, then lock the winner and refine. See batch generation workflows.
Common questions
Why can't I reproduce an image with the same seed?
Something else differs: model version, sampler, scheduler, resolution, LoRA, precision, GPU type, software version or a non-deterministic optimisation.
What are variation seeds?
A secondary seed blended with the main one at a chosen strength, producing images similar to the original but slightly different.
Is the seed the same across different UIs?
Not necessarily. Noise generation can differ between UIs and between GPU and CPU noise, so the same seed may produce different images.
Related reading
How to Use LoRAs: Strength, Trigger Words and Stacking
GuideFace Detailer Guide: Sharper Faces With ADetailer and FaceDetailer
GuideComfyUI Nodes Explained: The Core Nodes and What They Do
Free toolImage Prompt Generator
Browse more: all guides · comparisons · glossary · free tools