facexlib insightface onnxruntime onnxruntime-gpu ftfy timm


adapted from https://github.com/balazik/ComfyUI-PuLID-Flux
workflow: see example flux_pulid_multi.json
Formally discontinued.
You guys may just use i2i models like flux kontext/qwen image edit, they are just doing same thing or doing better than Pulid.
Add an optional prior image input for the node. When using the train_weight method, the prior image will act as the main id image, which will lead the other id images to sum up to an optimized id embedding.
This prior was randomly choosen previously, now we can assign it.
Leaving the prior image input empty is OK just as previous.
Please choose the best id image in your mind as the prior, or just experiment around and see what happens.
mean(official), concat, max…etc
using the norm of the conditions to weight them
using the max norm token among images
a novel very fast embeddings self-training methods(explained here: https://github.com/balazik/ComfyUI-PuLID-Flux/issues/28)
in some cases, using gray image will bring detail loss
for example, you can resize your high quality input image with lanczos method rather than nearest area or billinear. you get finer texture. Keep in mind that taking care of your input image is the thing when the base model is strong.
This is an experimental node. It can give enhanced result but I’m not promising basic instructions for users who barely know about python developing or AI developing.
Please follow the comfyui instructions or https://github.com/balazik/ComfyUI-PuLID-Flux to enable usage.
If you are just using SDXL pulid, you can use https://github.com/cubiq/PuLID_ComfyUI. Some of the installation instructions there may also help.