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-swappingMore realistic and faster. Today, I'm going to explain how to make theStable Diffusionhit the nail on the headRoop PluginPerform a face swap.

640-120

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/

640-119
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.
640-121
640-122
640-123
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.
640-124
Click on Install and wait a few moments (about half an hour) for the installation to complete.
640-125

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

640-126

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

640-127

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

640-128
Press Win+R at the same time and type CMD command, type python -m pip install insightface==0.7.3 Enter.
640-129
Type python.exe -m pip install -upgrade pip Enter.
640-130

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

640-131
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.
640-132

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

640-133

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

640-134

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

640-135
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.
640-136

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.

640-137

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.

640-138

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.

640-139

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.

640-140

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 of the source of public various media platforms, if the inclusion of the content violates your rights and interests, please contact the mailbox, this site will be the first time to deal with.
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

Zenium
Search