facefusionlib

Face swapper and enhancer


Keywords
face, swapper
License
MIT
Install
pip install facefusionlib==1.0.6

Documentation

FaceFuison extension for StableDiffusion Webui

FaceFusion is a very nice face swapper and enhancer.

This repo makes it an extension of AUTOMATIC1111 Webui.

Preview

Installation

  • Clone this repo into stable-diffusion-webui/extensions folder.
  • Start the Webui.

SD webui alwayson_scripts api

alwayson_scripts = {
	"facefusion": {
		"args": [
			# face image
			get_base64_image('./t1.png'),
			# Enable
			True,
			# Execution Provider
			"cuda",
			# Face Detector Score
			0.65,
			# Face Mask Blur
			0.7,
			# Batch Sources Images
			[get_base64_image('./t2.png'), get_base64_image('./t3.png')],
			# Skip check nsfw
			True
		]
	}
}