This is an extension for StableDiffusion's AUTOMATIC1111 web-ui that allows face-replacement in images. It is based on roop but will be developed seperately.
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 user of this software are aware of its possible unethical applicaitons and are committed to take preventative measures against them.
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 of this software will not be responsible for actions of end-users.
To install the extension, follow these steps:
- In web-ui, go to the "Extensions" tab and use this URL
https://github.com/P2Enjoy/sd-webui-roop-uncensored
in the "install from URL" tab. - Restart the UI
On Windows.. just use linux: you're grown up enough to get to serious stuff instead of playing with baby's toys.
- Under "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.
Select the face numbers you wish to swap using the "Comma separated face number(s)" option.
Did you click "Enable"?
If you did and your console doesn't show any errors, it means roop detected that your image is either NSFW or wasn't able to detect a face at all.
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.