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 a free online tool called Photopia. The process involves creating a server on Discord, adding specific bots, and using their commands to swap faces. The video also shows how to fine-tune the result by using a mask in Photopia, allowing for the selective swapping of individual faces in an image.

Takeaways

  • 🎨 The video is a tutorial on how to perform face swapping in images, specifically swapping a single face into an image with multiple faces.
  • 🖼️ The process begins with selecting an appropriate 'source' face image with a neutral expression and fully visible features.
  • 🌐 The tutorial uses Discord and two specific bots: Mid Journey and Insight Face Swap, which need to be added to a newly created server.
  • 🤖 The Insight Face Swap bot is crucial for the face swapping process and is added via a provided link.
  • 🔍 The video demonstrates how to create an 'ID' for the source image using the '/save ID' command in the Insight Face Swap bot.
  • 🔄 The 'swap ID' command is used to perform the face swap, initially replacing all faces in the target image with the source image.
  • 🖌️ For more precise control, the video introduces a method to selectively replace only one face using a photo editing tool like Photopia.
  • 🖼️ The selective face swap is achieved by using a raster mask and brush tool to reveal the desired face on the edited image.
  • 📸 The final result is an image where the user can choose to retain the swapped face while keeping the original faces intact.
  • 💡 The tutorial emphasizes the ease and speed of the process, making it accessible for creating art or other creative projects.
  • 📝 The video provides a step-by-step guide, ensuring that viewers can follow along and replicate the face swapping technique on their own images.

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.

  • Which platform is used to demonstrate the face-swapping process?

    -The platform used for demonstrating the face-swapping process is Discord, utilizing the mid-journey bot and the Insight face swap bot.

  • What type of images are used in the face-swapping tutorial?

    -The images used in the tutorial are a single image of a lady with a neutral expression and another image containing four people.

  • How many faces are initially swapped in the second image?

    -All four faces in the second image are swapped using the described method.

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

    -The purpose of creating a server on Discord is to set up and add the necessary bots for the face-swapping process, which are the mid-journey bot and the Insight face swap bot.

  • How is the ID for the face image created?

    -The ID for the face image is created by using the command 'forward slash save ID' followed by dragging and dropping the image or clicking, and then naming the ID.

  • What command is used to swap the faces in the image?

    -The command used to swap the faces in the image is 'forward slash swap ID' followed by dragging and dropping the image and entering the ID name.

  • Why is it important to save both the original and the new images?

    -It is important to save both the original and the new images to have a reference and to compare the differences after the face-swapping process is complete.

  • What is the role of the website photopia in the process?

    -The website photopia is used to apply a raster mask and to manually paint over the faces in the images to fine-tune the face-swapping process and to selectively keep or remove swapped faces.

  • How does the process ensure that only one face is swapped in the final image?

    -The process ensures that only one face is swapped by using a tool like the brush in photopia to manually paint over the faces on the raster mask, which allows for selective swapping of individual faces in the image.

  • What are the key differences between the original and the final images?

    -The key differences between the original and the final images are the swapped faces. The original images contain the faces of four different people, while the final image has the face of the chosen individual (Karen) swapped onto all or selected faces.

Outlines

00:00

🎥 Introduction to Face Swapping in Images

The video begins by introducing the concept of face swapping, specifically focusing on swapping a single face into an image containing multiple faces. The creator demonstrates an example where a lady's neutral expression is swapped onto four different people in a photo. The original and swapped images are shown for comparison, highlighting the seamless integration of the lady's face onto the subjects. The video then outlines the step-by-step process of setting up the necessary tools and servers to perform face swapping, starting with creating a Discord server and adding specific bots that enable the process.

05:01

🖼️ Swapping Faces in Multiple Images

In this segment, the video script explains the process of swapping faces in multiple images using the created IDs for the images. The creator guides the viewer through the steps of using the 'save ID' command to create an ID for the image of a person named Karen. The video then demonstrates how to use the 'swap ID' command to replace faces in multiple images. An example is given where all four faces in an image are swapped with Karen's face. The video further explains how to use a tool like Photopia to fine-tune the swapping process, allowing for the retention of one face while swapping out others. The technique involves using a mask and brush tool to selectively apply the face swap, resulting in a customized final image.

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 neutral expression face from one image and superimposing it onto multiple faces in a second image, creating a composite where all individuals have the same facial features.

💡Mid Journey Bot

The Mid Journey Bot is a tool mentioned in the script that seems to be part of the process for face swapping. Although not explicitly defined within the transcript, it is likely a Discord bot that facilitates or automates certain aspects of the face swapping process, possibly related to image processing or interaction with other tools.

💡Discord

Discord is a communication platform designed for communities, including the gaming community, and is used here as a means to host and interact with bots that perform face swapping. Servers on Discord are virtual spaces where users can chat, share files, and use bots for various tasks.

💡Insight Face Swap Bot

The Insight Face Swap Bot is a specific bot mentioned in the script that is integral to the face swapping process. It is likely a specialized tool that uses AI algorithms to detect and replace faces in images with a high degree of accuracy.

💡Image IDs

In the context of the video, Image IDs refer to unique identifiers assigned to images that are to be used in the face swapping process. These IDs are created using the Insight face swap command and are essential for the bot to recognize and manipulate the images correctly.

💡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 item. In the video, it is used as a method for users to input images into the face swapping process.

💡Photopia

Photopia is a free online photo editing tool that is used in the video as an alternative to more advanced (and often paid) software like Photoshop. It offers basic image manipulation features such as adding masks and using brushes, which are necessary for the face swapping process after the faces have been swapped.

💡Raster Mask

A raster mask is a digital image editing technique that allows users to hide or reveal parts of an image layer by painting on a grayscale layer. In the context of the video, it is used to selectively reveal the original faces in the image after the face swapping has occurred.

💡Brush Tool

The brush tool is a common feature in digital image editing software that allows users to paint on the canvas with various settings such as size, opacity, and color. In the video, it is used to apply the raster mask and selectively edit the image.

💡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, it is used in conjunction with the brush tool to apply a raster mask to specific areas of the image.

💡Image Editing

Image editing refers to the process of altering or enhancing digital images using various tools and techniques. In the video, image editing is the overarching theme and involves multiple steps, including face swapping, adding masks, and using brushes to achieve the final desired look.

Highlights

The video demonstrates a method for swapping faces in an image with multiple faces.

The process begins by downloading an image with a neutral expression and all facial features visible.

A second image containing multiple people is used for the face-swapping demonstration.

The video shows how to swap one person's face onto all individuals in the second image.

The video also covers how to swap out a specific face in a group while keeping the others the same.

Creating a server on Discord is the first step in setting up the face-swapping process.

Adding the MidJourney and Insight Face Swap bots to the server is crucial for the process.

The video provides a link to the Insight Face Swap bot for easy access.

Creating an ID for the face to be swapped is part of the setup process.

The command to create an ID is introduced as a new feature of the Insight Face Swap tool.

The video demonstrates how to use the 'swap ID' command to change faces in an image.

In some cases, swapping all faces in a group may be desirable, such as in art pieces.

The video then explains how to selectively swap only one face using a photo editing tool.

Photopia, a free online tool, is used to demonstrate the face-swapping technique.

The technique involves using a mask and brush tools to reveal or hide the swapped faces.

The video concludes by showing the final result of the selective face-swapping process.