Skip to content

ArtBot2023/CharacterFaceSwap

Repository files navigation

CharacterFaceSwap

Overview

Welcome to the Character Face Swap workflow! It is specialized for your target character face swap. Use LoRA and embeddings to enhance character concept in stable diffusion. Whether you're a fan of video games, anime, or photorealistic, swap face with your favorite characters in a realistic and seamless manner.

compare

Installation

ControlNet

ControlNet ip2p model is used for visual conditioning, download ip2p and put it in ComfyUI/models/controlnet

Character Face Swap

Recommend using ComfyUI Manager. Search Character Face Swap in manager and install. In your ComfyUI, load workflows in custom_nodes/CharacterFaceSwap/workflows.

Alt text

For manual installation,

cd ComfyUI/custom_nodes/
git clone https://github.com/ArtBot2023/CharacterFaceSwap.git
cd CharacterFaceSwap
# if you use ported ComfyUI
../../../python_embeded/python install.py
# otherwise
python install.py

In your ComfyUI, load workflows in custom_nodes/CharacterFaceSwap/workflows.

How It Works

Choose Checkpoint and LoRA trained for your character.
Upload Base Image and Character Face 123
Write prompts to describe target face, use LoRA keywords and embeddings. 123
Generate character face, you can check character face generation in Preview. Download Face with Seam, and Seam Mask.

Alt text

Seam Fix Inpainting: Use webui inpainting to fix seam. Check [FAQ](#faq)
Upload Seamless Face: Upload inpainting result to Seamless Face, and Queue Prompt again. Done!

FAQ

Q: Why not use ComfyUI for inpainting?

A: ComfyUI currently have issue about inpainting models, see issue for detail. If anyone find a solution, please notify me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages