ComfyUI implementation of FlashFace: Human Image Personalization with High-fidelity Identity Preservation
Officially implemented here: https://github.com/ali-vilab/FlashFace
- Navigate to the
custom_nodes
directory in your ComfyUI installation. - Install the custom node by running
git clone https://github.com/cold-hand/ComfyUI-FlashFace.git
in thecustom_nodes
directory. - If you are using a virtual environment, activate it.
- cd into the
ComfyUI-FlashFace
directory and run setup.sh or setup.bat depending on your OS. - Restart ComfyUI and refresh your browser and you should see the FlashFace node in the node list .
- Load the provided example-workflow.json in file in the examples/comfyui folder of this repo to see how the nodes are used.
The FlashFace node takes in an image and outputs a personalized image with the desired attributes. In comparison with InstantId I feel that it yields more realistic results. The original repo had a limit of 4 reference images, that limitation has been removed in this implementation. I've found that generally the more reference images you provide the better the results. as seen below:
Example Reference Image:
Nicki Minaj
Output with 1 Reference Image | Output with 4 Reference Images | Output with 8 Reference Images | Output with 16 Reference Images |
- [5/22/2024]: Initial release