2.1 KiB
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.
Install then load workflow
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 -m pip install -r requirements
# otherwise
pip install -r requirements
In your ComfyUI, load workflows in custom_nodes/CharacterFaceSwap/workflows.
How It Works
Choose Your Model: Choose Checkpoint and LoRA trained for your character.
Upload Base Image and Character Face
Text Prompt: write prompts to describe target face, use LoRA keywords and embeddings.
Generate Character Face: You can check character face generation in Preview. Download Face with Seam, and Seam Mask.
Seam Fix Inpainting: Use webui inpainting to fix seam. Check 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.


