Instantid工作流,这个工作流不是新出的,只是为了记录以及指导学员用。

首先需要安装insightface,根据自己的python版本安装。

https://github.com/Gourieff/Assets/tree/main/Insightface

安装命令为以下路径,红字区域需要改成你自己的文件下载地址。在cmd下面运行。

.\python\python.exe -m pip install "F:\ComfyUI_windows_portable\python_embeded\insightface-0.7.3-cp310-cp310-win_amd64.whl" onnxruntime

相关安装模型

https://huggingface.co/InstantX/InstantID/tree/main

https://github.com/deepinsight/insightface/releases/tag/v0.7

感谢聚梦小课堂:

参考: https://blog.csdn.net/JuMengXiaoKeTang/article/details/136823285