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 a step-by-step process on how to perform face swapping in images using a combination of Discord bots and an online photo editing tool. The process begins with setting up a server on Discord and adding specific bots for the task. The creator then shows how to create an ID for the face to be swapped using the Insight face swap bot, and proceeds to replace multiple faces in an image. The tutorial further explains how to refine the edit by using a mask in a photo editing tool to retain only the desired swapped face, showcasing a creative and engaging method for those interested in photo manipulation.

Takeaways

  • 🖼️ The video is a tutorial on how to swap faces in an image using AI technology.
  • 🤖 The process involves using a specific AI bot called 'mid Journey' and another called 'Insight face swap'.
  • 🔗 Start by creating a server on Discord for the bots to operate in, and add the necessary bots to this server.
  • 📸 The original image should have a clear view of the face to be swapped, preferably neutral and fully visible.
  • 🖼️ The video demonstrates swapping a single face into multiple faces within an image, and vice versa.
  • 🔍 The Insight face swap bot is crucial for the face swapping process and is added via a provided link.
  • 💻 The process requires the use of a tool like Photoshop or a free alternative like Photopia for mask editing.
  • 🎨 The technique involves creating an ID for the face to be swapped using the '/save ID' command.
  • 🔄 Swapping faces is done using the '/swap ID' command followed by dragging and dropping the images.
  • ⚙️ The final step is to refine the swapped faces using a mask and brush tool in an image editing platform.
  • 👁️‍🗨️ The video provides a step-by-step guide on how to achieve the face swap and offers tips for best results.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is about swapping faces in an image using AI technology, specifically within a group photo containing multiple faces.

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

    -The video demonstrates the face-swapping process by showing an original image with multiple faces and then displaying the result of the face swap, where one person's face is replaced with another across all individuals in the image.

  • What is the source of the original image used in the video?

    -The original image used in the video is sourced for free from a platform called Pixels.

  • What are the two images used in the demonstration?

    -The two images used are: one with a neutral expression lady looking at the camera, and another with four people in the shot.

  • How long does it take to perform the face-swapping process?

    -The face-swapping process should take only a couple of minutes to complete.

  • What is the role of the Discord platform in the face-swapping process?

    -Discord is used to create a server and add the necessary bots, specifically the mid-journey bot and the Insight face swap bot, to facilitate the face-swapping process.

  • How is the ID for the face to be swapped created?

    -The ID for the face to be swapped is created using the command '/save ID' followed by dragging and dropping the image and naming it in the Discord server with the Insight face swap bot.

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

    -The command used to swap the faces is '/swap ID' followed by dragging and dropping the image and specifying the ID of the face to be swapped in the Discord server.

  • How can one revert the changes after face swapping?

    -To revert the changes, one can use a photo editing tool like Photopia or Photoshop to manually adjust the masks and layers, or simply use the original image without the face swaps.

  • What is the purpose of using an external tool like Photopia for the final touches?

    -Photopia is used to fine-tune the face-swapped image by adding raster masks and using a brush tool to adjust the areas where the face swap is to be applied or removed, ensuring a more precise and customized result.

  • What is the significance of the ALT or OPTION key in the editing process?

    -Holding down the ALT or OPTION key is crucial for adding a raster mask to the image, which allows for the selective editing and adjustment of the face-swapped areas.

Outlines

00:00

🎥 Introduction to Face Swapping in Images

This paragraph introduces the concept of face swapping in images, specifically focusing on swapping a single face into an image containing multiple faces. The speaker demonstrates an example where a lady's face is swapped onto four different people in a photo. The process is explained step by step, starting with the selection of an appropriate image from pixels and the result of the face swapping. The speaker then guides the audience 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 speaker provides a detailed walkthrough on creating a Discord server and adding the required bots for face swapping. The process involves clicking the plus sign on Discord, selecting the server type, and naming the server. The next steps include adding the mid-journey bot and the Insight face swap bot by clicking on their respective icons, adding them to the server, and authorizing them. The speaker emphasizes the importance of following the instructions carefully to ensure the bots function correctly.

🖼️ Preparing the Images and Creating IDs

In this section, the speaker explains how to prepare the images for face swapping and create IDs for the faces to be used. The speaker drags and drops an image of a person named Karen onto the Discord platform and uses a command to create an ID for her. The process is straightforward, involving the use of commands enabled by the Insight face swap bot. The speaker emphasizes the case sensitivity of the ID names and the visual difference before and after the face swapping process.

🔄 Swapping Faces in Multiple Images

The speaker demonstrates how to swap faces in an image using the Discord bots. The process involves using a command to swap the ID and dragging the image into the Discord platform. The speaker shows the before and after results of the face swapping, highlighting the changes in the faces of the individuals in the image. The speaker also explains how to swap only one face in an image by using a mask in a photo editing tool like photopia, which is a free alternative to Photoshop. The technique involves holding down the ALT or option key and painting over the faces to be retained.

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 video, the process is used to demonstrate how to swap a single face or multiple faces within an image, using specific software and commands.

💡Mid Journey Bot

The Mid Journey Bot is a tool 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 software or a bot that aids in the face swapping process, possibly by handling image manipulation tasks.

💡Discord Server

A Discord server is an online communication platform where users can interact via voice, video, and text. In the context of the video, creating a Discord server is the first step in setting up the environment for face swapping, indicating that the process might involve coordinating with others or using server-based tools.

💡Insight Face Swap Bot

The Insight Face Swap Bot is a specific tool or software mentioned in the video that facilitates the face swapping process. It is implied to be the primary tool responsible for the technical aspect of swapping faces in images.

💡Image IDs

In the context of the video, Image IDs appear to be unique identifiers created for specific images that are to be used in the face swapping process. These IDs allow the user to reference and manipulate the images during the swapping procedure.

💡Drag and Drop

Drag and drop is a user interface action that allows users to move or copy data or items by dragging the item with a mouse or other pointer device and releasing it when the desired destination is highlighted. In the video, this action is used to add images to the face swapping process.

💡Swap ID Command

The Swap ID Command is a specific instruction or command used within the face swapping process to initiate the actual swapping of faces between images. It seems to be a part of the bot's syntax for executing the face swapping function.

💡Photopia

Photopia is a free online photo editing tool mentioned in the video as an alternative to Adobe Photoshop. It is used for tasks such as adding masks and editing images, which is necessary for the final stages of the face swapping process.

💡Raster Mask

A raster mask is a digital image editing technique that allows specific areas of an image to be hidden or revealed. It is used in photo editing software to isolate parts of an image for manipulation without affecting the rest of the image. In the video, a raster mask is used to selectively remove the swapped faces from the image.

💡Image Manipulation

Image manipulation refers to the process of altering or modifying images using digital tools or software. This can include changing the appearance, size, color, or composition of an image. In the video, image manipulation is the central theme, as it demonstrates how to change faces within a photo.

💡Online Tutorial

An online tutorial is a set of instructions or a video that teaches viewers how to perform a specific task or use a particular tool over the internet. The video in question is an online tutorial aimed at teaching the audience how to perform face swapping in images.

Highlights

The video demonstrates how to swap faces in an image with multiple faces using AI technology.

The original image chosen for face swapping has a neutral expression and all facial features are visible.

The process involves using a Discord server and two specific bots: Mid Journey and Insight Face Swap.

Creating a server on Discord is the first step, followed by adding the Mid Journey bot.

The Insight Face Swap bot is added to the server using a provided link and requires authorization.

An ID is created for the face to be swapped using the command '/save ID' followed by a name and image upload.

The face swapping process is initiated with the 'swap ID' command, which swaps all faces in the image by default.

A technique to swap only one face in an image is shown, involving saving both the original and swapped images.

The use of a free online tool, Photopia, is demonstrated for editing images when Photoshop is not available.

A mask is created using the ALT or Option key and a brush tool to selectively keep or remove swapped faces.

The video provides a step-by-step guide that is easy to follow for users interested in AI-based face swapping.

The practical application of this technique can be used for art pieces or other creative projects.

The video concludes by emphasizing the simplicity and effectiveness of the face swapping technique.