StableDiffusion extension for face replacement in images
Top 14.1% on sourcepulse
This extension for AUTOMATIC1111's StableDiffusion web-ui enables face-swapping in generated images, targeting artists and creators for tasks like character animation or model visualization. It aims to provide a productive tool while incorporating preventative measures against misuse.
How It Works
The extension leverages the insightface
library for face detection and swapping. Users select a source face image and enable the feature within the web-ui. The core mechanism involves identifying faces in the generated output and replacing them with the selected source face, offering control over which faces are swapped via a comma-separated input.
Quick Start & Requirements
https://github.com/s0md3v/sd-webui-roop
insightface==0.7.3
.inswapper_128.onnx
model and place it in <webui_dir>/models/roop/
if encountering specific errors.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The extension may fail to swap faces if the input image is detected as NSFW or if no face can be detected. Users are advised to consult external resources for troubleshooting installation errors.
1 year ago
Inactive