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.
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
.
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
<details> <summary>Choose Checkpoint and LoRA trained for your character.</summary> <img src="images/choose_model.png" width="300"> </details> <details> <summary>Upload Base Image and Character Face</summary> <img alt="123" src="images/upload_face.png" width="300"/> </details> <details> <summary>Write prompts to describe target face, use LoRA keywords and embeddings.</summary> <img alt="123" src="images/prompt.png" width="300"/> </details> <details> <summary> Generate character face, you can check character face generation in Preview. Download Face with Seam, and Seam Mask. </summary>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.