All language subtitles for 6. Prompt Engineering for Stable Diffusion

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,110 --> 00:00:03,080 Let's talk about prompt engineering. 2 00:00:03,110 --> 00:00:07,970 As you can see right here, I already messed up it with the prompts. 3 00:00:07,970 --> 00:00:12,170 So we have our girl right now in different environments. 4 00:00:12,170 --> 00:00:14,510 So so she is in the city. 5 00:00:14,510 --> 00:00:16,490 She is in the garden. 6 00:00:16,490 --> 00:00:20,600 She's also on a mountain right here. 7 00:00:20,600 --> 00:00:22,400 So you can see the mountains. 8 00:00:22,400 --> 00:00:25,490 And she is in something like a nightclub. 9 00:00:25,640 --> 00:00:33,050 But before we mess with this prompts, I want to show you how to write this prompts we need to understand 10 00:00:33,050 --> 00:00:34,580 prompt engineering. 11 00:00:35,180 --> 00:00:39,890 Midjourney does a really, really good job to explain prompt engineering. 12 00:00:39,890 --> 00:00:41,960 In its simple terms. 13 00:00:41,990 --> 00:00:44,600 Midjourney is another diffusion model. 14 00:00:44,600 --> 00:00:47,390 So with Midjourney you can also create pictures. 15 00:00:47,390 --> 00:00:50,090 But we will use stable diffusion because it's free. 16 00:00:50,570 --> 00:00:53,900 Think about what details matter. 17 00:00:53,900 --> 00:00:57,860 This is the stuff that you need to include in your prompts. 18 00:00:57,860 --> 00:01:00,290 So what's the subject? 19 00:01:00,290 --> 00:01:05,600 A person, an animal, a character, a location are object or something else? 20 00:01:05,600 --> 00:01:08,660 In our case, it's an Asian girl. 21 00:01:08,660 --> 00:01:10,100 What's the medium? 22 00:01:10,100 --> 00:01:14,510 It's a photo painting, illustration or it's something else. 23 00:01:14,510 --> 00:01:17,300 Most of the time it's a photo for us. 24 00:01:17,300 --> 00:01:18,980 What's the environment? 25 00:01:18,980 --> 00:01:24,590 It's it is indoors or outdoors, on the moon, in an arena, under water. 26 00:01:24,590 --> 00:01:29,420 Or is it maybe in the mountains, in the club or whatever you like? 27 00:01:29,420 --> 00:01:30,890 What's the lighting? 28 00:01:30,890 --> 00:01:35,090 Soft light, ambient neon, studio lights and so on. 29 00:01:35,090 --> 00:01:36,320 What's the color? 30 00:01:36,320 --> 00:01:42,440 Vibrant, bright, colorful black and white, pastel or whatever you like. 31 00:01:42,440 --> 00:01:45,770 And what's the mood that our person is in? 32 00:01:45,770 --> 00:01:47,210 Is she calm? 33 00:01:47,210 --> 00:01:49,340 Is she is she sad? 34 00:01:49,370 --> 00:01:50,600 Is she angry? 35 00:01:50,600 --> 00:01:51,800 Whatever you like. 36 00:01:51,800 --> 00:01:56,360 And of course, last but not least, the composition. 37 00:01:56,360 --> 00:01:57,590 Is it a headshot? 38 00:01:57,620 --> 00:01:58,880 Is it a close up? 39 00:01:58,880 --> 00:02:02,090 Is it a bird's eye view or something else? 40 00:02:02,540 --> 00:02:08,210 And then we have also something that I like to call magic words. 41 00:02:08,210 --> 00:02:13,430 So for example, high resolution 8-K and so on. 42 00:02:13,430 --> 00:02:16,880 Let's take a closer look at our prompt. 43 00:02:16,880 --> 00:02:18,680 So what's our prompt. 44 00:02:18,680 --> 00:02:23,480 If we simply press this right here we can look at everything here. 45 00:02:23,480 --> 00:02:26,030 We start with something like a magic word. 46 00:02:26,030 --> 00:02:27,710 So masterpiece. 47 00:02:27,710 --> 00:02:30,410 But then we use our character. 48 00:02:30,410 --> 00:02:32,360 So it's a beautiful girl. 49 00:02:32,360 --> 00:02:40,070 And where she is in this example in a nightclub, then we have other words that describe exactly what 50 00:02:40,070 --> 00:02:41,270 we want to see. 51 00:02:41,300 --> 00:02:45,740 We want to have detailed eyes, puffy eyes, neon lights. 52 00:02:45,740 --> 00:02:52,010 So you see the lightning top quality, high resolution, realistic, cinematic. 53 00:02:52,010 --> 00:02:54,200 She is Japanese. 54 00:02:54,200 --> 00:02:58,250 It's an Asian beauty, super beautiful, beautiful skin. 55 00:02:58,280 --> 00:03:07,880 She is slender, body facing forward Hyperrealistic High resolution 8-K and so on in Stablediffusion. 56 00:03:07,880 --> 00:03:11,630 You nearly can't overdo it with this prompt engineering. 57 00:03:11,630 --> 00:03:15,170 Most of the pictures that I see that are really, really good. 58 00:03:15,170 --> 00:03:17,660 They have a lot of words in it. 59 00:03:17,660 --> 00:03:21,530 So we simply describe exactly what we want to see. 60 00:03:21,530 --> 00:03:26,480 If you want to write your prompt completely on your own, that's totally fine. 61 00:03:26,480 --> 00:03:31,220 If you copy the prompt just like we did right here, that's also fine. 62 00:03:31,220 --> 00:03:38,570 You just need to know at what you need to think as soon as you start to tweaking this prompts. 63 00:03:38,570 --> 00:03:45,170 So for example, we can use this prompt and then we simply tweak just the environment. 64 00:03:45,170 --> 00:03:51,800 Instead of a nightclub we use a mountain or we use underwater or we use whatever. 65 00:03:51,800 --> 00:03:56,420 We can simply change these things that really, really matter. 66 00:03:56,420 --> 00:04:03,140 So we can use our prompt and we can change the subject and the medium you want change, but we will 67 00:04:03,140 --> 00:04:04,580 change the environment. 68 00:04:04,580 --> 00:04:09,800 We can change the lighting, the color, the mood and the composition. 69 00:04:09,800 --> 00:04:14,240 This stuff right here, this is what matters for us. 70 00:04:14,240 --> 00:04:17,660 The rest of the prompt is completely okay, how it is. 71 00:04:17,660 --> 00:04:23,060 And then we change the environment, the lighting, the color, the mood and the composition. 72 00:04:23,780 --> 00:04:30,020 And so we can create different stuff but really, really specific. 73 00:04:30,110 --> 00:04:33,920 So our person ideally should be the same. 74 00:04:33,920 --> 00:04:36,290 The medium also should be the same. 75 00:04:36,290 --> 00:04:39,620 But the other stuff we can and will change. 76 00:04:39,620 --> 00:04:45,470 And maybe you have seen also this right here negative prompts in stable diffusion. 77 00:04:45,470 --> 00:04:47,180 It's a bit different. 78 00:04:47,180 --> 00:04:53,000 Stable diffusion is the only diffusion model where you also have negative prompts. 79 00:04:53,000 --> 00:04:57,380 That means simply that you put in what you want. 80 00:04:57,410 --> 00:04:58,100 See. 81 00:04:58,100 --> 00:04:59,780 So we want. 82 00:05:00,060 --> 00:05:01,200 See acne. 83 00:05:01,230 --> 00:05:03,810 We want see bad hands. 84 00:05:03,840 --> 00:05:05,400 We want see text. 85 00:05:05,400 --> 00:05:06,750 We want see errors. 86 00:05:06,750 --> 00:05:12,930 We want see messy fingers, extra digits, fewer digits, extra limps, and so on. 87 00:05:12,930 --> 00:05:18,090 We simply include in the negative prompt what we will not see. 88 00:05:18,090 --> 00:05:21,570 That's the basic concept of the prompt engineering. 89 00:05:21,570 --> 00:05:25,410 So in the prompt we will type in what we want to see. 90 00:05:25,410 --> 00:05:33,330 And ideally this stuff right here in the negative prompt we will include what we will not see in our 91 00:05:33,330 --> 00:05:34,050 picture. 92 00:05:34,050 --> 00:05:36,330 And yes this stuff works. 93 00:05:36,330 --> 00:05:40,230 Extra arms, extra legs, extra foot and so on. 94 00:05:40,230 --> 00:05:48,750 This diffusion models are not that great at creating fingers and limps, and for that reason we always 95 00:05:48,750 --> 00:05:55,170 include extra arms, or extra legs, or extra fingers or messy hands and so on. 96 00:05:55,170 --> 00:05:59,880 Like I said, you can simply copy the prompts and then tweak it a little. 97 00:05:59,880 --> 00:06:05,520 And if you want to write your own prompts, just think about what matters. 98 00:06:05,520 --> 00:06:08,550 And in the negative prompt, think about. 99 00:06:08,550 --> 00:06:10,860 Also think about what matters. 100 00:06:10,860 --> 00:06:19,170 And I would strongly recommend to include stuff like extra arms, extra legs, extra foot, messy hands, 101 00:06:19,170 --> 00:06:23,610 missing arms, missing fingers, and so on. 102 00:06:23,610 --> 00:06:25,740 Too many fingers, long neck. 103 00:06:25,770 --> 00:06:29,370 This is all stuff that we can and should include. 104 00:06:29,370 --> 00:06:31,710 Like you can see it also right here. 105 00:06:31,710 --> 00:06:35,550 Maybe the neck is a bit too long of our influencer. 106 00:06:35,550 --> 00:06:41,040 We can and should include in the negative prompt, maybe also long neck. 107 00:06:41,280 --> 00:06:44,250 And that's the concept of prompt engineering. 108 00:06:44,250 --> 00:06:47,370 Think about what matters and type it in your prompt. 109 00:06:47,370 --> 00:06:52,080 And then use your negative prompt and also type in what you want. 110 00:06:52,080 --> 00:06:55,680 See especially messy fingers and that stuff. 111 00:06:55,680 --> 00:07:03,540 And in the next video, we will tweak our prompts to create our AI influencer in different environments 112 00:07:03,540 --> 00:07:06,780 with different lights and so on. 9756

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.