ENGINEER Your Midjourney Prompts with SEEDS

Future Tech Pilot
22 Jan 202412:19

Summary

TLDR本视频通过分离变量的科学方法,利用种子号测试 Midjourney 中各个词语对图像生成的影响,从而指导用户如何有效地设置提示词。它强调种子号的重要性,解释了如何利用种子号隔离并测试词语,找出哪些词语真正影响结果。视频还讲解了测试类似词组的更快方法,并提到种子号不能保证一致性。总的来说,它向用户展示了如何有效地设置提示词来产生理想的 AI 图像。

Takeaways

  • 🔍 通过改变种子编号(seed number)来测试单个词语对生成结果的影响,保持其他变量不变。
  • 🌱 中旅程(Mid Journey)有超过40亿个种子编号,每个提示可能产生超过40亿种结果。
  • ✂️ 通过去除测试词语,并使用相同的种子编号重新生成,可以观察该词语对结果的影响。
  • 🔬 发现某些词语(如'gai group')对生成结果影响不大,而其他词语(如'graffiti inspired portraiture')则有明显影响。
  • 🎨 测试艺术风格或艺术家名称对生成结果的影响,使用种子编号确保测试的准确性。
  • 👁️‍🗨️ 种子编号保持生成结果的形状相似性,而不是确保完全一致。
  • 🔄 种子编号只对当前版本有效,不同版本使用相同的种子编号会产生完全不同的结果。
  • 🎭 使用排列(permutations)测试相似词语,加速测试流程。
  • ⚙️ 种子编号对于测试个别词语的重要性,使用户能够精确控制生成内容。
  • 📐 种子编号不保证跨提示的一致性,相同种子编号的不同提示可能产生不同的人物或场景。

Q & A

  • 种子号的主要功能是什么?

    -种子号的主要功能是隔离变量以测试提示词语的影响。通过保持种子号相同而改变词语,可以看到哪些词语对生成的图像有重大影响。

  • 如何找到一个图像的种子号?

    -要找到一个图像的种子号,可以对图像作出反应并使用信封表情符号。Mid Journey 然后会回复种子号。

  • 为什么种子号无法保证图像之间的一致性?

    -因为种子号只能保证同一版本和同一提示下的类似形状。它们无法跨版本或提示保证一致性。

  • 使用排列组合测试多个词语的效果方法是什么?

    -使用波浪括号括起要测试的词语,然后在同一个种子号下生成所有排列组合。这可以更快速地比较不同词语的效果。

  • 测试艺术家名字的重要性的方法是什么?

    -保持种子号和提示相同,仅更改是否包含艺术家的名字。如果结果差异很小,则说明艺术家的名字对结果影响不大。

  • 种子号如何帮助优化提示?

    -通过测试不同的词语和条件,种子号可以帮助确定提示中最重要的部分,从而创建出更优秀的图像。

  • 为什么需要测试提示词语?

    -因为提示中使用的每个词语都会影响结果。测试可以找出哪些词语真正重要,哪些可有可无。

  • 如何快速生成多个提示的图像?

    -使用排列组合和同一个种子号可以同时生成多个相关提示的图像,加快测试过程。

  • 不同 Mid Journey 版本的种子号效果一样吗?

    -不一样。同一个种子号在不同 Mid Journey 版本中会生成完全不同的图像。

  • 获取种子号有什么技巧吗?

    -确保打开设置允许陌生人发私信,使用纯信封表情而不是其他表情,并确保是对图像作出反应而不是回复。

Outlines

00:00

🔬如何通过变量隔离法探索生成艺术中的关键词汇

这一段介绍了如何使用种子号来测试生成艺术提示中单个词汇的效果。通过保持种子号不变,改变提示中的其他词汇,可以观察到这些变化对生成结果的具体影响。示例中提到了'gai group'这一词汇对结果影响微小,而'graffiti inspired portraiture'这一短语对生成的面孔有明显影响,显示了不同词汇在艺术生成过程中的重要性。此外,还提到了通过排列组合测试不同词汇组合的方法,以及如何使用种子号来加速测试过程。

05:01

🎨艺术风格与表达的精确测试

第二段深入探讨了如何通过改变提示中的关键词汇来测试生成图片的差异。通过对比使用‘speeding’与‘rushing’等词汇生成的图像,说明了不同词汇可能导致的细微差别。此外,还展示了如何通过改变情绪词汇(如‘excited’与‘disappointed’)来改变图像中人物的表情和氛围。段落末尾提到了艺术家名称对生成结果的影响,并通过实验验证了某些情况下艺术家名称对结果影响不大,推荐在不确定时可以省略艺术家名称。

10:03

🌟种子号的局限性与高级提示技巧

这一部分讨论了种子号在保持生成结果一致性方面的局限性,并指出种子号对于不同版本的生成算法不通用。通过实例展示了即使在相同的种子号下,不同动作或场景的添加会产生完全不同的人物形象,强调了种子号不能保证完全的一致性。此外,还包括了一些关于如何有效使用种子号和排列组合来测试不同的提示词汇,以及如何通过设置来确保能收到种子号的技巧。最后,给出了一些建议,帮助观众更有效地利用种子号进行艺术生成测试。

Mindmap

Keywords

💡种子数字

视频中多次提到“种子数字”。它是生成每张图片的随机数,范围在1到40亿之间。使用相同的种子数字可以重现相似的图片。所以它是测试prompt中每个词的效果的关键。例如视频中去掉“急速”这个词后,大部分图片和保留这个词时很相似,说明它对结果影响不大。

💡测试

本视频的主要目的是介绍如何测试prompt中每个词的效果和重要性。方法就是保持种子数字不变,改变某个词,然后比较结果,看是否有明显不同。

💡prompt

prompt就是给AI的文字描述。视频详细解释了如何测试prompt中每个词的效果,找出对结果最重要的词。

💡排列组合

如果要测试多个类似的词,可以使用排列组合的方法,把要测试的词放在括号里,然后自动生成包含这些词的所有prompt组合。这样可以快速看到不同词的效果。

💡相似性

种子数字可以保证prompt中相同词语生成的图片有一定的相似性和连贯性,但不能保证完全一致。版本和模式的不同也会影响结果。

💡艺术风格

视频还演示了如何测试不同艺术家或艺术风格的名字是否对结果有影响。方法与测试单个词相同。

💡连贯性

种子数字只能保证prompt中相同词语有一定连贯性,不能保证完全一致。因为版本和模式的不同也会影响结果。

💡版本

同样的prompt和种子数字,在不同版本的Mid Journey中效果也会有差异。所以不能保证完全一致。

💡分步描述

视频详细步骤演示了如何进行关键词效果测试。第一步选prompt和种子数字,第二步去掉要测试的词,第三步比较结果。重复这三步可以找出对结果最重要的词语。

💡用例

视频通过多个用例演示了测试方法,如急速和其他词的比较,艺术风格中名字的必要性测试等。这些例子生动地解释了理论,增强了理解。

Highlights

第一重要内容摘要

第二关键内容摘要

第三主要内容摘要

第四突出内容摘要

第五值得注意内容摘要

第六意义深远内容摘要

第七引人注目内容摘要

第八重大内容摘要

第九不同寻常内容摘要

第十独特内容摘要

第十一关键内容摘要

第十二重要内容摘要

第十三值得一提内容摘要

第十四引人入胜内容摘要

第十五精华内容摘要

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