 Hello everybody, welcome back to another AI video, and this one is going to show you how to swap faces inside mid-journey, but we're going to swap a face into an image with multiple faces in it, where multiple people in it. Let me show you what it looks like, and then I'm going to show you step by step how to do it. Here's the original image. I just downloaded this for free off of pixels. It's just a lady looking at the camera, and she's got a neutral expression, and you can see all of her face. So that's why I chose that image. Now, here's the second image, and this one has clearly four people in the shot. Now, I swapped in her face on all of them, and you'll see here that you'll see the, when I go from one to one, so here, and I go quickly, you'll see that all the images are swapped, all four of them, and then in the final one here, I was like, hey, I just want to swap out this girl on the bottom right face, and I want all of them to remain the same. So watch this, click on it, first, second, and third images are the same. The fourth one has swapped out. Now, let me show you how to set it up, and then I'm going to show you how to do it. It should take only a couple minutes. All right, welcome back. So the first step is we have to create our own server on Discord. On the left side here, you'll see this little plus sign, click on that, and you'll be able to add a server. Then it asks you to create your own server, click on that, and then it says for me and my family, or me and my friends, or for a club or a community. It's for me and all my friends. I don't have any friends, but if I did, eh, whatever, we're going to call this face swap multi, whatever, something like that. So I know what it is. So this is multiple face swapping, click on create. When I do that, you'll see up here at the top right, I've got my own server. Beautiful. Let's keep rolling on the left side. You're somewhere over here, you're going to see the sailboat, and that is the mid journey. You want to click on the mid journey bot there, or the mid journey server. Left click on that, and you'll load up all of this stuff here. Don't worry about any of that stuff. Go to the right side, and you're going to see mid journey bot. Left click on that, click right here on top of the bot, and then it says add to server. Go ahead and click on add to server, and then it's going to ask you what server you want to add it to. I'm going to go ahead and add it to whatever the one I just made was called face swap multi. Click on continue. I'm going to go ahead and authorize it to do all those things. Why not? I trust it. And then I'm going to hopefully pass the capture. I think I'm human. Oh man, which one has a crab? I've never had crabs before. Okay, anyway. Yeah, too much info. I'm going to click on verify human. Okay, authorized. Good stuff. Let's go back to that server and let's see where we're at. Okay, so we're in face swap multi. Mid journey bot has been added. Now we need to add in the next bot, which is the insight face swap. This is the one that makes it all possible. So I'm going to get the link. I'm going to paste it in. I'm going to show you how to do it. All right, welcome back. So I just went and grabbed the link. Here it is. You just have to click on this link. I am going to put a link to this in the description below so you can just copy and paste it and you don't have to go digging around for it. So here we go. I'm going to left click on it and watch this. It says an external application insight face. Just go ahead and click on continue. But before you do that, of course, you have to pick the server. So we're going to do what we did in the last one face swap multi. Hit continue, hit authorize and hit I am human. Okay, I'm human. Let's go. No crabs. All right, I don't have crabs. Beauty. Okay, so now at the top right here, if we click in the face swap multi, we've got the insight face bot and we've got the mid journey bot. Now I need to show you how to create IDs and then swap them in. All right. So the first thing I'm going to do is I'm going to just drag and drop in the image that we want to use for this. This is not a required step, but I want to show you what we're working with so you can see the difference. So I'm just going to go to my desktop here. I'm in my finder and I'm just going to drag and drop in this image of Karen. She I made a video about her earlier. She's got an AI virtual chat girlfriend or something like that. So this is the image that we're going to be using. Now we're going to go ahead and create an ID for Karen. Yes, she wants to speak to your manager. Let's create that ID to get this going forward slash save ID. This is a new command that's been enabled by using inf insight face swap. When you do that, hit enter, you get two options. You can drag and drop or click to drag and drop image on top of that. And then you can also give it a name. So I'm going to go back into my finder or if you're on a PC, your windows explorer, and I'm going to drag that image right here. So that is the image. And then I'm just going to call this Karen. C A R Y N. And then I'm going to hit enter. When I do that, notice that the C was capitalized. So it is case sensitive. Just keep that in mind. So here it is. It says ID name Karen created. Now let's get to swapping. All right, everybody, welcome back. So now it's swapping season. So in the last one, we forward slash save ID, and we create an ID named Karen. Now we're going to go forward slash swap ID. But before I do that, I'm going to click on my finder and I'm going to drag and drop the image in so I can show you what it looks like again before I start hitting buttons and swapping out faces. So here's the original image. So here we go. And it's got these four people, all different images, even the bottom left here has a different angle to his face, all attractive, etc. Now let's go ahead and swap in an ID. All you got to do is go forward slash swap ID. This is another new function or new feature that's specific to insight face swap. Hit enter. When you do that, it's going to ask you to drag an image in. And it's also going to ask you for an ID name. Let's go ahead and do that. So I'm going to go to my finder and I'm going to use that same image so I can show you the difference here. So I'm going to drag and drop it there. And then under ID name, we're going to use the ID that we just created called Karen. C-A-R-Y-N. When I hit enter, it's going to swap out, but it's going to swap out all four faces. Now in some cases, that's probably something you might want. If you're doing, for example, an art piece and you want to show everybody looks the same or something, there you go. This is one way to do it. But I'm now going to show you. Well, let's look at it first. Here's the original shot. And now let's look at the revised. You'll see that her face has changed. His face has changed a lot. His face changed a whole lot and her face changed too. So okay, quite a bit there, but let's work with the bottom right one. So again, for some cases, you want to switch out all the faces. But now I'm going to show you how to use it so that you only swap out one face. Excellent. So just make sure that you've saved both of these images and you can just right click on the image, save image as. Now I'm going to go to my finder and you'll see here that I have one.jpg and then I've got new one.jpg, which is the one with all of the faces and the new swapped faces on it. So now I'm going to go to my browser. In this case, I'm going to go to Google Chrome and I'm going to go to a website called Photopea or Photopea. I'm not sure how to pronounce that. What you need to do now is you need to go to your finder or your explorer and grab the first image. So in this case, it's called one.jpg. I was going to drag it and drop it right on top here. I didn't log into anything. It supports itself through ads and there we go. That's our first step. The second step is you want to grab the new image that we just made. And in this case, it's called new one.jpg. I'm just going to drag and drop it and drop it right on top of it. Now, obviously it's not the same size. So just for speed sake, I'm just going to go ahead and increase the size. If you were to do this slowly, you may want to decrease the size of the bottom image, but I'm just going to do this quickly to show you the technique. So if now we look at it, we've got our background image and we've got our regular image. So here's the new image. And then if I click this on and off, you'll see here that the faces are changing. So what we want to do now is we want to basically keep one of these faces or whatever number of faces you want and then get rid of the others. So it's very easy to do. The first step is you want to hold down the alt key on a PC, option key on a Mac. Very important. Alt key or option key. And then click right here on this little mask. Now add raster mask. When you do that, you'll see it created a black mask. That's very, very specific. You can do the same thing inside Photoshop, the exact same steps. I'm using photopea because it's a free tool and not everybody has a copy or a recent copy of Photoshop. Okay. So with that step, now all you got to do is go to the left side here and you're going to see a few tools. The one we want is this brush tool right here. You can just press B or you can just click on it. And now let's just go ahead and change the size of the brush. So up here at the top left, you'll see here this little thing here. It says brush size. I'm going to go ahead and increase it to 1000 because I just want to do this quickly. I don't want to spend too much time, you know, showing you the brushing techniques. Now what I'm going to do is I'm going to go ahead and start painting on or over the faces. So again, you'll see here that the color is selected to white, which we want. The mask is black and all you got to do is this. Watch this. Look at that. I have changed her face. Let's change this guy's face. That's it. And again, this is a free tool and this is the technique. Whoa, Nelly. So there you go, guys. That's all it takes. Thanks for watching. Time for stuff coming up.