Consistent Results: How to Use the Seed Command
Midjourney offers the ability to create complex and visually stunning images with just a few keystrokes. However, if you want more consistency in your projects, Midjourneyâs default settings, which allow for quick-and-easy results, are more of a problem.
Look at the results of this prompt:
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252F3zPVCMvP6WnDnJ1JQo2p%252F0_yZJ3dtIixeI8M6cZ.webp%3Falt%3Dmedia%26token%3D22915fd5-5b04-4770-82cc-a4b54800a0d8&width=768&dpr=4&quality=100&sign=27554601&sv=1)
Pretty cool for accomplishing that with just a basic description, right? Now letâs just run the same prompt again:
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252FDQoFEVYpKUrIJKXgtGc8%252F0__Oa0kNcD7NXFroQJ.webp%3Falt%3Dmedia%26token%3D5ffcf712-3975-420c-8090-e483e4e33895&width=768&dpr=4&quality=100&sign=f4f7a811&sv=1)
Awesome. But completely different cats and sofas!
The reason for this: under the hood Midjourney uses randomness to generate your images. Think of it like this: by default, Midjourney selects a random seed value in each generation process that defines the type of noise pattern Midjourney uses to generate the image you want. This seed value is simply a number used to introduce a random but consistent element of ânoiseâ into the process.
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252Fotmhx90R5hDXGcPyXZVh%252Fimage.png%3Falt%3Dmedia%26token%3Ddcc7693b-bdbf-424e-9fd3-b067d5704cac&width=768&dpr=4&quality=100&sign=e868e654&sv=1)
The number itself is not of particular importance, since it is used to make the results random. However, it does mean that Midjourney will use a different number at each prompt, which will produce different results unless you define a specific seed value. This is where the âseed commandâ comes in.
Seed Command to the Rescue
By using the seed command, we can force Midjourney to use a specific starting point for our prompt, so that if we use the same seed with the same prompt, we will get the same results.
To set the seed value, we use the âseedâ parameter and add a random number:
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252F13PlnendYkDB2NK8mEVL%252Fimage.png%3Falt%3Dmedia%26token%3Dd962833b-b858-4fce-a72a-359f335de06a&width=768&dpr=4&quality=100&sign=17bbacea&sv=1)
Finding the Seed Value
Pretty cool. But what if you didnât specify the starting value, but want to revise an image where you left off? Letâs go back to our first cat images
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252F077vGMJhY1XvrEzThYAm%252F0_yZJ3dtIixeI8M6cZ%2520%281%29.webp%3Falt%3Dmedia%26token%3D226710a5-1ea8-4782-ba45-5b6c9d4c5b01&width=768&dpr=4&quality=100&sign=773aef33&sv=1)
Since we didnât specify a starting value with the âseedâ command, Midjourney just took a random seed value and started from there. So what we do is ask the Midjourney bot for the seed value it used â itâs that simple. We scroll down to the Midjourney bot message that contains this image grid, click on the messageâs reaction button, and then click on the envelope icon. Ta-da! (If you do not find the envelope in the reaction menu immediately, try typing âenvelopeâ in the search bar within the reaction menu)
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252FO4J050d22x78OVZ0XWFp%252Fimage.png%3Falt%3Dmedia%26token%3D6ab443df-ab50-4660-a8c3-7ab9394f1091&width=768&dpr=4&quality=100&sign=d7f4c887&sv=1)
Youâll immediately get a direct message from the Midjourney Bot with the desired information:
![](https://hoangs-organization-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F776071570-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUqAM95RGFwa67orEDags%252Fuploads%252FLWiY6D8ZTR4qkVLneQRE%252F1_7yc5FHwB21TBODf17Dqc1g.webp%3Falt%3Dmedia%26token%3Dde9d5d0e-2180-40cb-b7d3-5a534eeebd10&width=768&dpr=4&quality=100&sign=d56fcc44&sv=1)
Alright, our seed value has been 4031079018. Now if we use this prompt:
We will get the same image we created before.
Last updated