ComfyUI+Roop單張照片換臉

一種用Roop換臉的流程探討
A Process Exploration of Face Swapping with Roop
步驟與目標(biāo)(Steps & Objectives):
1、使用SDXL生成基礎(chǔ)肖像,因?yàn)镾DXL具有較高的畫質(zhì)和較強(qiáng)的風(fēng)格化可控性。
1、Use SDXL to generate the base portrait, because SDXL has higher picture quality and stronger stylization controllability.
2、使用Roop替換人物臉部,并用面部修復(fù)功能提高替換部分的畫質(zhì)。
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將肖像重新生成一遍,調(diào)和替換的臉部與風(fēng)格化之間的不協(xié)調(diào),這一步采用SD1.5的流程,是因?yàn)槟壳捌涞谌侥P团cLORA更加豐富。
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替換人物臉部,因?yàn)橹耙呀?jīng)替換過一次,并img2img了一遍,所以第二次次替換,臉型會(huì)更加協(xié)調(diào)一些。
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將肖像重新生成一遍,調(diào)和臉部特征與風(fēng)格化,這一次的Denoise一定要設(shè)置得非常低,否則替換的人物臉型特征會(huì)被削弱。
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和后期微調(diào)一下肖像。
6、Finally, Upscale and post fine-tune the portrait.
用到的主要第三方節(jié)點(diǎn)(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