# Seed (Image Generation)

> The number that sets an AI image's random start. Same seed, same settings, same image.

**Field:** Artificial Intelligence  
**Category:** Multimodal  
**Also known as:** Random Seed (AI Image), Image Seed, Generation Seed

## Think of it like

It is like the number on a puzzle box. The same number always gives you the same puzzle.

## Definition

A seed is a number that sets the random starting point of an AI image. Image models begin from random noise and shape it, step by step, into a picture. The seed decides what that first noise looks like. With the same seed, prompt, settings and model, you get the same image again. Change only the seed and you get a new take on the same prompt.

## Example

Lucy likes image 4 of a batch, which used seed 1234. She keeps that seed and changes one word in the prompt to tweak just the colors.

## Example code

```text
prompt: a red fox in snow
seed: 1234
steps: 30
```

Run this again with seed 1234 and the same model, and the same fox comes back.

## Why it matters

It lets you repeat a good result and change one thing at a time. Without it, every run is a new roll of the dice.

## Common mistake

Expecting the same seed to work across tools. A new model, size or setting gives a different picture, even with the same seed.

## Three principles

- **Sets the noise.** The random start of the image.
- **Repeat on purpose.** Same inputs, same image.
- **One tool only.** Change the model, lose the match.

## Related terms

- [Diffusion Model](https://learn.benibix.com/term/ai/diffusion-model)
- [Text-to-Image](https://learn.benibix.com/term/ai/text-to-image)
- [Negative Prompt](https://learn.benibix.com/term/ai/negative-prompt)
- [LLM Sampling](https://learn.benibix.com/term/ai/sampling)
- [Stable Diffusion](https://learn.benibix.com/term/ai/stable-diffusion)

![A prompt box sends into an image generator, with three dials beside it: a negative prompt, a seed number and a pose sketch. Two outputs come out, a flat picture and a 3D chair seen from three sides.](https://learn.benibix.com/diagrams/ai5-image-controls.svg)

---

Source: https://learn.benibix.com/term/ai/generation-seed
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
