NSFW (uncensored) version (use it on your own responsibility) of original sd-webui-roop-NSFW FIXED INSTALLATION ISSUES
This is an extension for StableDiffusion's AUTOMATIC1111 web-ui that allows face-replacement in images. It is based on Roop-GE.
This software is meant to be a productive contribution to the rapidly growing AI-generated media industry. It will help artists with tasks such as animating a custom character or using the character as a model for clothing etc.
The developers of this software are aware of its possible unethical applicaitons and are committed to take preventative measures against them. We will continue to develop this project in the positive direction while adhering to law and ethics.
Users of this software are expected to use this software responsibly while abiding the local law. If face of a real person is being used, users are suggested to get consent from the concerned person and clearly mention that it is a deepfake when posting content online. Developers and Contributors of this software are not responsible for actions of end-users.
To install the extension, follow these steps:
- (For Windows Users) Install Visual Studio 2022 (Community version, for example - you need this step to build some of dependencies): https://visualstudio.microsoft.com/downloads/ OR only VS C++ Build Tools (if you don't need the whole Visual Studio) and select "Desktop Development with C++" under "Workloads -> Desktop & Mobile": https://visualstudio.microsoft.com/visual-cpp-build-tools/
- In web-ui, go to the "Extensions" tab and use this URL
https://github.com/Gourieff/sd-webui-roop-nsfw
in the "Install from URL" tab. - Go to the "Installed" tab and click "Restart the UI"
- Under "NSFW-Roop" drop-down menu, import an image containing a face.
- Turn on the "Enable" checkbox
- That's it, now the generated result will have the face you selected
Use the "Restore Face" option. You can also try the "Upscaler" option or for more finer control, use an upscaler from the "Extras" tab. You can also set the postproduction order (from 0.1.0 version):
The old logic was the opposite (Upscale -> then Restore), resulting in worse face quality (and big texture differences) after upscaling.
Select the face numbers you wish to swap using the "Comma separated face number(s)" option for swap-source and result images. You can use different index order.
This means roop detected that your image is NSFW.
You can choose to activate the swap on the source image or on the generated image, or on both using the checkboxes. Activating on source image allows you to start from a given base and apply the diffusion process to it.
Inpainting should work but only the masked part will be swapped.
ORIGINAL AUTHOR : https://github.com/s0md3v/sd-webui-roop MODIFIER (NSFW UNCENSORED) : https://github.com/Gourieff/sd-webui-roop-nsfw