AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

Recently, the Internet is very popular all kinds of face-swapping interesting pictures, that these pictures are how to make it?PS bit by bit to repair? PS repair little by little? The vast majority of such images are generated using AI. Compared to PSAI face-changingMore realistic and faster. Today, I'm going to explain how to make theStable Diffusionhit the nail on the headRoop PluginPerform a face swap.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

The pre-preparation for installing the Roop plug-in is actually quite tedious. First of all, you need to download and install Microsoft VisualStudio in your computer, which can be downloaded from Microsoft's official website: https://visualstudio.microsoft.com/zh-hans/downloads/

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
After running the downloaded installation package, it will automatically download the required files from the Internet, which is usually very fast depending on the network conditions.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
In the installation, check the boxes for Python development, desktop development using C++, mobile development using C++, Linux running in C++ and embedded development. This step will take up nearly 20GB of system storage space, you can manually choose the installation path according to your own storage, do not have to install in the default path.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
Click on Install and wait a few moments (about half an hour) for the installation to complete.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

The program will run automatically after installation, just click Skip Login.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

Clicking on the Launch Visual Studio button will automatically configure it.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

When everything is done click the fork in the upper right corner to close Visual Studio.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
Press Win+R at the same time and type CMD command, type python -m pip install insightface==0.7.3 Enter.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
Type python.exe -m pip install --upgrade pip Enter.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

On the System Settings page go to System Properties in Advanced Settings and click on the Environment Variables button.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
Double-click Path in the system variables below to create a new local Python installation directory, enter X:python\scripts (depending on your Python installation path) and click OK.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

Type python.exe -m pip install --upgrade protobuf enter in the CMD command.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

Launch Stable Diffusion WebUI, click Load in Extensions, search for Roop keyword and the Roop plugin will appear, click Install. For those with bad network, you can download it manually from Github to install it. URL: https://github.com/s0md3v/sd-webui-roop

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

Click on Code in the upper right and select the Download ZIP button and the download will take place automatically.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial
Download the roop plugin and extract it to the extensions folder in your Stable Diffusion root directory. When you are done, restart WebUI and the program will automatically load the roop plugin and download the corresponding model files. Next is the face swap in action.
AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

I think the young girl in this picture is very classy the background, the outfit, the pose and the costume are all great, but the only thing I don't like is the face.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

The face in the picture above is great, but the style and costume poses are underwhelming, and it's time for the Roop plugin to shine.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

In the WebUI go to the Tupelo Graphics tab, select Localized Redraw drag the template into it and select the face that needs to be redrawn.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

Click on the Roop option below, first pass the face that needs to be replaced and tick the startup option. Click Generate and wait for a few moments for the unexpected effect.

AI face-changing is so simple, Stable Diffusion Roop plugin usage tutorial

The above picture is the finished product of the face swap, for the Roop plug-in, I think we should already know how to install and how to use. On the content of AI, I will also bring you more interesting articles please look forward to.

statement:The content is collected from various media platforms such as public websites. If the included content infringes on your rights, please contact us by email and we will deal with it as soon as possible.
TutorialEncyclopedia

Prompt to share, how to use AI to write a popular public account article?

2024-2-14 21:07:38

TutorialEncyclopedia

Free AI face-changing software FaceFusion nanny-level tutorial

2024-2-16 9:14:48

Search