aliyun-python-sdk-core-v3>=2.13.10 python-slugify>=8.0.1 onnxruntime-gpu timm modelscope controlnet_aux>=0.0.6 mmdet>=2.26.0 mediapipe transformers insightface sentencepiece pysoundfile soundfile










This project is adapted from facechain and involves the breakdown and improvement of the processes of facechain.
English | 简体中文
If you have any questions or suggestions, you can reach us through the following channels:

custom_nodes directory at ComfyUI/custom_nodes/.cd custom_nodes
custom_nodes directory.git clone https://github.com/THtianhao/ComfyUI-FaceChain
Facechain Workflow Location: workflow_inpaiting_inference.png
Drag the workflow directly into ComfyUI.
> The workflow can load the checkpoints and style Lora used by facechain, download them first, and then merge them, providing relevant prompts.
> Workflow: ./workflow/workflow_inference.json
> Detects faces and crops them.
Parameter Description:
> Fusion using model scope model.
> Segmentation using model scope model to obtain masks for the face and body.
Parameter Description:
> Performs face fusion and replaces the original image, similar to facefusion but mainly used for multiple people.
> Removes the Canny-detected parts of the face.
> Replaces the image based on the mask.
> Operations on the mask.
Parameter Description:
> Currently, it can only be used in conjunction with FC FaceDetectCrop in square 512 width height mode. Pastes the cropped image onto the target image based on the mask.
Parameter Description:
FC FaceDetectCrop in square 512 width height mode.If you find any issues or have suggestions for improvement, feel free to contribute. Follow these steps:
git checkout -b feature/your-feature-namegit commit -m "Add new feature"git push origin feature/your-feature-nameThis project is licensed under the MIT License. See the LICENSE file for details.
Join us and contribute to the development of EasyPhoto ComfyUI Plugin!