ENGINEER Your Midjourney Prompts with SEEDS

Future Tech Pilot
22 Jan 202412:19

Summary

TLDRThis video explains how to test the impact of different words and phrases in a Midjourney prompt using seed numbers. It demonstrates isolating variables by changing one word at a time while keeping the seed number constant to see the effect. The video also shows how to use permutations to quickly test batches of similar words. Overall, it provides tips on prompt engineering to understand what matters most to Midjourney when generating images.

Takeaways

  • Use the same seed number when testing different words in a prompt
  • Isolate variables by changing just one word and keeping everything else the same
  • Seeds give similar shapes between prompts, not identical images
  • Testing excitement vs disappointment showed clear emotional differences
  • Artist names may not always be needed in prompts
  • Seeds don't guarantee consistency across prompts
  • Seeds are specific to Midjourney versions
  • Reply vs react give different interfaces in Discord
  • Make sure to use the plain envelope emoji
  • Use permutations to quickly test batches of similar words

Q & A

  • How can you test which words matter most in a Midjourney prompt?

    -Use seed numbers to isolate variables. Change one word at a time while keeping the seed number the same to see the effect on the generated image.

  • What do seed numbers ensure when testing prompts?

    -Seed numbers ensure you get a similar overall shape or composition between images, allowing for a controlled test.

  • Why test excitement vs disappointment?

    -Testing emotional words like excitement vs disappointment clearly shows Midjourney's interpretation of emotions through the facial expressions and body language in generated images.

  • Do you always need to include an artist's name in a prompt?

    -No, testing shows including specific artists in prompts does not always change the output, so their names may not be needed.

  • Can the same seed number guarantee identical images across prompts?

    -No, seeds do not guarantee consistency across different prompts, only rough similarity in composition.

  • Do seeds work across Midjourney versions?

    -No, seeds are specific to their Midjourney version and will not generate the same images if the version changes.

  • How can you find the seed number for an existing image?

    -React to the image using the plain envelope emoji in Discord (not reply) and Midjourney's bot will message you the seed number.

  • What are permutations useful for?

    -Permutations allow quickly testing batches of similar words to see if different phrasing substantially changes the meanings for Midjourney.

  • What should you check if having issues with seeds?

    -Make sure to allow DMs from strangers, react to images instead of replying, and use the plain envelope emoji.

  • How can seeds help in prompt engineering?

    -Seeds allow methodically testing which words have an impact by isolating variables, helping construct more effective prompts.

Outlines

00:00

Isolating Variables to Understand Prompt Effects

This paragraph explains how you can isolate variables in a prompt by keeping the seed number constant and changing a word or phrase to see its effect. It demonstrates this by testing whether "gai group" impacts the output image.

05:01

Testing Multiple Similar Words Quickly

This paragraph shows how you can use permutations to test batches of similar words quickly in a prompt. It gives an example with words like "speeding", "rushing", "racing", "hurrying" to see if they make a difference.

10:03

Testing Adjectives and Art Styles

This paragraph recommends testing adjectives and art styles using seed testing. It shows examples of testing "excited" vs "disappointed" and an artist's name to see their impact.

Mindmap

Keywords

💡prompt engineering

Prompt engineering refers to carefully crafting prompts to get better results from AI image generators like Midjourney. It involves testing different words and phrases to understand their impact on the final image. The video demonstrates techniques like isolating variables, using seed numbers, and testing permutations to systematically engineer better prompts. Prompt engineering allows users to refine prompts to align outputs with their creative vision.

💡seed number

Seed numbers are the unique numbers associated with each generated image. By specifying the same seed number when testing variations of a prompt, users can better isolate the impact of individual changes. For example, the video shows how removing one phrase from a prompt while keeping the seed number constant clearly demonstrates that phrase's effect on the output. Seed numbers also allow recreation of specific images. However, they do not guarantee consistency across prompts or versions.

💡isolating variables

Isolating variables means changing one element of a prompt while keeping all else constant. For example, the video shows removing one keyword from a prompt while retaining the same seed number. This technique reveals the impact of that specific keyword. Isolating variables by controlling prompt elements and seed numbers is key to systematic prompt engineering.

💡permutations

Permutations allow efficiently testing multiple prompt variations in batch. By enclosing variants in curly brackets and delimiting with commas, users can generate images for all permutations in one run. For example, the video shows testing hairstyle variants for a female warrior prompt. Permutations enable rapid prompt testing.

💡consistency

Consistency refers to getting the same or similar outputs for the same prompts. The video stresses that seed numbers do not guarantee consistency across prompts or versions. True consistency requires fine-tuned prompt engineering based on extensive testing. Seeds lock in some elements but other factors like training data affect outputs.

💡degeneration

Degeneration refers to how AI systems can produce inappropriate, biased or nonsensical outputs if not carefully constrained. For example, the video shows degeneration in different versions for the same prompt-seed combination. Proper prompt formulation is required to avoid degeneration.

💡multi-prompting

Multi-prompting involves chaining two or more prompts together to get final outputs. The video notes that seeds behave somewhat differently with multi-prompting versus single prompts. Proper prompt engineering for multi-prompts may require separate strategies.

💡data-driven prompting

The video advocates a data-driven approach to prompt engineering based on systematically testing variations. This allows determining which terms are important vs. extraneous. Good prompt engineering relies on isolating variables and analyzing impact on outputs.

💡effective prompting

Effective prompting produces outputs that align with the user's creative vision. The video provides guidance for phrasing prompts well. But prompt engineering involves iterative testing to determine optimal prompts on a case-by-case basis.

💡cadence

Cadence refers to the optimal length and level of detail for prompts. The video recommends a separate video on cadence, emphasizing that effective prompting requires testing prompt formulations, not just using keywords.

Highlights

Seeds allow you to isolate variables in prompts to test the effect of individual words on image generation

By keeping the seed number the same but changing a word, you can see if that word makes a difference in the AI's interpretation

Use permutations with squiggly brackets to test batches of similar words quickly in prompts

Seed testing works well for art styles and artists to see if including their names matters to the AI

Seeds do not guarantee consistency across prompts or image upscales

The same seed number behaves differently across mid-journey versions

Make sure to allow DMs from strangers to access seed numbers from the AI

React to images with the envelope emoji, not reply, to get the seed number

Use the plain envelope emoji, not other envelope variants, to get seeds

Seeds act differently with multi-prompting, saving that advanced method for later

Test adjectives like "excited" vs "disappointed" to see the AI's emotional range

Try changing just the hair style on a character to see the effect

Seeds keep similar shapes between prompts as an anchor

Don't let tiny details stop you from testing, focus on the overall vibe and goal

Take a systematic approach to prompt engineering for best results

Transcripts

play00:00

take a look at these pictures and this

play00:02

prompt purple and yellow abstract

play00:04

collage in the style of graffiti

play00:06

inspired portraiture light cyan and

play00:08

black mixed patterns gai group mundane

play00:12

materials Serene faces close up I got

play00:15

this prompt from the describe feature

play00:17

but how are we supposed to know which of

play00:19

these words actually matter to the bot

play00:22

well it's actually very easy to find out

play00:24

and it involves the most timeless

play00:26

technique in science isolating variables

play00:30

we are going to keep the strongest

play00:31

variable the same while changing another

play00:34

to see the effect and that strong

play00:36

variable is the seed number you see mid

play00:39

Journey has over 4 billion seeds there

play00:42

are over 4 billion outcomes for each

play00:44

prompt you write and the system chooses

play00:46

randomly for you every time you generate

play00:49

you can react to any of your images with

play00:51

the envelope emoji and the bot will send

play00:53

you a seed number to that image you

play00:55

created this will help you recreate a

play00:57

set of images if you run the exact same

play00:59

prompt with the exact same seed number

play01:01

on the exact same version now that's

play01:03

great and all but the true value of

play01:05

seeds is to help us test out the effect

play01:08

of individual words and we can do that

play01:10

by specifying a seed number ourselves by

play01:13

adding dash dash seed space and then a

play01:16

number between 1 and 4 billion at the

play01:18

end of our prompt personally based on

play01:21

this prompt I wanted to know what gai

play01:23

group really meant to the generation so

play01:26

I'm going to run that exact same prompt

play01:28

again but I'm also going to choose a

play01:30

seed number to run this test on it does

play01:33

not matter what seed number you choose I

play01:35

literally hit random numbers on the

play01:37

keyboard so these images are what this

play01:39

prompt creates on seed number 686 320

play01:43

pretty cool pictures but that's not what

play01:45

we're here for now we are going to run

play01:48

this exact prompt minus the word we're

play01:50

testing which is Guai group along with

play01:53

the seed number we just used this is

play01:56

what it will look like every word the

play01:58

same except for that word we're testing

play02:00

we keep the same seed number and these

play02:02

are the results I'll flip back and forth

play02:05

between them but keep your eye on number

play02:07

four what do you notice it's the same

play02:10

right I mean as close to similar as

play02:12

possible I'm talking specifically about

play02:14

the lines on the skin that appears in

play02:17

both of the images now what that tells

play02:19

me is that gai group really had no

play02:22

effect on the end result of the prompt

play02:24

the results of these Generations are

play02:26

practically the same granted they are

play02:28

not completely the same they're not

play02:30

exactly twins but when you're testing

play02:32

out certain words to see if there's a

play02:34

difference what we want to see is a

play02:36

difference and personally I don't think

play02:38

I see that here at all however using

play02:41

this prompt I can show you a group of

play02:43

words that do make a difference we're

play02:44

running the entire original prompt here

play02:47

on seed number 942 424 and this is what

play02:51

it creates a bunch of beautiful faces

play02:54

now what I was really wondering about

play02:56

was this part of the prompt in the style

play02:58

of graffiti inspired portrait how much

play03:00

did that phrase affect the generation so

play03:03

we're going to run that test again by

play03:04

excluding that part of the prompt but we

play03:07

are going to keep the same seed number

play03:09

and these are the results what do you

play03:11

notice I think in my opinion there is a

play03:14

big difference we are no longer getting

play03:16

faces in 1 2 and four sure there are

play03:19

some in number three but I think the

play03:20

differences between the other parts of

play03:22

the grid are big enough to say that that

play03:24

phrase makes a difference in fact this

play03:26

is a good example of what seeds actually

play03:29

do if anything they can keep a similar

play03:31

shape between prompts so take a look at

play03:34

number one there are some Silhouettes

play03:36

here as we move from the yellow to the

play03:38

purple to the black to the purple to the

play03:40

yellow over to the blue now let's look

play03:42

at what happens in the original prompt

play03:44

with the portraiture included we have

play03:46

the same color setup but faces appear

play03:49

here again that tells me that something

play03:51

like portraiture really matters to the

play03:53

bot it sort of brings out facial

play03:55

features and elements like that isn't

play03:57

that interesting isn't that fascinating

play03:59

that's what prompt engineering is really

play04:01

about in mid Journey testing individual

play04:04

words while isolating a key variable

play04:06

that variable is the seed number if you

play04:09

have fast hours to spare and want to run

play04:11

these tests at a quicker Pace you can

play04:12

write your prompts using permutations

play04:15

and I think this could be good for

play04:16

testing similar batches of words to see

play04:18

if what you choose really matters like a

play04:21

miniature superhero speeding rushing

play04:23

racing hurrying down a busy Street full

play04:26

of angry dinosaurs then I chose a

play04:28

completely random SE number we are going

play04:30

to enclose the words we want to test

play04:32

within those squiggly brackets and when

play04:34

we hit enter it's going to ask us if we

play04:37

want to imagine all of those prompts we

play04:39

can hit show prompts to see if we made

play04:41

any mistake while writing it everything

play04:43

looks good here we can click yes and it

play04:45

will generate all of them for us again

play04:47

that really just helps us speed up the

play04:49

flow of these tests now do you think

play04:51

there's going to be a difference between

play04:52

speeding and racing down a street I

play04:55

don't know but this is how you test it

play04:56

here's the miniature superhero speeding

play04:59

this is sort of going to be our base

play05:00

canvas and we're going to compare the

play05:02

other words to this generation don't

play05:04

worry about tiny small details the

play05:06

pictures are always going to change when

play05:08

you change the prompt we're more focused

play05:10

on the goal the end result what vibe did

play05:14

we get from using this word and what

play05:16

vibe are we going to get from using the

play05:18

other word I think if we notice one of

play05:20

these pictures in the grid showing up

play05:21

again there really is not much of a

play05:23

difference so from speeding we'll go to

play05:26

rushing is there a difference what do

play05:28

you notice one and two are similar four

play05:30

is slightly different but three is like

play05:32

the exact same I'll do a quick little

play05:34

before and after Da Da Da Da like look

play05:37

at that when that happens you'll know

play05:39

that there is no difference between

play05:40

speeding and rushing it means the same

play05:42

thing to Mid journey and that's how

play05:44

you're going to engineer your prompts

play05:46

effectively here's the word racing and

play05:48

maybe you could argue we get something

play05:50

slightly different I think number one is

play05:52

cool number four has its own Vibe number

play05:55

two is sort of similar to the other

play05:57

number threes when it comes to something

play05:58

like this it's going to be a personal

play06:00

decision don't let this stop you from

play06:01

using different adjectives in your

play06:03

prompts but if you ever want to be sure

play06:04

of what you did this is how you would

play06:06

test it and finally here is hurrying I

play06:09

think you could argue that these are

play06:10

different enough to place them in their

play06:11

own category I like number two a lot now

play06:14

that's what the process will look like

play06:15

when you're testing similar words but I

play06:17

think this whole thing works even better

play06:19

when you test a bigger dichotomy like

play06:21

stock photography of an excited old man

play06:24

when he sees who is at the door we lock

play06:26

in the seed number and we get these

play06:28

pictures pretty cool same seed number

play06:30

same prompts except we're going to be

play06:32

using the word disappointed instead of

play06:35

excited and these are what we get same

play06:37

similar groupings of the old man but the

play06:40

feeling the expression has completely

play06:41

changed and this is a fun way to see how

play06:43

mid journei interprets the adjectives

play06:46

you use I also recommend testing art

play06:48

styles or artists in the same way

play06:51

because there are over 4 billion seeds

play06:53

the only way to test a prompt accurately

play06:56

is to keep the seed the same if you

play06:58

don't any differences you notice between

play07:00

prompts could be entirely random like

play07:03

one in four billion random and some of

play07:05

you might not be comfortable using

play07:07

artists in your prompt so this is how

play07:09

you would test whether you really need

play07:11

their name or not like here I found this

play07:13

prompt and described a man and his

play07:15

grandson standing by the side of a

play07:17

street in the style of lazette model

play07:19

intuitive gestures 1920s Yankee core

play07:22

candid photojournalism childlike

play07:24

innocence photo montage but it appears

play07:27

as though LTE model is a real person an

play07:30

Austrian born American photographer so

play07:32

I'm going to run this prompt using her

play07:34

name and a specific seed number this is

play07:37

what we get running the same prompt

play07:39

without her name on the same seed number

play07:41

and this is what we get I think this

play07:43

proves that her name does not really

play07:45

matter that much to the rest of the

play07:46

prompt and therefore you might be more

play07:48

comfortable leaving her name out of it

play07:50

that's the power of seeds that's how we

play07:52

can really know what we're doing

play07:54

permutations and Seed testing works

play07:56

great when you're trying to prompt for a

play07:58

person like here a Fierce Female warrior

play08:00

prepares for a battle on a beach the

play08:03

weather is overcast I want to see The

play08:05

Prompt just like that but I also want to

play08:07

see what the prompt looks like when I

play08:09

adjust her hairstyle so I start the

play08:11

permutation with a squiggly bracket I

play08:13

use a comma and I'm going to say the

play08:15

female Warrior has then I'm going to

play08:17

place another open squiggly bracket and

play08:20

I'm going to list my hairstyles french

play08:22

braided hair pigtail hair pink and blue

play08:25

hair red hair green hair burning flaming

play08:28

sparkling fire y hair and finally

play08:30

cartoon anime hair I'm going to close

play08:33

that with a squiggly bracket and I'm

play08:34

going to close the whole thing with

play08:36

another squiggly bracket that's a little

play08:38

Advanced way of using permutations don't

play08:40

worry about that too much for now just

play08:42

remember that what you're testing goes

play08:43

inside of squiggly brackets and then

play08:45

we're going to test it on seed

play08:48

364-7974 here's the first foundational

play08:51

prompt Fierce Female warrior weather is

play08:54

overcast cool pictures sure why not but

play08:57

now we get into the tests the Female

play08:59

warrior has French braided hair I think

play09:02

these look pretty amazing I love number

play09:04

two a bunch it's that specific hairstyle

play09:06

same promp same seed number except we

play09:08

have the warrior has pink and blue hair

play09:11

these are pretty cool here's pigtail

play09:13

hair and I don't think I worded that

play09:15

quite correctly the results weren't

play09:17

great it's not what I was looking for

play09:19

here it is with green hair I like these

play09:21

a lot as well red hair looks great

play09:23

cartoon anime hair didn't seem to do

play09:25

anything I'll make a note of that now I

play09:27

know that's not the right word words to

play09:29

use whatever I was describing and then

play09:31

we have burning flaming sparkling fiery

play09:33

hair and these are great number two

play09:36

might be a little too much I like the

play09:38

idea though right now there are a few

play09:40

more quick notes about seeds in case

play09:42

you're wondering cinematic still of a

play09:44

dog wizard casting a spell through its

play09:46

mouth seed 935 893 pretty cool pictures

play09:50

what I want to point out is that

play09:52

rrolling this prompt will give you an

play09:54

entirely new seed number even if you

play09:56

specify a seed number up here you you

play09:59

see the seed number didn't show up in

play10:00

the prompt even though that it's showing

play10:02

we made it from the previous seed number

play10:05

now we're going to react to this image

play10:07

with the envelope emoji and if you've

play10:09

done this enough times you can actually

play10:10

just rightclick on an image and the

play10:12

envelope Emoji should be there for you

play10:14

so we see that that grid was created

play10:16

with this new seed number however what

play10:18

you need to know is that the seed of an

play10:20

upscale is the same seed as the grid

play10:23

meaning that four different images will

play10:25

have the same seed number and that's why

play10:27

seeds are not the answer to consistency

play10:30

across prompts portrait of a female

play10:33

crime scene investigator with platinum

play10:34

blonde hair and a dark green lab coat

play10:37

seed

play10:38

72497 these are the women it generates

play10:41

if we keep that heart of the prompt and

play10:43

add a new action with the same seed

play10:45

number we are not going to get these

play10:47

same people same start of the prompt but

play10:50

then I added the female is trying to

play10:51

plead her innocence with a robot police

play10:54

officer same seed number and now these

play10:56

are different women seeds do not

play10:58

guarantee consistency they barely

play11:00

guarantee the same shape of what you're

play11:02

going for don't let anyone tell you that

play11:04

seeds are the answer to consistency I

play11:06

just want to be clear on that seeds are

play11:09

also only applicable to their current

play11:11

version same prompt same seeds in

play11:13

different versions will generate

play11:15

completely different images the

play11:17

degeneration of society version 6 seed

play11:20

2854 239 cool right great here's the

play11:24

same prompt in 5.2 5.0 4 and three this

play11:29

seed number does not matter when you're

play11:31

changing versions of mid Journey seeds

play11:33

also act a little funny when you're

play11:35

using multi- prompting but that's a

play11:37

little complicated for this video so

play11:38

we'll save that for another time if

play11:40

you're having trouble with any of this I

play11:41

have some quick troubleshooting advice

play11:43

for you if you want to find your seed

play11:44

numbers make sure you go into your

play11:46

settings and allow DMS from strangers so

play11:48

the bot can message you furthermore make

play11:50

sure you are reacting to an image not

play11:53

replying to it this is reacting it'll

play11:55

bring up this list replying will bring

play11:57

you down here to the prompt box we do

play11:59

not want that and the last thing make

play12:01

sure you are using the plain envelope

play12:03

Emoji these other ones will not work

play12:06

running these tests are great but if you

play12:07

want to know the best Cadence for your

play12:09

prompt like how long should it be and

play12:11

where should you add details I think you

play12:13

should watch this video right here I

play12:15

hope you're doing well take care and

play12:16

I'll see you next time peace

Rate This

5.0 / 5 (0 votes)

¿Necesitas un resumen en español?