• Stars
    star
    3,125
  • Rank 13,811 (Top 0.3 %)
  • Language
    Python
  • License
    GNU Affero Genera...
  • Created 11 months ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

roop extension for StableDiffusion web-ui

roop for StableDiffusion

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.

Supported By


Integrate Roop into your app with RandomSeed API.

example

Disclaimer

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. It has a built-in check which prevents the program from working on inappropriate media. We will continue to develop this project in the positive direction while adhering to law and ethics. This project may be shut down or include watermarks on the output if requested by law.

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.

Installation

First of all, if you can't install it for some reason, don't open an issue here. Google your errors.

On Windows, download and install Visual Studio. During the install, make sure to include the Python and C++ packages.

  • Run this command: pip install insightface==0.7.3
  • In web-ui, go to the "Extensions" tab and use this URL https://github.com/s0md3v/sd-webui-roop in the "install from URL" tab.
  • Close webui and run it again
  • If you encounter 'NoneType' object has no attribute 'get' error, download the inswapper_128.onnx model and put it inside <webui_dir>/models/roop/ directory.

For rest of the errors, use google. Good luck.

Usage

  1. Under "roop" drop-down menu, import an image containing a face.
  2. Turn on the "Enable" checkbox
  3. That's it, now the generated result will have the face you selected

Tips

Getting good quality results

First of all, make sure the "Restore Face" option is enabled. You can also try the "Upscaler" option or for more finer control, use an upscaler from the "Extras" tab.

For even better quality, use img2img with denoise set to 0.1 and gradually increase it until you get a balance of quality and resembelance.

Replacing specific faces

If there are multiple faces in an image, select the face numbers you wish to swap using the "Comma separated face number(s)" option.

The face didn't get swapped?

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.

More Repositories

1

roop

one-click face swap
Python
24,347
star
2

XSStrike

Most advanced XSS scanner.
Python
12,523
star
3

Photon

Incredibly fast crawler designed for OSINT.
Python
10,404
star
4

Arjun

HTTP parameter discovery suite.
Python
4,747
star
5

AwesomeXSS

Awesome XSS stuff
JavaScript
4,605
star
6

Smap

a drop-in replacement for Nmap powered by shodan.io
Go
2,708
star
7

Striker

Striker is an offensive information and vulnerability scanner.
Python
2,163
star
8

be-a-hacker

roadmap for a self-taught hacker
1,694
star
9

ReconDog

Reconnaissance Swiss Army Knife
Python
1,685
star
10

Hash-Buster

Crack hashes in seconds.
Python
1,639
star
11

huepy

Print awesomely in terminals.
Python
1,460
star
12

Corsy

CORS Misconfiguration Scanner
Python
1,213
star
13

Silver

Mass scan IPs for vulnerable services
Python
993
star
14

uro

declutters url lists for crawling/pentesting
Python
966
star
15

Diggy

Extract endpoints from apk files.
Shell
847
star
16

Decodify

Detect and decode encoded strings, recursively.
Python
841
star
17

Blazy

Blazy is a modern login bruteforcer which also tests for CSRF, Clickjacking, Cloudflare and WAF .
Python
800
star
18

Breacher

An advanced multithreaded admin panel finder written in python.
Python
679
star
19

goop

Google Search Scraper
Python
561
star
20

ote

Generate Email, Register for anything, Get the OTP/Link
Python
561
star
21

Zen

Find emails of Github users
Python
522
star
22

Parth

Heuristic Vulnerable Parameter Scanner
Python
512
star
23

Orbit

Blockchain Transactions Investigation Tool
Python
506
star
24

JShell

JShell - Get a JavaScript shell with XSS.
Python
498
star
25

MyPapers

Repository for hosting my research papers
Python
492
star
26

Bolt

CSRF Scanner
Python
490
star
27

Cloak

Cloak can backdoor any python script with some tricks.
Python
475
star
28

nano

Nano is a family of PHP web shells which are code golfed for stealth.
PHP
427
star
29

sqlmate

A friend of SQLmap which will do what you always expected from SQLmap.
Python
406
star
30

SubGPT

Find subdomains with GPT, for free
Python
315
star
31

dump

Stuff that doesn't deserves its own repository.
Python
293
star
32

hardcodes

find hardcoded strings from source code
Python
272
star
33

Quark

Quark is a data visualization framework.
JavaScript
211
star
34

proxify

A python module for dumping usable proxies.
Python
150
star
35

Predator

Anti-Automation System
CSS
118
star
36

Shiva

Improved DOS exploit for wordpress websites (CVE-2018-6389)
Python
109
star
37

velocity

DNS caching for humans
Python
86
star
38

rewise

Google auto-complete wrapper
Python
74
star
39

zetanize

HTML form parser for humans.
Python
72
star
40

ifnude

nudity detector that works
Python
67
star
41

Locky

Locky generates "really" strong yet easy to remember passwords.
Python
59
star
42

Entropy

Entropy is a (prototype) WAF driven by maths.
Python
53
star
43

fonetic-go

golang implementation of fonetic (https://github.com/s0md3v/fonetic)
Go
38
star
44

meta

Explains and tests HTTP response headers
Python
38
star
45

fonetic

assess pronounciblity of text
Python
32
star
46

shades

Shell
27
star
47

wl

convert case style of words
Go
19
star
48

s0md3v.github.io

my personal blog
SCSS
12
star
49

s0md3v

8
star
50

.github

my default .github files
5
star
51

BG3-Mutant

Mod for Baldur's Gate 3 that adds a Mutant class to the game.
2
star