Awesome
PhotoMakerV2 Native
PhotoMaker released version v2 a few months ago, but no one had updated it for Comfy v1. This repository provides an adaptation of PhotoMaker v2 for Comfy, as Comfy did not accept the original PR. The code here is very similar to the Comfy v1 version.
Most of the code originates from PhotoMaker; it has been adapted for Comfy by modifying the v1 code and adding two new nodes.
Installation
Clone this repository into ComfyUI/custom_nodes
:
git clone https://github.com/zhangp365/ComfyUI_photomakerV2_native.git
PhotoMaker v2 requires the InsightFace library, so please ensure all dependencies are installed by running:
pip install -r requirements.txt
As in v1, download and place the photomaker-v2.bin file in the /app/models/photomaker
directory.
When the node runs for the first time, it will automatically download the InsightFace model.
Base Model
It’s recommended to use the official base model realvisxlV40_v40Bakedvae.
Trigger Word
As in the official Comfy v1 version, the trigger word is photomaker
, not img
.
workflow and example
workflow <img src="assets/workflow.png" width="100%"/>
the image of the workflow. <img src="assets/example.png" width="100%"/>