How to Swap Faces Inside Midjourney with Multiple People - Photopea And Insight Face (FREE)

Curtis Pyke
16 May 202309:30

TLDRThis video tutorial demonstrates how to perform face swapping in images with multiple faces using a combination of Discord bots and an online photo editing tool. The process begins by setting up a server on Discord and adding specific bots for the task. The video then guides the user through creating an ID for the face to be swapped using the Insight face swap bot, followed by a detailed, step-by-step instruction on swapping faces in an image. The final part of the tutorial shows how to refine the result by using a mask in a photo editing tool to keep or remove specific swapped faces, ultimately achieving a customized outcome.

Takeaways

  • 🎨 The video is a tutorial on swapping faces in images using AI technology.
  • 🖼️ The process begins with selecting an appropriate source image with a neutral expression and fully visible face.
  • 👥 The tutorial demonstrates swapping a single face onto multiple people in a group image.
  • 🤖 Utilizing Discord and specific bots (Mid Journey and Insight Face Swap) is key to executing the face swap.
  • 💻 The creation of a server on Discord and adding the necessary bots is the first technical step.
  • 🔍 The video provides a link to the Insight Face Swap bot for easy access.
  • 📸 The 'save ID' command is used to create an ID for the source face image.
  • 🔄 The 'swap ID' command is then used to swap the face onto the target image.
  • 🖌️ Photoshop or a similar tool is needed to fine-tune and adjust the final image.
  • 🎭 The use of a mask and brush tool in a photo editing tool helps to selectively keep or remove swapped faces.
  • 🚀 The technique allows for creative manipulation of images, useful for art pieces or other projects.
  • 📹 The video promises more tutorials and concludes by encouraging viewers to watch further content.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is about how to swap faces in an image using a method that involves multiple steps and tools, specifically within a Discord server setup.

  • What is the original image like that is used for face swapping?

    -The original image is a neutral expression photo of a lady looking at the camera, with her entire face visible, downloaded for free from pixels.

  • How many people are in the second image that gets their faces swapped?

    -There are four people in the second image that has their faces swapped.

  • What is the purpose of creating a server on Discord for this process?

    -Creating a server on Discord is necessary to add and use the bots required for the face swapping process, such as the mid-journey bot and the Insight face swap bot.

  • What is the role of the mid-journey bot in this process?

    -The mid-journey bot is one of the tools used in the face swapping process, though the specific role is not detailed in the transcript, it is implied to be part of the setup required for the process to work.

  • How is the Insight face swap bot added to the server?

    -The Insight face swap bot is added to the server by clicking on the link provided, selecting the server 'face swap multi', authorizing the bot, and completing a captcha verification.

  • What is the significance of creating an ID for the image of the face to be swapped?

    -Creating an ID for the image allows the system to reference and use that specific image during the face swapping process. It's a way to organize and call up the image quickly when needed.

  • How is the face swapping process initiated?

    -The face swapping process is initiated by using the command 'forward slash swap ID' followed by the ID name of the image that has the face to be swapped.

  • What happens when all faces are swapped in the image?

    -When all faces are swapped, each person in the image, including those with different angles, will have their face replaced with the face from the original image used for swapping.

  • How can one revert the face swapping to the original state?

    -To revert the face swapping, one can use a tool like photopia or Photoshop to manually remove the swapped faces by adding a raster mask and painting over the faces with a brush tool, thus revealing the original faces.

  • What is the final step in the face swapping process?

    -The final step involves saving the images, both the one with the original faces and the one with the swapped faces, and using a tool like photopia or Photoshop to blend the swapped faces onto the original image as desired.

Outlines

00:00

🎥 Introduction to Face Swapping with Multiple Faces

The video begins with the host introducing the concept of face swapping, specifically focusing on swapping a single face into an image containing multiple faces. The host demonstrates the end result of the process, showing an original image of a lady with a neutral expression and a second image where the lady's face has been swapped onto all four people in the photo. The host then explains the steps to set up the process, starting with creating a server on Discord and adding the necessary bots for the task.

05:01

🛠️ Setting Up the Discord Server and Bots

The host guides the viewers through the process of creating a Discord server for the face swapping project. After creating the server, the host instructs on how to add the 'mid-journey' bot and the 'Insight face swap' bot, which are crucial for the face swapping process. The host emphasizes the importance of following the authorization and captcha steps to ensure the bots are added correctly to the server.

🖼️ Preparing the Images and Creating IDs

The host demonstrates how to prepare the images for face swapping. The process involves dragging and dropping the image of the person whose face will be used (in this case, a character named Karen) and creating an ID for it using the '/save ID' command. The host emphasizes the case sensitivity of the ID name and shows the confirmation of the ID creation.

🔄 Swapping Faces in Multiple Images

The host explains the process of swapping faces using the '/swap ID' command. The host shows the viewers how to drag and drop the image and specify the ID name for the face to be swapped. The host then demonstrates the result of swapping all faces in an image and discusses scenarios where this might be desirable, such as for artistic purposes. The host also mentions the possibility of swapping only specific faces and sets up the next part of the tutorial for this purpose.

🎨 Fine-Tuning the Swapped Faces

The host moves on to the final stage of the tutorial, which involves fine-tuning the swapped faces. The host uses a free online tool called Photopia to demonstrate how to use a raster mask to selectively keep or remove the swapped faces. By holding down the ALT/Option key and clicking on the mask, the host shows how to paint over the faces to either keep or remove the swapped face, providing a detailed and customized result.

Mindmap

Keywords

💡Face Swapping

Face swapping is a digital technique that involves replacing a person's face in an image or video with another person's face. In the context of the video, it refers to the process of taking a neutral expression image of a person and superimposing it onto multiple faces within a single image, creating a composite where each individual has the same face.

💡Mid Journey Bot

The Mid Journey Bot is a tool or application mentioned in the video that seems to be part of the process for face swapping. Although not explicitly defined in the script, it is likely a platform or software that facilitates the face swapping process, possibly by providing the necessary algorithms or environment for the task.

💡Discord

Discord is a communication platform designed for creating communities. It allows users to communicate through voice, video, and text channels, and is often used by gamers, developers, and various communities. In the video, Discord is used as a platform to create a server and add bots for the purpose of face swapping.

💡Insight Face Swap Bot

The Insight Face Swap Bot is a specific bot mentioned in the video that enables the face swapping process. It is likely an AI-driven tool that uses machine learning algorithms to identify and replace faces in images with the desired face. The bot is integrated into the process by being added to the Discord server and used in conjunction with the Mid Journey Bot.

💡Image IDs

In the context of the video, Image IDs refer to unique identifiers created for the images that are to be used in the face swapping process. These IDs are assigned using a command in the Insight face swap bot, allowing the user to reference and manipulate specific images during the swapping process.

💡Drag and Drop

Drag and drop is a user interface action that allows users to move or copy items from one location to another by clicking, holding, dragging, and releasing the mouse button over a target. In the video, this action is used to add images to the Discord bots for processing and to manipulate layers in a photo editing tool like Photopia.

💡Photopia

Photopia is a free online photo editing tool that allows users to perform various image manipulations, such as adding masks and painting on layers. It is used in the video to fine-tune the face swapping process by selectively revealing or hiding the swapped faces on different individuals in the image.

💡Raster Mask

A raster mask is a digital tool used in image editing to hide or reveal parts of an image layer. It operates on a pixel-by-pixel basis, where black conceals and white reveals. In the video, a raster mask is applied to the image in Photopia to selectively display the original and swapped faces.

💡Layer

In digital image editing, a layer is a transparent sheet that can be placed over or under other layers to composite images or apply effects. Layers allow for non-destructive editing, as changes can be made without altering the original image. The video mentions layers in the context of using Photopia to edit the swapped faces.

💡Captcha

Captcha is a type of challenge-response test used in computing to determine whether the user is human or a bot. It stands for 'Completely Automated Public Turing test to tell Computers and Humans Apart.' In the video, the viewer is asked to pass a Captcha to authorize the Insight face swap bot, ensuring they are not a robot.

💡Server

In computing, a server is a system that provides resources, data, services, or programs to other computers, known as clients. In the context of the video, creating a server on Discord is the first step to setting up the environment for face swapping, where the server acts as a communication and command center for the bots.

Highlights

The video demonstrates a method for swapping faces in images, specifically focusing on swapping a single face into an image with multiple faces.

The original image chosen for face swapping is a neutral expression photo downloaded for free from pixels.

The process involves creating a server on Discord and adding the Mid Journey and Insight Face Swap bots to it.

The Insight Face Swap bot is crucial for the face swapping process and is added via a provided link.

An ID is created for the face to be swapped using the '/save ID' command followed by dragging and dropping the image and naming it.

The face swapping process is initiated using the '/swap ID' command, which requires the user to drag and drop the image and enter the ID name of the face to be swapped.

The video shows the result of swapping all faces in an image, demonstrating the versatility of the technique.

For specific applications, a single face can be selected for swapping while keeping the rest of the faces in the image unchanged.

The video introduces a technique to refine the face swapping process using a free online tool called Photopia.

The use of a raster mask in Photopia allows for precise control over which faces are swapped and which remain original.

The brush tool in Photopia is utilized to paint over the faces that the user wants to retain their original appearance.

The video emphasizes the ease and speed of the face swapping process, making it accessible for various creative projects.

The technique shown in the video can be applied to create art pieces or for other purposes where a uniform appearance is desired.

The video provides a step-by-step guide that is easy to follow, making the face swapping technique accessible to viewers with varying levels of technical expertise.

The use of Discord bots and a free online tool like Photopia makes the face swapping process cost-effective and straightforward.

The video concludes by encouraging viewers to explore more of these techniques and anticipates future content.