numpy safetensors torch torchvision transformers easydict ftfy





ComfyUI implementation of FlashFace: Human Image Personalization with High-fidelity Identity Preservation
ComfyUI/custom_nodes directory“`sh
cd ComfyUI/custom_nodes
git clone https://github.com/nuanarchy/ComfyUI-NuA-FlashFace.git
“`
“`sh
pip install -r ComfyUI-NuA-FlashFace/requirements.txt
“`
“`sh
mkdir ComfyUI/models/flashface
mkdir ComfyUI/models/face_detection
wget -O ComfyUI/models/flashface/flashface.ckpt https://huggingface.co/shilongz/FlashFace-SD1.5/resolve/main/flashface.ckpt?download=true
wget -O ComfyUI/models/vae/sd-v1-vae.pth https://huggingface.co/shilongz/FlashFace-SD1.5/resolve/main/sd-v1-vae.pth?download=true
wget -O ComfyUI/models/clip/openai-clip-vit-large-14.pth https://huggingface.co/shilongz/FlashFace-SD1.5/resolve/main/openai-clip-vit-large-14.pth?download=true
wget -O ComfyUI/models/clip/bpe_simple_vocab_16e6.txt.gz https://huggingface.co/shilongz/FlashFace-SD1.5/resolve/main/bpe_simple_vocab_16e6.txt.gz?download=true
wget -O ComfyUI/models/face_detection/retinaface_resnet50.pth https://huggingface.co/shilongz/FlashFace-SD1.5/resolve/main/retinaface_resnet50.pth?download=true
“`
install.py script to automate the setup process:“`sh
cd ComfyUI/custom_nodes/ComfyUI-NuA-FlashFace
python install.py
“`
In the examples folder, you will find the workflow diagram, the JSON file with the configuration, and four resulting images.
![]() |
![]() |
![]() |
![]() |