赞
踩
上一篇我们学习了ControlNet,这一篇我们玩个宅男喜欢的换脸,看下面这个工作流
我们文生图,生成了一个小姐姐
然后将mimi大美女的脸换上去了,看上去是有那么点意思哈
再次观察这个工作流,我们发现,这玩意就是在文生图的基础上,添加了一个InstaSwap Fast Face Swap节点,就搞定了。
下面我们看下InstaSwap Fast Face Swap节点的安装,插件仓库地址是https://github.com/abdozmantar/ComfyUI-InstaSwap
下载后放入Comfyui工程目录custom_nodes中
按照插件的要求,下载 codeformer.pth和GFPGANv1.4.pth
并放入ComfyUI\models\facerestore_models目录中
接入重启Comfyui工程,并添加这个节点就可以了
划重点:input_image是要输入原图,source_image是脸图
然后运行工作流就大功告成了
如果你是按照本系列文章一步步的操作到这里,那么本篇的工作流应该是非常容易理解的。
下面给出这个换脸工作流所用到到一些参数值:
1.大模型名称:万享XL_超写实摄影_V8.2.safetensors
2.正面提示词:Korean female, young adult, early twenties, woman, athletic build, 5'6", 125 pounds, long black straight hair, Short black hair, messy bun, deep brown eyes, expressive, friendly, medium-sized breasts, firm round ass, elegant stylish clothes, tight fit, outgoing, approachable, intelligent, hardworking, fashion-conscious, trendy, confident, cute, intellectual, elegant, full body shot, jewelry, fashion makeup, dynamic posing, fashion photography, modeling, rim lighting, volumetric, masterpiece, 8k UHD, HDR
3.负面提示词:fcNeg, Caucasian, Fake boobs, Badly drawn, bad anatomy, bad lighting, disfigured, extra limbs, missing limbs, deformed, low-quality, blurry, cgi, 3d render, cropped, disfigured hands, 6 fingers, 4 fingers, deformed hands.
4.图片尺寸:832x1216
你也可以按照这些参数试试
下一篇我们要掌握一个新技能,就是图片高清放大,掌握后就能实现壁纸自由了,下篇见
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。