From e54e9ea57983423a5992ff300845c9c249ae9d03 Mon Sep 17 00:00:00 2001 From: toto Date: Wed, 25 Oct 2023 21:21:20 +0800 Subject: [PATCH] add workflow readme --- README.md | 3 + README_zh-CN.md | 3 + workflows/easyphotov1_2_0.json | 4474 ++++++++++++++++++++++++++++++++ 3 files changed, 4480 insertions(+) create mode 100644 workflows/easyphotov1_2_0.json diff --git a/README.md b/README.md index 52d5ef7..6f8a40e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ If you have any questions or suggestions, you can reach us through: ## V1.2.0 Update 1. Add PM_SuperColorTransfer node to simplify the color transfer process 2. Add PM_SuperMakeUpTransfer node to simplify the process of makeup transfer +3. Add v1.2.0 workflow ## V1.1.0 Update @@ -131,6 +132,8 @@ Click "Load" in the right panel of ComfyUI and select the ./workflow/easyphoto_w * Face Shape Match PM: Apply a certain level of fusion between the diffused image and the original image to reduce differences around the face. * Makeup Transfer PM: Use a GAN network model to perform makeup transfer. +* SuperMakeUpTransfer PM:(Multi-node integration) makeup by merging two pictures +* SuperColorTransfer PM:(Multi-node integration) transfer the colors of two pictures ## Contribution If you find any issues or have suggestions for improvement, feel free to contribute. Follow these steps: diff --git a/README_zh-CN.md b/README_zh-CN.md index 5754929..de1a815 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -18,6 +18,7 @@ English | [简体中文](./README_zh-CN.md) ## V1.2.0 Update 1. 增加PM_SuperColorTransfer 节点,简化了颜色迁移的流程 2. 增加PM_SuperMakeUpTransfer 节点,简化了进行装扮迁移的流程 +3. 增加v1.2.0 workflow ## v1.1.0 更新 1. faceskin 增加模糊选项 @@ -117,6 +118,8 @@ Easyphoto工作位置: [./workflow/easyphoto.json](./workflows/easyphoto.json ) * GetImageInfo PM: 提取图片的宽高 * FaceShapMatchPM: 扩散后的图片和原图片进行一定的融合,减少脸旁边的差异 * MakeUpTransferPM: 使用gan网络模型对妆容进行一定的迁移 +* SuperMakeUpTransferPM:(多节点的整合)融合两张图片的装扮 +* SuperColorTransferPM:(多节点的整合)迁移两张图片的颜色 ## 贡献 diff --git a/workflows/easyphotov1_2_0.json b/workflows/easyphotov1_2_0.json new file mode 100644 index 0000000..0919c99 --- /dev/null +++ b/workflows/easyphotov1_2_0.json @@ -0,0 +1,4474 @@ +{ + "last_node_id": 241, + "last_link_id": 466, + "nodes": [ + { + "id": 50, + "type": "CLIPTextEncode", + "pos": [ + 2728.6913865943848, + 575.0818708036477 + ], + "size": { + "0": 353.04449462890625, + "1": 117.13148498535156 + }, + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 210 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 161, + 171 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "easyphoto_face, easyphoto, 1person,\n(cloth:1.7), (best quality), (realistic, photo-realistic:1.2), detailed skin, beautiful, cool, finely detail, light smile, extremely detailed CG unity 8k wallpaper, huge filesize, best quality, realistic, photo-realistic, ultra high res, raw photo, put on makeup" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 51, + "type": "CLIPTextEncode", + "pos": [ + 2721.6913865943848, + 771.0818708036479 + ], + "size": { + "0": 347.4828186035156, + "1": 131.79443359375 + }, + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 211 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 167 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(bags under the eyes:1.5), (Bags under eyes:1.5), (glasses:1.5), (naked:2.0), nude, (nsfw:2.0), breasts, penis, cum, (worst quality:2), (low quality:2), (normal quality:2), over red lips, hair, teeth, lowres, watermark, badhand, (normal quality:2), lowres, bad anatomy, bad hands, normal quality, mural," + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 106, + "type": "ControlNetApplyAdvanced", + "pos": [ + 3942.691386594381, + 608.0818708036472 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 175 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 171 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 166 + }, + { + "name": "image", + "type": "IMAGE", + "link": null + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": null, + "shape": 3 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.85, + 0, + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 107, + "type": "Canny", + "pos": [ + 3228.6913865943825, + 449.0818708036478 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 176 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 177, + 178 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Canny" + }, + "widgets_values": [ + 0.4, + 0.8 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 105, + "type": "ControlNetApplyAdvanced", + "pos": [ + 3574.6913865943816, + 612.0818708036475 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 172 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 173 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 165 + }, + { + "name": "image", + "type": "IMAGE", + "link": 328 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 175 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.5, + 0, + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 103, + "type": "ControlNetLoader", + "pos": [ + 3943.691386594381, + 479.0818708036476 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 166 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_sd15_random_color.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 139, + "type": "CLIPTextEncode", + "pos": [ + 3331.37128954293, + 1626.5495195088274 + ], + "size": { + "0": 353.04449462890625, + "1": 117.13148498535156 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 236 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 251 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "easyphoto_face, easyphoto, 1person,\n(cloth:1.7), (best quality), (realistic, photo-realistic:1.2), detailed skin, beautiful, cool, finely detail, light smile, extremely detailed CG unity 8k wallpaper, huge filesize, best quality, realistic, photo-realistic, ultra high res, raw photo, put on makeup" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 140, + "type": "CLIPTextEncode", + "pos": [ + 3324.37128954293, + 1822.5495195088265 + ], + "size": { + "0": 347.4828186035156, + "1": 131.79443359375 + }, + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 237 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 252 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "(bags under the eyes:1.5), (Bags under eyes:1.5), (glasses:1.5), (naked:2.0), nude, (nsfw:2.0), breasts, penis, cum, (worst quality:2), (low quality:2), (normal quality:2), over red lips, hair, teeth, lowres, watermark, badhand, (normal quality:2), lowres, bad anatomy, bad hands, normal quality, mural," + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 146, + "type": "LoraLoader", + "pos": [ + 2946.3712895429235, + 1740.5495195088276 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 247 + }, + { + "name": "clip", + "type": "CLIP", + "link": 248 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 249 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 250 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "FilmVelvia3.safetensors", + 0.9, + 0.9 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 149, + "type": "ControlNetLoader", + "pos": [ + 3827.3712895429335, + 1305.549519508828 + ], + "size": { + "0": 314.76116943359375, + "1": 111.6351547241211 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 253 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11p_sd15_canny.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 154, + "type": "Canny", + "pos": [ + 3831.3712895429326, + 1500.54951950883 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 263 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 254, + 261 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Canny" + }, + "widgets_values": [ + 0.4, + 0.8 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 148, + "type": "ControlNetApplyAdvanced", + "pos": [ + 3827.3712895429335, + 1668.5495195088265 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 251 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 252 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 253 + }, + { + "name": "image", + "type": "IMAGE", + "link": 254 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 241, + 255 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 242, + 256 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 1, + 0, + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 152, + "type": "ControlNetApplyAdvanced", + "pos": [ + 4177.37128954293, + 1663.5495195088267 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 255 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 256 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 257 + }, + { + "name": "image", + "type": "IMAGE", + "link": 267 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 1, + 0, + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 143, + "type": "KSampler", + "pos": [ + 4560.627406985523, + 1652.4538109689163 + ], + "size": { + "0": 315, + "1": 474.0000305175781 + }, + "flags": {}, + "order": 64, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 240 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 241 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 242, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 243 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 244 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 7596976314274, + "fixed", + 23, + 7, + "euler", + "normal", + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 147, + "type": "LoraLoader", + "pos": [ + 2948.627406985517, + 1904.4538109689154 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 19, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 249 + }, + { + "name": "clip", + "type": "CLIP", + "link": 250 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "FilmVelvia3.safetensors", + 0.65, + 0.65 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 86, + "type": "MaskToImage", + "pos": [ + 2124.1998069182496, + 1988.855106710813 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 125 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 126 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 125, + "type": "MaskToImage", + "pos": [ + 2525.9076682883165, + 1954.0049416820445 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 207 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 208 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 60, + "type": "KSampler", + "pos": [ + 4292.928279396259, + 593.4469073720593 + ], + "size": { + "0": 315, + "1": 474.0000305175781 + }, + "flags": {}, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 212 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 163 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 164, + "slot_index": 2 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 99 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 79 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "KSampler" + }, + "widgets_values": [ + 7596976314274, + "fixed", + 20, + 8, + "euler", + "normal", + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 96, + "type": "LoraLoader", + "pos": [ + 2343.6913865943857, + 689.0818708036475 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 143 + }, + { + "name": "clip", + "type": "CLIP", + "link": 145 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 144 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 146 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "FilmVelvia3.safetensors", + 0.9, + 0.9 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 97, + "type": "LoraLoader", + "pos": [ + 2347.2495462458746, + 850.0172638059664 + ], + "size": { + "0": 315, + "1": 126 + }, + "flags": {}, + "order": 18, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 144 + }, + { + "name": "clip", + "type": "CLIP", + "link": 146 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "FilmVelvia3.safetensors", + 0.65, + 0.65 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 47, + "type": "CheckpointLoaderSimple", + "pos": [ + 2345.46808756225, + 549.5531776241387 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 143, + 212 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 145, + 210, + 211 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Chilloutmix-Ni-pruned-fp16-fix.safetensors" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 138, + "type": "CheckpointLoaderSimple", + "pos": [ + 2948.3712895429235, + 1600.5495195088279 + ], + "size": { + "0": 315, + "1": 98 + }, + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 240, + 247 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 236, + 237, + 248 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "VAE", + "type": "VAE", + "links": [], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "CheckpointLoaderSimple" + }, + "widgets_values": [ + "Chilloutmix-Ni-pruned-fp16-fix.safetensors" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 102, + "type": "ControlNetLoader", + "pos": [ + 3579.4680875622494, + 478.5531776241388 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 165 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11p_sd15_openpose.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 190, + "type": "PM_FaceFusion", + "pos": [ + 1503.3408724127457, + 454.9614944195942 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 26, + "mode": 0, + "inputs": [ + { + "name": "source_image", + "type": "IMAGE", + "link": 334 + }, + { + "name": "swap_image", + "type": "IMAGE", + "link": 335 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 333, + 337 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_FaceFusion" + }, + "widgets_values": [ + "ali" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 38, + "type": "PM_ExpandMaskBox", + "pos": [ + 2125.9068385656933, + 1868.463794222302 + ], + "size": { + "0": 210, + "1": 78 + }, + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 34 + }, + { + "name": "box", + "type": "BOX", + "link": 40 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 125 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "BOX", + "type": "BOX", + "links": [], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "PM_ExpandMaskBox" + }, + "widgets_values": [ + 0.1 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 9, + "type": "LoadImage", + "pos": [ + -100.11534372289526, + 453.01069040336944 + ], + "size": { + "0": 310.78179931640625, + "1": 451.2484130859375 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 17, + 322 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "xiaochou.jpeg", + "image" + ], + "color": "#232", + "bgcolor": "#353", + "shape": 1 + }, + { + "id": 126, + "type": "PreviewImage", + "pos": [ + 2525.940706548407, + 2043.539317256976 + ], + "size": { + "0": 213.31161499023438, + "1": 371.5691833496094 + }, + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 208 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 98, + "type": "ControlNetApplyAdvanced", + "pos": [ + 3210.4680875622494, + 616.5531776241387 + ], + "size": { + "0": 315, + "1": 166 + }, + "flags": {}, + "order": 45, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 161 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 167 + }, + { + "name": "control_net", + "type": "CONTROL_NET", + "link": 158 + }, + { + "name": "image", + "type": "IMAGE", + "link": 177 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 163, + 172 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 164, + 173 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "ControlNetApplyAdvanced" + }, + "widgets_values": [ + 0.3, + 0, + 1 + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 17, + "type": "PM_RetinaFace", + "pos": [ + 259.88465627710485, + 448.01069040336944 + ], + "size": { + "0": 315, + "1": 122 + }, + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 17 + } + ], + "outputs": [ + { + "name": "crop_image", + "type": "IMAGE", + "links": [ + 14, + 308, + 319 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "crop_mask", + "type": "MASK", + "links": [ + 15 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "crop_box", + "type": "BOX", + "links": [ + 323 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "PM_RetinaFace" + }, + "widgets_values": [ + 3, + 0 + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 144, + "type": "VAEDecode", + "pos": [ + 5022.567976445984, + 1602.846891945086 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 65, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 244 + }, + { + "name": "vae", + "type": "VAE", + "link": 245 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 246, + 422 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 225, + "type": "PreviewImage", + "pos": [ + 5358.567976445984, + 1736.8468919450866 + ], + "size": { + "0": 370.333740234375, + "1": 482.0992431640625 + }, + "flags": {}, + "order": 68, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 401 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 224, + "type": "PM_FaceShapMatch", + "pos": [ + 5441.567976445984, + 1594.8468919450859 + ], + "size": { + "0": 229.20001220703125, + "1": 66 + }, + "flags": {}, + "order": 67, + "mode": 0, + "inputs": [ + { + "name": "source_image", + "type": "IMAGE", + "link": 422 + }, + { + "name": "match_image", + "type": "IMAGE", + "link": 400 + }, + { + "name": "face_box", + "type": "BOX", + "link": 455 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 401, + 425 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_FaceShapMatch" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 29, + "type": "PM_RetinaFace", + "pos": [ + 1392.9813182200135, + 1863.1076973929723 + ], + "size": { + "0": 315, + "1": 122 + }, + "flags": {}, + "order": 24, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 304 + } + ], + "outputs": [ + { + "name": "crop_image", + "type": "IMAGE", + "links": [ + 25 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "crop_mask", + "type": "MASK", + "links": [ + 26, + 34, + 139, + 379 + ], + "shape": 3, + "slot_index": 1 + }, + { + "name": "crop_box", + "type": "BOX", + "links": [ + 40, + 458, + 466 + ], + "shape": 3, + "slot_index": 2 + } + ], + "properties": { + "Node name for S&R": "PM_RetinaFace" + }, + "widgets_values": [ + 1.1, + 0 + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 124, + "type": "PM_MaskDilateErode", + "pos": [ + 2528.1690168978007, + 1878.7319225015133 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 31, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 379 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 207, + 269 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_MaskDilateErode" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 35, + "type": "PreviewImage", + "pos": [ + 1511, + 581 + ], + "size": { + "0": 303.67236328125, + "1": 384.38720703125 + }, + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 337 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 189, + "type": "PM_FaceFusion", + "pos": [ + 2217.4013471790504, + 1264.4155734709711 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 53, + "mode": 0, + "inputs": [ + { + "name": "source_image", + "type": "IMAGE", + "link": 436 + }, + { + "name": "swap_image", + "type": "IMAGE", + "link": 330 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 331, + 438 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_FaceFusion" + }, + "widgets_values": [ + "ali" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 235, + "type": "PreviewImage", + "pos": [ + 2221.4013471790504, + 1386.4155734709711 + ], + "size": { + "0": 298.75927734375, + "1": 352.7233581542969 + }, + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 438 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 134, + "type": "PM_RatioMerge2Image", + "pos": [ + 2568.4013471790504, + 1264.4155734709711 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 437 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 331 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 235, + 263, + 267, + 268 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_RatioMerge2Image" + }, + "widgets_values": [ + 0.5 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 136, + "type": "PreviewImage", + "pos": [ + 2577.4013471790504, + 1390.4155734709711 + ], + "size": { + "0": 289.5207214355469, + "1": 354.21112060546875 + }, + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 235 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 18, + "type": "PreviewImage", + "pos": [ + 264.91173478043163, + 607.5109851018309 + ], + "size": { + "0": 301.52587890625, + "1": 324.7304992675781 + }, + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 14 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 19, + "type": "MaskToImage", + "pos": [ + 623.9117347804314, + 459.510985101831 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": { + "collapsed": false + }, + "order": 23, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 15 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 16 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 182, + "type": "PM_ImageScaleShort", + "pos": [ + 976.1223286867918, + 465.790722974173 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 308 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 304, + 306, + 309, + 334, + 435, + 444 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_ImageScaleShort" + }, + "widgets_values": [ + 512, + true + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 28, + "type": "PreviewImage", + "pos": [ + 983.1223286867918, + 596.7907229741729 + ], + "size": { + "0": 294.5699462890625, + "1": 337.24468994140625 + }, + "flags": {}, + "order": 25, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 309 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 6, + "type": "LoadImage", + "pos": [ + -100, + -59 + ], + "size": { + "0": 330.20050048828125, + "1": 361.203369140625 + }, + "flags": {}, + "order": 6, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 330, + 335 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "yangmi (1).jpg", + "image" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 150, + "type": "ControlNetLoader", + "pos": [ + 4190.721798407229, + 1526.6755770447844 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 7, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 257 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11f1e_sd15_tile.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 180, + "type": "PreviewImage", + "pos": [ + 6913, + 1328 + ], + "size": { + "0": 241.24911499023438, + "1": 316.46978759765625 + }, + "flags": {}, + "order": 74, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 302 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 188, + "type": "PreviewImage", + "pos": [ + 7235, + 1326 + ], + "size": { + "0": 238.6138916015625, + "1": 313.2433776855469 + }, + "flags": {}, + "order": 76, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 325 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 176, + "type": "PreviewImage", + "pos": [ + 7510, + 1322 + ], + "size": { + "0": 219.3125, + "1": 322.2090759277344 + }, + "flags": {}, + "order": 78, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 296 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 177, + "type": "PM_PortraitEnhancement", + "pos": [ + 7790, + 1204 + ], + "size": { + "0": 210, + "1": 58 + }, + "flags": {}, + "order": 79, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 297 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 298 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_PortraitEnhancement" + }, + "widgets_values": [ + "pgen" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 178, + "type": "PreviewImage", + "pos": [ + 7790, + 1324 + ], + "size": { + "0": 215.33609008789062, + "1": 315.2257080078125 + }, + "flags": {}, + "order": 80, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 298 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 233, + "type": "PreviewImage", + "pos": [ + 5940.243009582774, + 1327.3496404592806 + ], + "size": { + "0": 220.41220092773438, + "1": 314.9465026855469 + }, + "flags": {}, + "order": 70, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 432 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 20, + "type": "PreviewImage", + "pos": [ + 597, + 617 + ], + "size": { + "0": 260.60205078125, + "1": 306.138916015625 + }, + "flags": {}, + "order": 28, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 16 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 234, + "type": "PM_SuperColorTransfer", + "pos": [ + 1827, + 1259 + ], + "size": { + "0": 292.80419921875, + "1": 66 + }, + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "main_image", + "type": "IMAGE", + "link": 433 + }, + { + "name": "transfer_image", + "type": "IMAGE", + "link": 435 + }, + { + "name": "avatar_box", + "type": "BOX", + "link": 458 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 436, + 437, + 443 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_SuperColorTransfer" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 236, + "type": "PreviewImage", + "pos": [ + 1834, + 1381 + ], + "size": { + "0": 290.11932373046875, + "1": 342.8282775878906 + }, + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 443 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 62, + "type": "PreviewImage", + "pos": [ + 4685.444229542526, + 604.1167966486639 + ], + "size": { + "0": 340.41888427734375, + "1": 467.2957763671875 + }, + "flags": {}, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 82 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 61, + "type": "VAEDecode", + "pos": [ + 4725.444229542526, + 481.11679664866335 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 79 + }, + { + "name": "vae", + "type": "VAE", + "link": 142 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 82, + 433 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEDecode" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 30, + "type": "PreviewImage", + "pos": [ + 1407.2503378818967, + 2032.9662495490722 + ], + "size": { + "0": 262.9757080078125, + "1": 317.5245666503906 + }, + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 25 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 32, + "type": "PreviewImage", + "pos": [ + 1702.2503378818967, + 2037.9662495490722 + ], + "size": { + "0": 227.94882202148438, + "1": 307.7684631347656 + }, + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 27 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 31, + "type": "MaskToImage", + "pos": [ + 1717.2503378818967, + 1943.9662495490722 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 26 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 27 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "MaskToImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 87, + "type": "PreviewImage", + "pos": [ + 2122, + 2063 + ], + "size": { + "0": 207.0119171142578, + "1": 346.0450439453125 + }, + "flags": {}, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 126 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 36, + "type": "PM_RatioMerge2Image", + "pos": [ + 1837, + 453 + ], + "size": { + "0": 315, + "1": 78 + }, + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 306 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 333 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 33, + 159, + 176, + 328, + 400 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_RatioMerge2Image" + }, + "widgets_values": [ + 0.5 + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 37, + "type": "PreviewImage", + "pos": [ + 1850, + 581 + ], + "size": { + "0": 300.84033203125, + "1": 383.8983459472656 + }, + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 33 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 100, + "type": "ControlNetLoader", + "pos": [ + 3232.4442295425256, + 240.11679664866296 + ], + "size": { + "0": 314.76116943359375, + "1": 111.6351547241211 + }, + "flags": {}, + "order": 8, + "mode": 0, + "outputs": [ + { + "name": "CONTROL_NET", + "type": "CONTROL_NET", + "links": [ + 158 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ControlNetLoader" + }, + "widgets_values": [ + "control_v11p_sd15_canny.pth" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 46, + "type": "VAELoader", + "pos": [ + 2346.4442295425256, + 1036.1167966486623 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 9, + "mode": 0, + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 141, + 142 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "vae-ft-mse-840000-ema-pruned.ckpt" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 56, + "type": "VAEEncode", + "pos": [ + 2744.4442295425256, + 992.1167966486637 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 159 + }, + { + "name": "vae", + "type": "VAE", + "link": 141 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 65 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 54, + "type": "SetLatentNoiseMask", + "pos": [ + 2998.4442295425256, + 992.1167966486637 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 65 + }, + { + "name": "mask", + "type": "MASK", + "link": 139 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 99 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 109, + "type": "PreviewImage", + "pos": [ + 3258.4442295425256, + 852.1167966486637 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 178 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 141, + "type": "SetLatentNoiseMask", + "pos": [ + 3589, + 2080 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 62, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 238 + }, + { + "name": "mask", + "type": "MASK", + "link": 269 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 243 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "SetLatentNoiseMask" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 142, + "type": "VAEEncode", + "pos": [ + 3340, + 2083 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 268 + }, + { + "name": "vae", + "type": "VAE", + "link": 239 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 238 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAEEncode" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 137, + "type": "VAELoader", + "pos": [ + 2951, + 2085 + ], + "size": { + "0": 315, + "1": 58 + }, + "flags": {}, + "order": 10, + "mode": 0, + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 239, + 245 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "vae-ft-mse-840000-ema-pruned.ckpt" + ], + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 145, + "type": "PreviewImage", + "pos": [ + 4950, + 1711 + ], + "size": { + "0": 360.98126220703125, + "1": 504.18218994140625 + }, + "flags": {}, + "order": 66, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 246 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 156, + "type": "PreviewImage", + "pos": [ + 3862, + 1887 + ], + "size": { + "0": 210, + "1": 246 + }, + "flags": {}, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 261 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#323", + "bgcolor": "#535" + }, + { + "id": 232, + "type": "PM_SuperColorTransfer", + "pos": [ + 5921, + 1207 + ], + "size": { + "0": 254.40000915527344, + "1": 66 + }, + "flags": {}, + "order": 69, + "mode": 0, + "inputs": [ + { + "name": "main_image", + "type": "IMAGE", + "link": 425 + }, + { + "name": "transfer_image", + "type": "IMAGE", + "link": 454 + }, + { + "name": "avatar_box", + "type": "BOX", + "link": 456 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 432, + 461 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_SuperColorTransfer" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 240, + "type": "PM_SuperMakeUpTransfer", + "pos": [ + 6277, + 1209 + ], + "size": { + "0": 229.20001220703125, + "1": 66 + }, + "flags": {}, + "order": 71, + "mode": 0, + "inputs": [ + { + "name": "main_image", + "type": "IMAGE", + "link": 461 + }, + { + "name": "makeup_image", + "type": "IMAGE", + "link": 460 + }, + { + "name": "avatar_box", + "type": "BOX", + "link": 462 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 463, + 465 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_SuperMakeUpTransfer" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 241, + "type": "PreviewImage", + "pos": [ + 6281, + 1335 + ], + "size": [ + 223.46612548828125, + 299.18511962890625 + ], + "flags": {}, + "order": 73, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 465 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + }, + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 175, + "type": "PM_SkinRetouching", + "pos": [ + 7511, + 1214 + ], + "size": { + "0": 210, + "1": 26 + }, + "flags": {}, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 326 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 296, + 297 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_SkinRetouching" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 185, + "type": "PM_GetImageInfo", + "pos": [ + 6618, + 1227 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 319 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 320 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "height", + "type": "INT", + "links": [ + 321 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "PM_GetImageInfo" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 179, + "type": "PM_ImageResizeTarget", + "pos": [ + 6870, + 1208 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 72, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 463 + }, + { + "name": "width", + "type": "INT", + "link": 320, + "widget": { + "name": "width" + } + }, + { + "name": "height", + "type": "INT", + "link": 321, + "widget": { + "name": "height" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 302, + 324 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_ImageResizeTarget" + }, + "widgets_values": [ + 512, + 512 + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 187, + "type": "PM_ReplaceBoxImg", + "pos": [ + 7238, + 1204 + ], + "size": { + "0": 241.79998779296875, + "1": 66 + }, + "flags": {}, + "order": 75, + "mode": 0, + "inputs": [ + { + "name": "origin_image", + "type": "IMAGE", + "link": 322 + }, + { + "name": "box_area", + "type": "BOX", + "link": 323 + }, + { + "name": "replace_image", + "type": "IMAGE", + "link": 324 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 325, + 326 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PM_ReplaceBoxImg" + }, + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 238, + "type": "Reroute", + "pos": [ + 5269, + 1231 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 27, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 444 + } + ], + "outputs": [ + { + "name": "", + "type": "IMAGE", + "links": [ + 454, + 460 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + }, + { + "id": 215, + "type": "Reroute", + "pos": [ + 5270, + 1272 + ], + "size": [ + 75, + 26 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [ + { + "name": "", + "type": "*", + "link": 466 + } + ], + "outputs": [ + { + "name": "", + "type": "BOX", + "links": [ + 455, + 456, + 462 + ], + "slot_index": 0 + } + ], + "properties": { + "showOutputText": false, + "horizontal": false + } + } + ], + "links": [ + [ + 14, + 17, + 0, + 18, + 0, + "IMAGE" + ], + [ + 15, + 17, + 1, + 19, + 0, + "MASK" + ], + [ + 16, + 19, + 0, + 20, + 0, + "IMAGE" + ], + [ + 17, + 9, + 0, + 17, + 0, + "IMAGE" + ], + [ + 25, + 29, + 0, + 30, + 0, + "IMAGE" + ], + [ + 26, + 29, + 1, + 31, + 0, + "MASK" + ], + [ + 27, + 31, + 0, + 32, + 0, + "IMAGE" + ], + [ + 33, + 36, + 0, + 37, + 0, + "IMAGE" + ], + [ + 34, + 29, + 1, + 38, + 0, + "MASK" + ], + [ + 40, + 29, + 2, + 38, + 1, + "BOX" + ], + [ + 65, + 56, + 0, + 54, + 0, + "LATENT" + ], + [ + 79, + 60, + 0, + 61, + 0, + "LATENT" + ], + [ + 82, + 61, + 0, + 62, + 0, + "IMAGE" + ], + [ + 99, + 54, + 0, + 60, + 3, + "LATENT" + ], + [ + 125, + 38, + 0, + 86, + 0, + "MASK" + ], + [ + 126, + 86, + 0, + 87, + 0, + "IMAGE" + ], + [ + 139, + 29, + 1, + 54, + 1, + "MASK" + ], + [ + 141, + 46, + 0, + 56, + 1, + "VAE" + ], + [ + 142, + 46, + 0, + 61, + 1, + "VAE" + ], + [ + 143, + 47, + 0, + 96, + 0, + "MODEL" + ], + [ + 144, + 96, + 0, + 97, + 0, + "MODEL" + ], + [ + 145, + 47, + 1, + 96, + 1, + "CLIP" + ], + [ + 146, + 96, + 1, + 97, + 1, + "CLIP" + ], + [ + 158, + 100, + 0, + 98, + 2, + "CONTROL_NET" + ], + [ + 159, + 36, + 0, + 56, + 0, + "IMAGE" + ], + [ + 161, + 50, + 0, + 98, + 0, + "CONDITIONING" + ], + [ + 163, + 98, + 0, + 60, + 1, + "CONDITIONING" + ], + [ + 164, + 98, + 1, + 60, + 2, + "CONDITIONING" + ], + [ + 165, + 102, + 0, + 105, + 2, + "CONTROL_NET" + ], + [ + 166, + 103, + 0, + 106, + 2, + "CONTROL_NET" + ], + [ + 167, + 51, + 0, + 98, + 1, + "CONDITIONING" + ], + [ + 171, + 50, + 0, + 106, + 1, + "CONDITIONING" + ], + [ + 172, + 98, + 0, + 105, + 0, + "CONDITIONING" + ], + [ + 173, + 98, + 1, + 105, + 1, + "CONDITIONING" + ], + [ + 175, + 105, + 1, + 106, + 0, + "CONDITIONING" + ], + [ + 176, + 36, + 0, + 107, + 0, + "IMAGE" + ], + [ + 177, + 107, + 0, + 98, + 3, + "IMAGE" + ], + [ + 178, + 107, + 0, + 109, + 0, + "IMAGE" + ], + [ + 207, + 124, + 0, + 125, + 0, + "MASK" + ], + [ + 208, + 125, + 0, + 126, + 0, + "IMAGE" + ], + [ + 210, + 47, + 1, + 50, + 0, + "CLIP" + ], + [ + 211, + 47, + 1, + 51, + 0, + "CLIP" + ], + [ + 212, + 47, + 0, + 60, + 0, + "MODEL" + ], + [ + 235, + 134, + 0, + 136, + 0, + "IMAGE" + ], + [ + 236, + 138, + 1, + 139, + 0, + "CLIP" + ], + [ + 237, + 138, + 1, + 140, + 0, + "CLIP" + ], + [ + 238, + 142, + 0, + 141, + 0, + "LATENT" + ], + [ + 239, + 137, + 0, + 142, + 1, + "VAE" + ], + [ + 240, + 138, + 0, + 143, + 0, + "MODEL" + ], + [ + 241, + 148, + 0, + 143, + 1, + "CONDITIONING" + ], + [ + 242, + 148, + 1, + 143, + 2, + "CONDITIONING" + ], + [ + 243, + 141, + 0, + 143, + 3, + "LATENT" + ], + [ + 244, + 143, + 0, + 144, + 0, + "LATENT" + ], + [ + 245, + 137, + 0, + 144, + 1, + "VAE" + ], + [ + 246, + 144, + 0, + 145, + 0, + "IMAGE" + ], + [ + 247, + 138, + 0, + 146, + 0, + "MODEL" + ], + [ + 248, + 138, + 1, + 146, + 1, + "CLIP" + ], + [ + 249, + 146, + 0, + 147, + 0, + "MODEL" + ], + [ + 250, + 146, + 1, + 147, + 1, + "CLIP" + ], + [ + 251, + 139, + 0, + 148, + 0, + "CONDITIONING" + ], + [ + 252, + 140, + 0, + 148, + 1, + "CONDITIONING" + ], + [ + 253, + 149, + 0, + 148, + 2, + "CONTROL_NET" + ], + [ + 254, + 154, + 0, + 148, + 3, + "IMAGE" + ], + [ + 255, + 148, + 0, + 152, + 0, + "CONDITIONING" + ], + [ + 256, + 148, + 1, + 152, + 1, + "CONDITIONING" + ], + [ + 257, + 150, + 0, + 152, + 2, + "CONTROL_NET" + ], + [ + 261, + 154, + 0, + 156, + 0, + "IMAGE" + ], + [ + 263, + 134, + 0, + 154, + 0, + "IMAGE" + ], + [ + 267, + 134, + 0, + 152, + 3, + "IMAGE" + ], + [ + 268, + 134, + 0, + 142, + 0, + "IMAGE" + ], + [ + 269, + 124, + 0, + 141, + 1, + "MASK" + ], + [ + 296, + 175, + 0, + 176, + 0, + "IMAGE" + ], + [ + 297, + 175, + 0, + 177, + 0, + "IMAGE" + ], + [ + 298, + 177, + 0, + 178, + 0, + "IMAGE" + ], + [ + 302, + 179, + 0, + 180, + 0, + "IMAGE" + ], + [ + 304, + 182, + 0, + 29, + 0, + "IMAGE" + ], + [ + 306, + 182, + 0, + 36, + 0, + "IMAGE" + ], + [ + 308, + 17, + 0, + 182, + 0, + "IMAGE" + ], + [ + 309, + 182, + 0, + 28, + 0, + "IMAGE" + ], + [ + 319, + 17, + 0, + 185, + 0, + "IMAGE" + ], + [ + 320, + 185, + 0, + 179, + 1, + "INT" + ], + [ + 321, + 185, + 1, + 179, + 2, + "INT" + ], + [ + 322, + 9, + 0, + 187, + 0, + "IMAGE" + ], + [ + 323, + 17, + 2, + 187, + 1, + "BOX" + ], + [ + 324, + 179, + 0, + 187, + 2, + "IMAGE" + ], + [ + 325, + 187, + 0, + 188, + 0, + "IMAGE" + ], + [ + 326, + 187, + 0, + 175, + 0, + "IMAGE" + ], + [ + 328, + 36, + 0, + 105, + 3, + "IMAGE" + ], + [ + 330, + 6, + 0, + 189, + 1, + "IMAGE" + ], + [ + 331, + 189, + 0, + 134, + 1, + "IMAGE" + ], + [ + 333, + 190, + 0, + 36, + 1, + "IMAGE" + ], + [ + 334, + 182, + 0, + 190, + 0, + "IMAGE" + ], + [ + 335, + 6, + 0, + 190, + 1, + "IMAGE" + ], + [ + 337, + 190, + 0, + 35, + 0, + "IMAGE" + ], + [ + 379, + 29, + 1, + 124, + 0, + "MASK" + ], + [ + 400, + 36, + 0, + 224, + 1, + "IMAGE" + ], + [ + 401, + 224, + 0, + 225, + 0, + "IMAGE" + ], + [ + 422, + 144, + 0, + 224, + 0, + "IMAGE" + ], + [ + 425, + 224, + 0, + 232, + 0, + "IMAGE" + ], + [ + 432, + 232, + 0, + 233, + 0, + "IMAGE" + ], + [ + 433, + 61, + 0, + 234, + 0, + "IMAGE" + ], + [ + 435, + 182, + 0, + 234, + 1, + "IMAGE" + ], + [ + 436, + 234, + 0, + 189, + 0, + "IMAGE" + ], + [ + 437, + 234, + 0, + 134, + 0, + "IMAGE" + ], + [ + 438, + 189, + 0, + 235, + 0, + "IMAGE" + ], + [ + 443, + 234, + 0, + 236, + 0, + "IMAGE" + ], + [ + 444, + 182, + 0, + 238, + 0, + "*" + ], + [ + 454, + 238, + 0, + 232, + 1, + "IMAGE" + ], + [ + 455, + 215, + 0, + 224, + 2, + "BOX" + ], + [ + 456, + 215, + 0, + 232, + 2, + "BOX" + ], + [ + 458, + 29, + 2, + 234, + 2, + "BOX" + ], + [ + 460, + 238, + 0, + 240, + 1, + "IMAGE" + ], + [ + 461, + 232, + 0, + 240, + 0, + "IMAGE" + ], + [ + 462, + 215, + 0, + 240, + 2, + "BOX" + ], + [ + 463, + 240, + 0, + 179, + 0, + "IMAGE" + ], + [ + 465, + 240, + 0, + 241, + 0, + "IMAGE" + ], + [ + 466, + 29, + 2, + 215, + 0, + "*" + ] + ], + "groups": [ + { + "title": "Roop Image", + "bounding": [ + -110, + -134, + 359, + 452 + ], + "color": "#A88", + "font_size": 24, + "locked": false + }, + { + "title": "Template", + "bounding": [ + -110, + 379, + 991, + 587 + ], + "color": "#8A8", + "font_size": 24, + "locked": false + }, + { + "title": "Resize 512 InputImage ", + "bounding": [ + 939, + 382, + 380, + 581 + ], + "color": "#8A8", + "font_size": 24, + "locked": false + }, + { + "title": "PM_RetinaFace 1.1", + "bounding": [ + 1374, + 1794, + 584, + 636 + ], + "color": "#88A", + "font_size": 24, + "locked": false + }, + { + "title": "First Face Fusion", + "bounding": [ + 1489, + 377, + 675, + 599 + ], + "color": "#b58b2a", + "font_size": 24, + "locked": false + }, + { + "title": "Expand InputMask 0.15", + "bounding": [ + 2100, + 1796, + 272, + 631 + ], + "color": "#88A", + "font_size": 24, + "locked": false + }, + { + "title": "First Inpainting", + "bounding": [ + 2334, + 160, + 2742, + 944 + ], + "color": "#a1309b", + "font_size": 24, + "locked": false + }, + { + "title": "Second Fusion", + "bounding": [ + 2191, + 1188, + 702, + 565 + ], + "color": "#b58b2a", + "font_size": 24, + "locked": false + }, + { + "title": "Second inpainting", + "bounding": [ + 2934, + 1196, + 2811, + 1039 + ], + "color": "#a1309b", + "font_size": 24, + "locked": false + }, + { + "title": "dilate and erode mask", + "bounding": [ + 2512, + 1800, + 257, + 626 + ], + "color": "#88A", + "font_size": 24, + "locked": false + }, + { + "title": "Final processor", + "bounding": [ + 6576, + 1131, + 1626, + 523 + ], + "color": "#3f789e", + "font_size": 24, + "locked": false + }, + { + "title": "Second Color Transfer", + "bounding": [ + 5900, + 1137, + 297, + 517 + ], + "color": "#b58b2a", + "font_size": 24, + "locked": false + }, + { + "title": "First Color Transfer", + "bounding": [ + 1815, + 1183, + 344, + 569 + ], + "color": "#b58b2a", + "font_size": 24, + "locked": false + }, + { + "title": "Makeup Transfer", + "bounding": [ + 6253, + 1131, + 284, + 528 + ], + "color": "#b58b2a", + "font_size": 24, + "locked": false + } + ], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file