hey there my name is Aaron Nace and today we're going to be using artificial intelligence to
create a background for a portrait and then composite them together in Photoshop
[Music]
so we're starting off with this really cool portrait and I like all this artistic effect
we have like interesting painterly shapes on our subject and the background is just a white
background it's really not that interesting so we're gonna head over to artificial intelligence
to create something from scratch now for this we're going to be using mid Journey so let's
go ahead and check out their website and get started so here we are with midjourney.com you
can go down to where it says get started on the bottom left here and then there's documentation
but basically with this quick start guide it basically just tells you to join the Discord
server okay so there's a lot of tutorials out there on how to do this and getting started
with it but basically with mid Journey there's a free version where anyone can join and then
there's a paid version where you kind of get your own dedicated service so let's go ahead and check
out the Discord server so here we are in Discord now I'm on the mid Journey server and we can see
there's information on like announcements and rules and welcome messages and things like that
but there's these rooms that are like a newbie room basically it's like where you can type in
your own prompt now all you have to do is go right down here and you can type the slash key and then
we're going to go to imagine and then we're just going to call it paint so I'm just going to say
imagine paint and then it's going to scroll all the way about down to the very very bottom and
it's kind of like working on everyone's stuff at the same time so if you scroll through you can see
with like hundreds and thousands of people are asking for now with this like for me personally
I'm like this is kind of annoying I don't want to scroll through everyone's stuff to try to see my
own thing I get it it's cool because it's free but you're just going to be scrolling through
a bunch of other people's work to try to find your own so what I've actually done is paid for
a mid-journey subscription it's like there's a couple different tiers you can find information
of that on their website and when you pay for it you get access to your own private messaging with
the mid Journey server so you're not gonna have to see anybody else's work and it works a little bit
faster so let's go ahead and show you what that looks like but again you don't have have to pay
for mid-journey you can get this totally for free just in my opinion the UI the interface and like
the actual interaction just a little bit more annoying but let's go ahead and check out the
private messages within mid-journey so I'm going to go over here to my direct messages there we
go and then here we have our mid Journey but so in this spot here's where we're going to type in
and this is like my own private conversation with mid-journey basically so I'm going to just hit the
slash key I'm going to hit imagine and then I'm going to paste in a prompt we're just going to say
something like colorful geometric 2D rectangles and triangles watercolor on a white background and
hit enter and then it starts working obviously this is artificial intelligence it's not
completely like immediate but it starts working on the background let's go ahead and do one more so
we're going to type in there we go we're going to type in Imagine I'm going to type in color
full shapes acrylic is that how you spell acrylic paint on white background geometric there we go
and let's hit enter on that and you as you can see it kind of starts working now the way that
mid Journey works is it creates iterations so like we can see it's actually like working in real time
you can see here it's 31 now it's 46 and it just kind of keeps on going and going and going and
kind of like refining those results now once you find something you're happy with you can upscale
it and actually get a higher resolution of any of these results so the prompts are completely
done now let's check it out we actually have four different images that it outputs with
each of them I like this one here on the top right so what I'm going to do is I'm going to
say U2 which stands for upscale it's going to upscale version two and then you can also tell
it I wanted to create a couple variations of that version so I'm going to hit V2 as well so
it's going to upscale that one and it's going to give me some variations now let's check the other
one where I said colorful shaped acrylic paint on white background this is really cool right I think
this one actually would work pretty well so let's hit U for upscale number two and then I'm gonna
hit V for version two it could create a couple different versions based on that as well so the
whole deal with artificial intelligence is it's kind of like a conversation it gives you a result
and then you say like I like this let's re like do a little bit more of it and then you can kind of
keep going and refining until you find something you really like so just a second ago remember we
had this image and I said I like this one on the top right so I told it to make an upscale version
of two and then make a couple variations of two as well so let's go ahead and scale down to the
upscaled version and here it is just click on it there we go we can just right click I'm going to
hit copy image and then we're just going to jump into Photoshop I'm going to create a new layer
and hit paste you can see it's a little bit on the small side but we can scale that up let's
go back into Discord and see what we've got here this is our upscaled resolution of this
other one so we're going to go ahead and click on this I'm going to right click and say copy image
I'm going to go back into Photoshop create a new layer and hit paste on that there we go and then
we can see oh we've got a couple more variations based on that and that's what I asked it to do
so I'm going to go ahead and say upscale version 2 on this one as well and as you can see you can
kind of go back and forth this as many times as you'd like keep in mind I'm using like geometric
shapes and artistic and like colorful on a white background because that's kind of what we have
with our original portrait and I wanted something that's going to match the like tone and feel of
that portrait so here's our last one let's go ahead and click on this I'm going to right click
and we're going to go to copy image and then get back into Photoshop we're going to create a new
layer and I'm going to hit paste so we have all three of these different options that we can use
one two and three now of course you could just create these until you literally ran out of time
you just do it forever but what we're going to do now is upscale this and again we're going to be
using artificial intelligence to do that so here we are in Photoshop now I really like this image
here I think it's going to work really well with the shapes that we have on our subject so let's
go ahead and click on this layer now we're going to go to our filter dialog down to where it says
neural filters neural filters and then we have this new filter from Photoshop that's called super
zoom it's incredibly cool let's go ahead and turn that on and then here where it says Zoom image we
just hit this plus icon a few different times so we're going to go to 4X this is going to get
larger and then it's going to use artificial intelligence to fill in gaps in information
so although the output from mid journey is a little bit limited basically it's like 10 24
by 1024 pixels you can then use this super zoom to scale it up even more and you're going to get
a high resolution image that you can then combine with your images in Sun processing we're going to
go ahead and where it says output I'm going to choose new layer and let's go ahead and hit OK
and as you can see boom look at that beautiful full and way larger there's the original one
tiny tiny little and here we go this is the new output so now it's time for some fun we're just
going to take all those other ones and make them invisible for now so we're going to put this with
our subject this is gonna be so much fun let's go ahead and make this invisible for now here
on our background layer we're just going to go ahead and double click where it says background
because it has these little chain lock on it right now basically it's locked you can't make a layer
mask on it just double click on it and hit ok now it's a regular layer and I can do a layer mask so
let's go up to select we're going to go down to where it says subject select subject this is just
the artificial intelligence filled tutorial loving it so our subject is selected you can see it's not
perfect so we always want to go to select and then down to select and mask super important select and
mask and then you can use these brushes over here to kind of like refine basically I'm just like
telling it where to include so we're just going to paint over and say yep that's actually her face
I know it just looks like the green blob but it's paint on her face okay and then for the
hair this like really doesn't look good over here but this is a refine Edge brush
right over here it looks like a a brush entering a this is scary witch's hand
laughs okay so then we just paint over here and you can see it's going to refine this much much
better let's go ahead we're just going to paint it over here and we're going to get a lot more
information than we would have there we go you can see it's actually included there and you can just
take your color here and you can like change your opacity to see like what is mass and what is not
masked all right let's go ahead and bring it over here and refine this Edge oh this is not working
very well actually let's go to our refine mode Let's go to color aware there we go and let's
see how this is working all right that's working a little bit better with the color mode selected
I had object mode selected and it was like not really working that well to be honest but hey
look we're learning together and that's part of the fun there we go color aware refine mode if you
ever find your refine Edge brush just like is not working well just change your mode and you should
be good all right I think this is looking pretty good like we're all in all like pretty pretty much
there is that her maybe we'll just mask that out there okay all in all this looks pretty good you
can change your opacity like to see your before and after but like this is a pretty good result
much better than we got like straight out of the camera so let's go ahead and just bring this up
so you can actually see it we're going to hit OK well actually before we do that sorry scroll all
the way down to the bottom where it says output to you can choose a selection here but I already
know I want this to be a layer mask so we're just going to click there and go to layer mask and hit
boom so now our subject is cut out from the background how awesome is this so like literally
all we have to do now I'm just going to bring my subject up to the top of my layer stack so
just bring her way up there click and drag all the way to the top and then we just make this
new background visible behind her this is like the background that we made using artificial
intelligence there we go so I'm going to hit controller command T we're going to scale this
up a little bit more of course you could use super zoom again if you wanted to but that is looking oh
this is her arm down there I was like what is that detail down there it's it's her arm okay
now that looks pretty cool I've got like the left hand side and of course you could use two separate
images what I'm going to do because like most of it's hidden I'm going to hit controller command J
that just duplicates my layer and then we're just going to move this over to the right hand side so
I can use like the rest of it and then of course it's just like a graphic Type image right so if
you hit controller command T I'm going to bring my little control point right over there if you don't
see your control Point by the way so controller command T here's a cool tip controller command T
this little control Point allows like if you're going to rotate or transform it'll rotate around
this point but if you don't see that because it's actually not turned on by default you got
to go all the way up here to this checkbox here make sure that's checked on and then here you
can actually choose where you want it you could be like top right middle right middle Center there we
go but you can just kind of like click and move it wherever you want and then if I go up here
to my rotation controls which is right here there we go you can just click like you could type in a
number there like you could type in like 90. boom it'll rotate 90 degrees but what I usually do is
just click on this icon and just like drag this to the left or the right there we go now we can
kind of see how it goes and if you go shift it just goes faster so I'm just kind of like
doing this to be like I don't know what what do I want that looks kind of cool right there right
boom and then it's like obviously visible on the left hand side so we're just going to put a layer
mask on that both B for or sorry just click on your layer mask icon which is right here and then
I can use my lasso tool L for the lasso tool just make a super quick selection and then here on the
layer mask we're going to go to edit down here to fill there we go and we're just going to say fill
that with black perfect so there we go we've got this on the left and the right so check this out
man like what a crazy time like World we're living in like honestly this is so cool because we've got
this really interesting portrait here what I'm going to maybe move this up a little bit let's
click on the chain link to unlink the layer in the layer mask so I can move them independently
maybe I'll just move that like right over there like how amazingly cool is that let's just group
those together turn that off and on like this is our original image and then here's what we
have like with artificial intelligence bringing this all together and like I told it what to do
because I wanted it to match this portrait in my opinion it matches it really well and like boom
we have an amazingly cool portrait composite with a much more interesting background than
it was originally it's just a plain white thanks so much for watching today's video
hit that big thumbs up if you enjoyed this click that subscribe button we'll send you more free
Photoshop tutorials you know what to do just do it thanks again I'll flirting you later bye everyone
just do it do it already you know what to do I'm not even gonna tell you what it is just just do it
artificial intelligence is taking over my life pretty soon it's not even gonna be me as a real
person you're just gonna be watching a computer generated version of me but you might think it's
real but it's not gonna do cool stuff like this because it doesn't know how [Music]