ComfyUI-InfiniteYou

ComfyUI-InfiniteYou
★ 11

换脸ComfyUIInfiniteYouHuggingFace
基于字节跳动InfiniteYou的ComfyUI自定义节点,将任意人脸替换到目标图像,便于在ComfyUI流程中集成换脸能力并管理HuggingFace认证与依赖。
💡 在ComfyUI流程中快速将任意人脸换到目标图像。
🍴 3 Forks💻 Python🔄 2025-04-16
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/fb3bdb493558
📦 requirements.txt
accelerate
diffusers==0.31
facexlib
huggingface-hub
insightface
numpy
numpy==1.26.4
onnxruntime
opencv-python
pillow
pillow-avif-plugin
pillow-heif
sentencepiece
torch
torchvision
transformers
peft
pygit2
📄 README

Bytedance has an official support for ComfyUI now…

https://github.com/bytedance/ComfyUI_InfiniteYou

Put anyone’s face on anything with Byte Dance’s InfiniteYou.

Hardware

Uses 40GB of VRAM. Takes about a minute on an RTX A6000, 48GB.

Note: I only had temporary access to the hardware to run this. Might not be able to help much.

Installation

To get FLUX, you need to run huggingface-cli login.

And put in your huggingface access token from https://huggingface.co/settings/tokens

At the moment it needs diffusers==0.31 numpy<2. If something goes wrong make sure these versions are installed pip show numpy diffusers

runpod

Link the ~/.cache folder to permanent storage or else it'll get wiped every time and it'll redownload the models every time.