欢迎光临散文网 会员登陆 & 注册

ComfyUI+Roop单张照片换脸

2023-08-03 23:26 作者:BoosterCore  | 我要投稿

一种用Roop换脸的流程探讨

A Process Exploration of Face Swapping with Roop


步骤与目标(Steps & Objectives):

1、使用SDXL生成基础肖像,因为SDXL具有较高的画质和较强的风格化可控性。

1、Use SDXL to generate the base portrait, because SDXL has higher picture quality and stronger stylization controllability.


2、使用Roop替换人物脸部,并用面部修复功能提高替换部分的画质。

2、Use Roop to replace the character's face, and use the face restore function to improve the quality of the replaced part.


3、使用SD1.5的img2img将肖像重新生成一遍,调和替换的脸部与风格化之间的不协调,这一步采用SD1.5的流程,是因为目前其第三方模型与LORA更加丰富。

3、Use SD1.5 img2img to regenerate the portrait once again, and reconcile the inconsistency between the replaced face and the stylization. This step adopts the process of SD1.5 because its third-party models and LORA are more abundant at present.


4、再次使用Roop替换人物脸部,因为之前已经替换过一次,并img2img了一遍,所以第二次次替换,脸型会更加协调一些。

4、again using Roop to replace the character face, because it has been replaced once before, and img2img over, so the second replacement, the face will be more coordinated.


5、再次用SD1.5的img2img将肖像重新生成一遍,调和脸部特征与风格化,这一次的Denoise一定要设置得非常低,否则替换的人物脸型特征会被削弱。

5、Use img2img of SD1.5 to regenerate the portrait again to reconcile the facial features and stylization. This time, the Denoise must be set very low, otherwise the facial features of the replaced characters will be weakened.

  

6、最后再Upscale和后期微调一下肖像。

6、Finally, Upscale and post fine-tune the portrait.



用到的主要第三方节点(Main Custom Nodes Used)

1、SeargeSDXL        https://github.com/SeargeDP/SeargeSDXL


2、ComfyUI_roop       https://github.com/Navezjt/ComfyUI_roop   【Conflict with comfy_controlnet_preprocessors, waiting for update】


3、ComfyUI-FaceRestore    https://civitai.com/models/24690


4、was-node-suite-comfyui  https://github.com/WASasquatch/was-node-suite-comfyui


ComfyUI+Roop单张照片换脸的评论 (共 条)

分享到微博请遵守国家法律