Using Flux model and PuLID model, generate an image with the same pose as the original image
This image is generated by AI
/models/pulid
directory. Note that the model author updates the model regularly, so you only need to download the latest version. Of course, you can also download the old version and try it. Currently, I tested that the 0.9.1 version did not perform much better than the 0.9.0 version.
Apply PuLID Flux
node (Figure ①) to the basic Flux workflow. Then connect it to the Apply PuLID Flux
node. You can see that the implementation of PuLID Flux is similar to Redux. It converts an image to a set of word vectors through Clip, then translates these word vectors into data that Flux can understand using the PuLID model, and finally passes the Prompt and these image data to the Flux model.
Batch Images
node (Figure ①), then import two images. Connect the Batch Images node to the image
endpoint (Figure ②) of the Apply PuLID Flux
node, and also make sure to connect the photo you most want the model to reference to the prior_image
endpoint (Figure ③) of the Apply PuLID Flux
node.
weight
parameter (Figure ④) in the Apply PuLID Flux
node needs to be set between 0.8-0.95. If it’s the v0.9.1 version, the weight
parameter needs to be set between 0.9-1.0.
fusion
in the Apply PuLID Flux
node to max
or max_token
, which can enhance some main facial features (such as big eyes, special nose, etc.). However, it may cause distortion beyond fidelity.
use_gray
can lead to detail loss, so you can try turning it off or on based on your experiments. For other parameters, in most cases, you don’t need to make adjustments.