WEBVTT

00:00.570 --> 00:01.650
Instructor: Okay, let's learn about

00:01.650 --> 00:03.450
Midjourney in painting.

00:03.450 --> 00:05.970
So it's not actually called in painting a Midjourney,

00:05.970 --> 00:08.760
although it is the same sort of feature as

00:08.760 --> 00:11.550
what you get in Dali or Stable Diffusion.

00:11.550 --> 00:13.770
So first we're gonna generate an image,

00:13.770 --> 00:18.770
let's say a man standing or let's say sitting on a bench

00:21.217 --> 00:26.143
in a nice park in surrounded by skyscrapers.

00:27.900 --> 00:30.030
So first we're just generating an image

00:30.030 --> 00:31.710
and we're gonna use that image

00:31.710 --> 00:34.140
to make some edits in painting,

00:34.140 --> 00:36.110
just while this is generating,

00:36.110 --> 00:39.840
the process of in painting is really an iterative process.

00:39.840 --> 00:43.110
You might do multiple times when you're generating an image

00:43.110 --> 00:45.870
and you're taking a part of the image that you don't like

00:45.870 --> 00:49.470
or you need to change slightly and then you are erasing it

00:49.470 --> 00:52.830
and then regenerating that specific section.

00:52.830 --> 00:55.380
So we're gonna take one of our images

00:55.380 --> 00:57.930
and we're going to set this up

00:57.930 --> 01:00.030
so that we can use in painting

01:00.030 --> 01:01.500
and make some of those changes.

01:01.500 --> 01:03.630
Let's see which image we want to use.

01:03.630 --> 01:06.390
I really like this image here,

01:06.390 --> 01:09.540
so I'm gonna upscale version two here.

01:09.540 --> 01:11.490
And while that's running as well,

01:11.490 --> 01:13.800
you need to set something up.

01:13.800 --> 01:16.590
If you haven't done this already, if you press forward slash

01:16.590 --> 01:21.590
and then you go into prefer remix,

01:21.840 --> 01:23.760
you need to turn that on

01:23.760 --> 01:27.051
and if you have that turned on, then you can then

01:27.051 --> 01:30.240
you'll get this option here to vary region.

01:30.240 --> 01:32.670
All right? Once you've upscaled, you get the option to

01:32.670 --> 01:36.120
vary region and you can then make changes.

01:36.120 --> 01:40.620
So if we click very region, it's gonna open this panel.

01:40.620 --> 01:43.890
And there's something I don't like about this image,

01:43.890 --> 01:46.950
which is I don't want it to be a man,

01:46.950 --> 01:48.030
I want it to be a woman.

01:48.030 --> 01:50.130
We have an option here.

01:50.130 --> 01:53.100
We can actually just cut this person out

01:53.100 --> 01:57.870
and we can say a woman sitting on a bench

01:57.870 --> 02:00.300
and I'm gonna hit submit.

02:00.300 --> 02:03.090
And what we've done there is we've masked

02:03.090 --> 02:06.630
the specific part of the image that we want to regenerate

02:06.630 --> 02:08.820
and then we're given a prompt that works specifically

02:08.820 --> 02:10.290
for that region.

02:10.290 --> 02:12.573
And it's important to note this,

02:12.573 --> 02:16.500
that in some cases it's helpful to use your whole prompt.

02:16.500 --> 02:19.530
It depends on how big of the image, of that section

02:19.530 --> 02:21.390
that you're generating needs to be.

02:21.390 --> 02:26.190
But it's, there's also sometimes useful to just,

02:26.190 --> 02:28.230
you know, prompt for that specific section.

02:28.230 --> 02:30.300
So in this case, I would say

02:30.300 --> 02:34.860
I always start with just like the simple square lasso

02:34.860 --> 02:37.320
and I just erase like pretty rudely

02:37.320 --> 02:40.200
because Midjourney's very good at filling in the details

02:40.200 --> 02:42.420
and regenerating and stitching it together

02:42.420 --> 02:43.680
with the existing image.

02:43.680 --> 02:46.620
And I also naively just use the same whole prompt

02:46.620 --> 02:48.690
unless I run into trouble.

02:48.690 --> 02:49.890
If you did run into trouble,

02:49.890 --> 02:53.160
so in some cases you might find it will mess up

02:53.160 --> 02:54.780
and it will put skyscrapers like

02:54.780 --> 02:56.970
in that square that you generated,

02:56.970 --> 02:58.320
it would be very good.

02:58.320 --> 02:59.820
Then I would say start to delete,

02:59.820 --> 03:02.190
iteratively delete certain parts of the prompt

03:02.190 --> 03:04.170
and that way you're gonna stick with the same sorts

03:04.170 --> 03:05.070
of styles.

03:05.070 --> 03:06.900
It's gonna be much better.

03:06.900 --> 03:08.280
The other thing is that you don't necessarily

03:08.280 --> 03:09.990
have to put a prompt in here.

03:09.990 --> 03:11.070
So I could, you know,

03:11.070 --> 03:12.240
one of the things I do is I say

03:12.240 --> 03:14.910
let's just put extremely detailed whatever

03:14.910 --> 03:17.880
and then it will just fill in that section for you.

03:17.880 --> 03:20.490
So let's upscale this. I think it's good.

03:20.490 --> 03:22.860
It done a good job. These all look like women.

03:22.860 --> 03:26.073
You can just see how well it works really out of the box.

03:27.270 --> 03:28.103
So here we go.

03:28.103 --> 03:30.990
Now we have a woman and that's working really well.

03:30.990 --> 03:34.080
Now I'm gonna show you another type of lasso tool

03:34.080 --> 03:34.980
that you can use here.

03:34.980 --> 03:36.990
So before I use the square one

03:36.990 --> 03:39.360
this time I'm gonna use this magic lasso.

03:39.360 --> 03:40.620
And this is pretty good

03:40.620 --> 03:43.560
because not always you want to like erase

03:43.560 --> 03:45.240
really interesting parts of the image.

03:45.240 --> 03:46.740
So you can see here for example,

03:46.740 --> 03:48.990
that like I have this skyscraper here

03:48.990 --> 03:51.900
and maybe I want to get rid of that.

03:51.900 --> 03:54.150
So I'm just clicking and dragging here.

03:54.150 --> 03:56.670
And to be honest, I don't quite like

03:56.670 --> 03:59.160
the way that it does this 'cause it feels like

03:59.160 --> 04:01.830
it should be like the magic lasso tool on Photoshop,

04:01.830 --> 04:02.790
but it's not.

04:02.790 --> 04:06.240
You can get used to it with a little bit of messing around

04:06.240 --> 04:08.430
and I, here I'm just clicking and dragging

04:08.430 --> 04:10.590
until I've highlighted the different parts

04:10.590 --> 04:12.480
of the building that I want to get rid of.

04:12.480 --> 04:14.160
I'm trying to get rid of this whole building.

04:14.160 --> 04:15.600
Again, you don't have to be,

04:15.600 --> 04:17.310
you can be pretty rough with it.

04:17.310 --> 04:18.930
It's very good at stitching things together.

04:18.930 --> 04:20.640
But in this case, I don't want any

04:20.640 --> 04:21.870
of the other buildings to change.

04:21.870 --> 04:23.850
I just want, you know, this to change.

04:23.850 --> 04:27.390
So now I have this part erased

04:27.390 --> 04:30.150
and I'm gonna say, in this case,

04:30.150 --> 04:31.590
I'm gonna get rid of the rest of the prop.

04:31.590 --> 04:33.480
'cause I don't want a woman sitting on a bench

04:33.480 --> 04:34.710
like in the sky.

04:34.710 --> 04:39.120
I'm just gonna say manhattan skyscraper

04:39.120 --> 04:43.863
in the style of Johnny I've and Steve Jobs.

04:48.060 --> 04:51.900
Okay. And now that's just gonna regenerate that building

04:51.900 --> 04:55.350
specifically and fit it in with the rest of the image.

04:55.350 --> 04:57.480
So that's really powerful

04:57.480 --> 05:00.810
and you can do a lot with this if you can imagine

05:00.810 --> 05:02.100
there's a lot you can do.

05:02.100 --> 05:05.580
And a real creative who's working as an artist

05:05.580 --> 05:08.520
or as a graphic designer will probably in paint

05:08.520 --> 05:11.340
quite a few features of the image as they go.

05:11.340 --> 05:12.900
They might even stitch multiple images

05:12.900 --> 05:14.490
together and then import them.

05:14.490 --> 05:16.590
That's also possible to do in Photoshop.

05:16.590 --> 05:18.450
They have the generative fill feature

05:18.450 --> 05:19.830
which is very similar to this.

05:19.830 --> 05:22.920
And as I mentioned before, you have this ability

05:22.920 --> 05:26.853
to do this in Dali as well as in stable diffusion.

05:27.840 --> 05:31.140
In general, I would say that I do most of my in painting

05:31.140 --> 05:33.840
in stable diffusion 'cause you get a lot more control

05:33.840 --> 05:37.320
and you can use tools like segment anything which allow you

05:37.320 --> 05:39.330
to kind of one click segment these things out.

05:39.330 --> 05:41.755
But I would say this feature is really good

05:41.755 --> 05:43.317
and it's a very good start from Midjourney

05:43.317 --> 05:45.663
and I'm glad that they finally added it too.

05:47.130 --> 05:48.963
Alright, so that's just generating,

05:54.420 --> 05:55.890
Okay, here we go.

05:55.890 --> 05:58.800
Interesting styles here. I don't think they quite got the

05:58.800 --> 06:02.280
Johnny Ive like Steve Jobs vibe correct here,

06:02.280 --> 06:03.870
but with a little bit of extra prompting,

06:03.870 --> 06:06.240
I'm sure we could get something similar.

06:06.240 --> 06:09.990
Cool. And we can actually just like with any other

06:09.990 --> 06:12.720
image generation, we can just click Regenerate

06:12.720 --> 06:15.570
or we could ask variations as well.

06:15.570 --> 06:18.210
All of that is built in. All right.

06:18.210 --> 06:20.820
But that's, that's in painting in Midjourney.

06:20.820 --> 06:22.950
Hopefully you guys find it useful.

06:22.950 --> 06:24.960
This feature will continue to improve,

06:24.960 --> 06:27.860
so it might already be updated by the time you watch this.
