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

Curtis Pyke
16 May 202309:30

TLDRIn this video tutorial, the creator demonstrates how to perform face swapping in images with multiple faces using a combination of Discord bots and online tools. They guide viewers through setting up a server on Discord, adding necessary bots, and using the Insight face swap bot to create and swap IDs for images. The process is showcased with a step-by-step guide, including the use of a free image editing tool, Photopia, to refine the final result and selectively swap individual faces in a group image.

Takeaways

  • 🖼️ The video demonstrates how to swap faces in an image using AI technology.
  • 🤖 A specific AI tool is used for face swapping, which can be integrated with Discord servers.
  • 🔗 The process involves creating a server on Discord and adding the necessary bots for the AI to function.
  • 📸 The original image should have a clear view of the face to ensure accurate swapping.
  • 🖼️ Multiple faces within a single image can be swapped using the AI tool.
  • 🔄 The AI can be instructed to swap faces in a specific order or pattern.
  • 🛠️ The video provides a step-by-step guide on how to use the AI for face swapping.
  • 📂 Images are saved with new IDs for reference and ease of use in the process.
  • 🎨 The final result can be edited further using photo editing tools like Photoshop or free alternatives.
  • 👥 The technique can be used for various purposes, including art pieces or virtual characters.
  • 📹 The video serves as a tutorial for users interested in exploring AI-based face swapping.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is how to swap faces in an image using a method that involves multiple steps and tools, including Discord and a bot called Insight face swap.

  • What are the two images used in the demonstration?

    -The first image is a neutral expression photo of a lady downloaded from pixels, and the second image contains four people with different facial expressions and angles.

  • How does the video demonstrate the face-swapping process?

    -The video demonstrates the face-swapping process by first showing the original image with multiple faces and then displaying the result after swapping the lady's face onto all of them.

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

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

  • How is the Insight face swap bot integrated into the process?

    -The Insight face swap bot is integrated by adding it to the Discord server and using its commands to create IDs for the images and perform the face swaps.

  • What does the process of creating an ID for an image entail?

    -Creating an ID for an image involves using the command '/save ID' followed by the image file and a chosen name. The image is then associated with this ID for further operations.

  • How does the video show the face-swapping process for individual faces?

    -The video shows the face-swapping process for individual faces by using the 'swap ID' command and selecting the specific face to be swapped in the edited image using a mask in a tool like Photopia.

  • What is the role of Photopia in the process?

    -Photopia is used to apply a raster mask to the edited image, allowing the user to selectively keep or remove the face swaps by painting over the masked area with a brush tool.

  • How long does the entire face-swapping process take?

    -The video suggests that the entire face-swapping process, including setting up the server and bots, should take only a couple of minutes.

  • What is the significance of the case sensitivity in the ID names?

    -The case sensitivity in the ID names is important as it affects the recognition of the IDs by the Insight face swap bot, ensuring the correct image is used in the swapping process.

  • What is the final result of the face-swapping process shown in the video?

    -The final result of the face-swapping process is an image where the lady's face has been swapped onto all four individuals in the second image, with the ability to selectively swap out individual faces as needed.

Outlines

00:00

🎥 Introduction to Face Swapping in Images

The video begins with an introduction to face swapping in images, specifically focusing on swapping a single face into an image containing multiple faces. The creator demonstrates the process using an original image of a lady with a neutral expression and a second image with four people. The goal is to replace all faces in the second image with the lady's face, except for one, which will be swapped out differently. The creator then guides the viewer through setting up a server on Discord and adding necessary bots for the face swapping process.

05:01

🛠️ Setting Up the Discord Server and Bots

The creator explains the first step of setting up a Discord server for the face swapping process. They detail how to create a server, add the MidJourney bot, and then the Insight Face bot, which is crucial for the face swapping. The process involves clicking the plus sign on Discord, selecting the server type, naming the server, and going through the authorization and captcha steps for both bots. The creator emphasizes the ease of adding the bots and setting up the server for the face swapping project.

🖼️ Preparing the Images and Creating IDs

In this section, the creator demonstrates how to prepare the images for face swapping. They show how to drag and drop the image of the lady (Karen) into the Discord setup and create an ID for her. The process involves using the '/save ID' command followed by the image upload and naming the ID. The creator emphasizes the case sensitivity of the ID name and shows the confirmation of the ID creation. This step is crucial for identifying and using the specific image for face swapping.

🔄 Swapping Faces in Multiple Images

The creator moves on to the actual face swapping process. They explain how to use the 'swap ID' command to swap the faces in the second image, where all faces are replaced with Karen's face except for one. The creator then shows the result of the face swapping and how it appears in the final image. They also discuss the possibility of wanting to swap only one face in certain cases and set up the stage for the next part of the tutorial, where they will show how to use a tool like Photopia to refine the face swapping results.

Mindmap

Keywords

💡Face Swapping

Face swapping is a digital manipulation 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 specific face from one image and superimposing it onto multiple faces within another image. This technique is used for entertainment, art, or other creative purposes and can be achieved through various software and tools.

💡Mid Journey

Mid Journey appears to be a platform or tool mentioned in the script that is involved in the process of face swapping. It is likely a service or software that aids in creating or editing images, particularly in the context of the face swapping process described in the video. The term is used to denote a specific step or feature within the overall process.

💡Discord

Discord is a popular communication platform designed for communities, including gamers, where users can create servers for text, voice, and video communication. In the video, Discord is used as a platform to create a server and add bots that facilitate the face swapping process.

💡Insight Face Swap

Insight Face Swap is a tool or bot mentioned in the script that plays a crucial role in the face swapping process. It is likely a specialized application that uses artificial intelligence or machine learning algorithms to detect and replace faces in images with a high degree of accuracy. The tool is integrated into the process to make the face swapping seamless and efficient.

💡Server

In the context of the video, a server refers to a computer system or virtual machine that hosts applications, services, or programs, such as the bots used for face swapping. Servers can be physical or virtual, and they manage resources and data, providing users access to various functionalities. The video guides the user through setting up a server on Discord to host the necessary bots for the face swapping process.

💡Drag and Drop

Drag and drop is a user interface action that allows users to move items from one location to another by clicking, holding, dragging, and releasing the item. In the video, this term is used to describe the method of adding images to the face swapping process, making it simple and intuitive for users to understand and follow.

💡ID Creation

ID creation in the context of the video refers to the process of generating a unique identifier for an image or a face that is to be used in the face swapping process. This ID is necessary for the system to recognize and manipulate the image as per the user's instructions, allowing for precise control over which face is swapped and where.

💡Swap ID

Swap ID is a command or function used in the face swapping process to initiate the replacement of faces in the target image with the source face associated with the specified ID. This action is central to the video's tutorial, as it demonstrates the practical application of the face swapping technique.

💡Photopia

Photopia, as mentioned in the script, is a free online photo editing tool that can be used as an alternative to more sophisticated and potentially costly software like Adobe Photoshop. It offers basic to intermediate editing features, such as adding masks and using brushes, which are essential for the detailed work of selectively editing faces in an image.

💡Raster Mask

A raster mask is a digital imaging technique that allows for non-destructive editing of an image by hiding or revealing parts of a layer based on the color information in the mask. In the context of the video, a raster mask is used to selectively apply the face swap to specific faces in an image, allowing the user to retain the original faces where desired.

💡Alt/Option Key

The Alt (on a PC) or Option (on a Mac) key is a modifier key used in computer interfaces to access additional functions or options. In the context of the video, holding down the Alt or Option key is a crucial step in adding a raster mask in Photopia, which is then used to selectively edit the faces in the image.

Highlights

The video demonstrates a method to swap faces in an image using AI technology.

An image with multiple faces can be used as a template for face swapping.

The original image should have a clear view of the face with a neutral expression.

Discord is used as a platform to create a server and add bots for the face-swapping process.

Mid Journey and Insight face swap bots are essential for the face-swapping process.

Creating an ID for the face to be swapped is a necessary step before starting the process.

The '/save ID' command is used to create an ID for the image in the Insight face swap bot.

The '/swap ID' command is used to initiate the face-swapping process.

All faces in the image can be swapped simultaneously using the AI technology.

The process can be used to create art pieces with a uniform appearance of faces.

Photopia, a free online tool, can be used to modify the swapped faces in the image.

Using the ALT or OPTION key along with a mask in Photopia allows for precise face swapping.

The brush tool in Photopia is used to paint over the faces for fine-tuning the swapping.

The technique shown can be applied in Photoshop with similar steps.

The video provides a step-by-step guide that is easy to follow for face swapping.

The AI technology used in the video enables quick and efficient face swapping.

The video concludes by encouraging viewers to explore more AI-based techniques.