Home

Awesome

PNSTYLE_23png

ComfyUI PhotoMaker

Unofficial implementation of PhotoMaker for ComfyUI

<!--- ![Dingtalk_20240117150313](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/da664c2b-cb30-44e2-85ec-d6070fcfa8f0) ![Dingtalk_20240117161736](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/07c924ab-3ee5-4919-87bc-ac49c28914f1) --->

Dingtalk_20240118163802

<!--- ![Dingtalk_20240118163953](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/9b8a665f-6c9c-441c-aa81-fc56423de89e) --->

单张参考与多张参考的对比:

Dingtalk_20240117201650

Dingtalk_20240117201201

项目介绍 | Info

<!--- 节点拆分 + 支持本地模型 + 支持自定义尺寸 +提速3倍 + 支持多图直接输入 --->

Dingtalk_20240119194547

视频演示

<!--- https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/8718a70e-a5d7-463b-b36e-de1ffefad9ed --->

https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/d58af6e7-d0f3-41ff-ab33-195cb6d66e9e

节点说明 | Features

<!--- - base_model_path:支持输入huggingface模型名称自动下载模型(如:SG161222/RealVisXL_V3.0) - ref_images_path:支持批量读取参考图像,放入文件夹中即可 - ptompt、negative:正负提示词 - style_name:支持官方提供的10种风格 - (No style) - Cinematic - Disney Charactor - Digital Art - Photographic (Default) - Fantasy art - Neonpunk - Enhance - Comic book - Lowpoly - Line art - style_strength_ratio:风格混合强度(高于30按30计算) - step:步数,官方默认50步,但毕竟是基于SDXL模型,我实测下来30步足够了 - guidance_scale:提示词相关度,一般默认为5 - seed:种子 --->

风格 | Styles

PNSTYLE_2

安装 | Install

<!--- - 推荐使用管理器 ComfyUI Manager 安装 --->

工作流 | Workflows

(注:特意补充了 V2.5 的基础工作流,V2.0 工作流已弃用)

<!--- - [V2.0 本地模型 locally](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/blob/main/PhotoMaker%20Workflows/PhotoMaker_locally%E3%80%90Zho%E3%80%91.json) ![QQ截图20240118163432](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/bf6a55ae-767e-4aaf-9f75-6f752bb5b530) - [V2.0 自动下载 huggingface hub](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/blob/main/PhotoMaker%20Workflows/PhotoMaker_fromhub%E3%80%90Zho%E3%80%91.json) ![QQ截图20240118163252](https://github.com/ZHO-ZHO-ZHO/ComfyUI-PhotoMaker/assets/140084057/f645c1b7-2548-45fc-b388-0ebe62e2724d) --->

更新日志

速度实测 | Speed

Stars

Star History Chart

关于我 | About me

📬 联系我

🔗 社交媒体

💡 支持我

Credits

感谢@erLin对ComfyUI 的图像张量 Shape (N, H, W, C)的提醒,帮助我成功修复了bug!

PhotoMaker