diff --git "a/WAN/malcolmrey-wan-vace-character-swap-workflow.json" "b/WAN/malcolmrey-wan-vace-character-swap-workflow.json" new file mode 100644--- /dev/null +++ "b/WAN/malcolmrey-wan-vace-character-swap-workflow.json" @@ -0,0 +1,5702 @@ +{ + "id": "a5880cbf-1d6b-4c3f-8f54-e21f60e58d5c", + "revision": 0, + "last_node_id": 155, + "last_link_id": 236, + "nodes": [ + { + "id": 43, + "type": "VAEDecode", + "pos": [ + 2119.820068359375, + -1171.6551513671875 + ], + "size": [ + 140, + 46 + ], + "flags": { + "collapsed": false + }, + "order": 87, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 53 + }, + { + "name": "vae", + "type": "VAE", + "link": 83 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 68 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "VAEDecode", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": {} + }, + "widgets_values": [] + }, + { + "id": 51, + "type": "Frame Select", + "pos": [ + 2305.412353515625, + -1171.6568603515625 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 88, + "mode": 0, + "inputs": [ + { + "name": "frames", + "type": "IMAGE", + "link": 68 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": [ + 69, + 179, + 205 + ] + } + ], + "properties": { + "cnr_id": "RES4LYF", + "ver": "7750bf7800b6ad9d670308a09989fc0c04c40cec", + "Node name for S&R": "Frame Select" + }, + "widgets_values": [ + 4 + ] + }, + { + "id": 25, + "type": "MaskComposite", + "pos": [ + -843.60986328125, + -1504.8988037109375 + ], + "size": [ + 270, + 126 + ], + "flags": {}, + "order": 78, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "MASK", + "link": 25 + }, + { + "name": "source", + "type": "MASK", + "link": 26 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 30 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "MaskComposite" + }, + "widgets_values": [ + 0, + 0, + "multiply" + ] + }, + { + "id": 24, + "type": "BiRefNetRMBG", + "pos": [ + -1293.6658935546875, + -1759.968017578125 + ], + "size": [ + 340, + 254 + ], + "flags": {}, + "order": 74, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 90 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [] + }, + { + "name": "MASK", + "type": "MASK", + "links": [ + 25 + ] + }, + { + "name": "MASK_IMAGE", + "type": "IMAGE", + "links": [] + } + ], + "properties": { + "cnr_id": "comfyui-rmbg", + "ver": "2.9.0", + "Node name for S&R": "BiRefNetRMBG" + }, + "widgets_values": [ + "BiRefNet-HR", + 0, + 0, + false, + true, + "Alpha", + "#222222" + ], + "color": "#222e40", + "bgcolor": "#364254" + }, + { + "id": 28, + "type": "InvertMask", + "pos": [ + -537.3298950195312, + -1504.9903564453125 + ], + "size": [ + 140, + 26 + ], + "flags": {}, + "order": 79, + "mode": 4, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 30 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 29, + 31 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "InvertMask" + }, + "widgets_values": [] + }, + { + "id": 56, + "type": "GetNode", + "pos": [ + 1972.885498046875, + -1123.37060546875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 83 + ] + } + ], + "title": "Get_VAE", + "properties": {}, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 42, + "type": "TrimVideoLatent", + "pos": [ + 1706.6512451171875, + -1186.546875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": false + }, + "order": 86, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 52 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 53 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "TrimVideoLatent", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": { + "trim_amount": true + } + }, + "widgets_values": [ + 0 + ] + }, + { + "id": 61, + "type": "ImageResize+", + "pos": [ + -2923.58203125, + -1994.8258056640625 + ], + "size": [ + 270, + 218 + ], + "flags": {}, + "order": 72, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 109 + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 87 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 88 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 89, + 90, + 91, + 92, + 93 + ] + }, + { + "name": "width", + "type": "INT", + "links": null + }, + { + "name": "height", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui_essentials", + "ver": "1.1.0", + "Node name for S&R": "ImageResize+" + }, + "widgets_values": [ + 512, + 512, + "nearest", + "stretch", + "always", + 0 + ] + }, + { + "id": 59, + "type": "MathExpression|pysssss", + "pos": [ + -3264.4619140625, + -1899.801025390625 + ], + "size": [ + 233.93838500976562, + 128.36558532714844 + ], + "flags": {}, + "order": 70, + "mode": 0, + "inputs": [ + { + "name": "a", + "shape": 7, + "type": "INT,FLOAT,IMAGE,LATENT", + "link": 111 + }, + { + "name": "b", + "shape": 7, + "type": "INT,FLOAT,IMAGE,LATENT", + "link": null + }, + { + "name": "c", + "shape": 7, + "type": "INT,FLOAT,IMAGE,LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 87 + ] + }, + { + "name": "FLOAT", + "type": "FLOAT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-custom-scripts", + "ver": "1.2.5" + }, + "widgets_values": [ + "(a + 8) // 16 * 16" + ] + }, + { + "id": 60, + "type": "MathExpression|pysssss", + "pos": [ + -3262.847412109375, + -1693.39990234375 + ], + "size": [ + 233.93838500976562, + 128.36558532714844 + ], + "flags": {}, + "order": 71, + "mode": 0, + "inputs": [ + { + "name": "a", + "shape": 7, + "type": "INT,FLOAT,IMAGE,LATENT", + "link": 112 + }, + { + "name": "b", + "shape": 7, + "type": "INT,FLOAT,IMAGE,LATENT", + "link": null + }, + { + "name": "c", + "shape": 7, + "type": "INT,FLOAT,IMAGE,LATENT", + "link": null + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 88 + ] + }, + { + "name": "FLOAT", + "type": "FLOAT", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-custom-scripts", + "ver": "1.2.5" + }, + "widgets_values": [ + "(a + 8) // 16 * 16" + ] + }, + { + "id": 71, + "type": "GetImageSize", + "pos": [ + -3435.96630859375, + -1847.826171875 + ], + "size": [ + 140, + 124 + ], + "flags": {}, + "order": 67, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 110 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 111 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 112 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "GetImageSize" + }, + "widgets_values": [] + }, + { + "id": 34, + "type": "VAELoader", + "pos": [ + -7219.09765625, + -85.50574493408203 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 1, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 82 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "VAELoader" + }, + "widgets_values": [ + "wan_2.1_vae.safetensors" + ] + }, + { + "id": 29, + "type": "MaskFix+", + "pos": [ + -301.4883117675781, + -1505.5357666015625 + ], + "size": [ + 289.40234375, + 154 + ], + "flags": {}, + "order": 81, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 31 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 39, + 118 + ] + } + ], + "properties": { + "cnr_id": "comfyui_essentials", + "ver": "1.1.0", + "Node name for S&R": "MaskFix+" + }, + "widgets_values": [ + 5, + 0, + 0, + 10, + 0 + ] + }, + { + "id": 84, + "type": "JWInteger", + "pos": [ + -7216.66015625, + 90.11483001708984 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 2, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 121 + ] + } + ], + "title": "Maximum Resolution", + "properties": { + "cnr_id": "comfyui-various", + "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", + "Node name for S&R": "JWInteger" + }, + "widgets_values": [ + 1520 + ] + }, + { + "id": 70, + "type": "JWIntegerMin", + "pos": [ + -4015.11865234375, + -1838.0391845703125 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 61, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "INT", + "widget": { + "name": "a" + }, + "link": 106 + }, + { + "name": "b", + "type": "INT", + "widget": { + "name": "b" + }, + "link": 122 + } + ], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 107 + ] + } + ], + "properties": { + "cnr_id": "comfyui-various", + "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", + "Node name for S&R": "JWIntegerMin" + }, + "widgets_values": [ + 0, + 1520 + ] + }, + { + "id": 16, + "type": "LoadImage", + "pos": [ + -5452.2294921875, + -1556.000732421875 + ], + "size": [ + 259.85174560546875, + 326 + ], + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 94, + 108 + ] + }, + { + "name": "MASK", + "type": "MASK", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "guy-dancing-beanie_1163-1413.avif", + "image" + ] + }, + { + "id": 21, + "type": "WanVaceToVideo", + "pos": [ + 904.0886840820312, + -1049.8680419921875 + ], + "size": [ + 270, + 254 + ], + "flags": {}, + "order": 83, + "mode": 0, + "inputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "link": 48 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 49 + }, + { + "name": "vae", + "type": "VAE", + "link": 84 + }, + { + "name": "control_video", + "shape": 7, + "type": "IMAGE", + "link": 38 + }, + { + "name": "control_masks", + "shape": 7, + "type": "MASK", + "link": 39 + }, + { + "name": "reference_image", + "shape": 7, + "type": "IMAGE", + "link": null + }, + { + "name": "width", + "type": "INT", + "widget": { + "name": "width" + }, + "link": 43 + }, + { + "name": "height", + "type": "INT", + "widget": { + "name": "height" + }, + "link": 44 + } + ], + "outputs": [ + { + "name": "positive", + "type": "CONDITIONING", + "links": [ + 54 + ] + }, + { + "name": "negative", + "type": "CONDITIONING", + "links": [ + 55 + ] + }, + { + "name": "latent", + "type": "LATENT", + "links": [ + 56 + ] + }, + { + "name": "trim_latent", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "WanVaceToVideo", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": { + "width": true, + "height": true, + "length": true + } + }, + "widgets_values": [ + 544, + 960, + 5, + 1, + 1 + ] + }, + { + "id": 38, + "type": "CLIPTextEncode", + "pos": [ + 858.3880004882812, + -1546.947509765625 + ], + "size": [ + 342.17718505859375, + 137.21359252929688 + ], + "flags": { + "collapsed": false + }, + "order": 68, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 64 + }, + { + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 128 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 48 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": { + "text": true + } + }, + "widgets_values": [ + "photo of a person" + ], + "color": "#232", + "bgcolor": "hsla(120, 25%, 26.7%, 1)" + }, + { + "id": 94, + "type": "GetNode", + "pos": [ + 655.445068359375, + -1495.1751708984375 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 4, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 128 + ] + } + ], + "title": "Get_PositivePrompt", + "properties": {}, + "widgets_values": [ + "PositivePrompt" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 95, + "type": "GetNode", + "pos": [ + 670.4229736328125, + -1290.35205078125 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 5, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 129 + ] + } + ], + "title": "Get_NegativePrompt", + "properties": {}, + "widgets_values": [ + "NegativePrompt" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 57, + "type": "GetNode", + "pos": [ + 705.9097290039062, + -1064.1553955078125 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 84 + ] + } + ], + "title": "Get_VAE", + "properties": {}, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 39, + "type": "CLIPTextEncode", + "pos": [ + 868.238525390625, + -1339.563720703125 + ], + "size": [ + 320.1224060058594, + 94.1997299194336 + ], + "flags": { + "collapsed": false + }, + "order": 69, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 65 + }, + { + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 129 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "slot_index": 0, + "links": [ + 49 + ] + } + ], + "title": "CLIP Text Encode (Negative Prompt)", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.34", + "Node name for S&R": "CLIPTextEncode", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": { + "text": true + } + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,\npoorly drawn, bad anatomy, bad hands, bad eyes, missing fingers, extra fingers, ugly, deformed, disfigured, blurry, grainy, out of focus, low resolution, amateur, poorly lit, oversaturated, undersaturated, watermark, signature, text, writing, noise, artifacts" + ], + "color": "#322", + "bgcolor": "hsla(0, 25%, 26.7%, 1)" + }, + { + "id": 92, + "type": "SetNode", + "pos": [ + -5761.61669921875, + -1965.327880859375 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 49, + "mode": 0, + "inputs": [ + { + "name": "STRING", + "type": "STRING", + "link": 125 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_PositivePrompt", + "properties": { + "previousName": "PositivePrompt" + }, + "widgets_values": [ + "PositivePrompt" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 93, + "type": "SetNode", + "pos": [ + -5766.3466796875, + -1720.7197265625 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 43, + "mode": 0, + "inputs": [ + { + "name": "STRING", + "type": "STRING", + "link": 126 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_NegativePrompt", + "properties": { + "previousName": "NegativePrompt" + }, + "widgets_values": [ + "NegativePrompt" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 77, + "type": "SetNode", + "pos": [ + -5766.8193359375, + -1518.1102294921875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 50, + "mode": 0, + "inputs": [ + { + "name": "STRING", + "type": "STRING", + "link": 115 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_FlorencePrompt", + "properties": { + "previousName": "FlorencePrompt" + }, + "widgets_values": [ + "FlorencePrompt" + ] + }, + { + "id": 73, + "type": "Note", + "pos": [ + -5478.93408203125, + -1702.797607421875 + ], + "size": [ + 321.3008117675781, + 88 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Drop here the image you want to use as a base\n\n(this is not the reference image, we do not use one)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 83, + "type": "GetNode", + "pos": [ + -5436.033203125, + -73.49744415283203 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 8, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 120 + ] + } + ], + "title": "Get_Preview Input", + "properties": {}, + "widgets_values": [ + "Preview Input" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 32, + "type": "PreviewImage", + "pos": [ + -5231.77587890625, + -103.904052734375 + ], + "size": [ + 140, + 246 + ], + "flags": {}, + "order": 40, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 120 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "PreviewImage" + }, + "widgets_values": [] + }, + { + "id": 82, + "type": "GetNode", + "pos": [ + -5435.66357421875, + -459.8912658691406 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 119 + ] + } + ], + "title": "Get_Preview Mask", + "properties": {}, + "widgets_values": [ + "Preview Mask" + ], + "color": "#1c5715", + "bgcolor": "#1f401b" + }, + { + "id": 33, + "type": "MaskPreview+", + "pos": [ + -5235.50146484375, + -485.06494140625 + ], + "size": [ + 150.14315795898438, + 246 + ], + "flags": {}, + "order": 41, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 119 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfyui_essentials", + "ver": "1.1.0", + "Node name for S&R": "MaskPreview+" + }, + "widgets_values": [] + }, + { + "id": 49, + "type": "Power Lora Loader (rgthree)", + "pos": [ + 402.19342041015625, + -1978.5916748046875 + ], + "size": [ + 320.848388671875, + 180.79275512695312 + ], + "flags": {}, + "order": 65, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "model", + "type": "MODEL", + "link": 235 + }, + { + "dir": 3, + "name": "clip", + "type": "CLIP", + "link": 236 + } + ], + "outputs": [ + { + "dir": 4, + "name": "MODEL", + "shape": 3, + "type": "MODEL", + "links": [ + 62 + ] + }, + { + "dir": 4, + "name": "CLIP", + "shape": 3, + "type": "CLIP", + "links": [ + 64, + 65 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "dbc5fa5e89b6a8b6a1a1dda787505b690f18026c", + "Show Strengths": "Single Strength" + }, + "widgets_values": [ + {}, + { + "type": "PowerLoraLoaderHeaderWidget" + }, + { + "on": true, + "lora": "3090\\wan\\Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors", + "strength": 1, + "strengthTwo": null + }, + { + "on": false, + "lora": "None", + "strength": 1, + "strengthTwo": null + }, + {}, + "" + ] + }, + { + "id": 81, + "type": "SetNode", + "pos": [ + 18.58340072631836, + -1593.93359375 + ], + "size": [ + 210, + 58 + ], + "flags": {}, + "order": 84, + "mode": 0, + "inputs": [ + { + "name": "MASK", + "type": "MASK", + "link": 118 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_Preview Mask", + "properties": { + "previousName": "Preview Mask" + }, + "widgets_values": [ + "Preview Mask" + ], + "color": "#1c5715", + "bgcolor": "#1f401b" + }, + { + "id": 80, + "type": "SetNode", + "pos": [ + 13.587653160095215, + -1771.0924072265625 + ], + "size": [ + 210, + 60 + ], + "flags": {}, + "order": 82, + "mode": 0, + "inputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "link": 117 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_Preview Input", + "properties": { + "previousName": "Preview Input" + }, + "widgets_values": [ + "Preview Input" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 27, + "type": "ImageCompositeMasked", + "pos": [ + -315.7801513671875, + -2008.6583251953125 + ], + "size": [ + 270, + 146 + ], + "flags": {}, + "order": 80, + "mode": 0, + "inputs": [ + { + "name": "destination", + "type": "IMAGE", + "link": 93 + }, + { + "name": "source", + "type": "IMAGE", + "link": 28 + }, + { + "name": "mask", + "shape": 7, + "type": "MASK", + "link": 29 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 38, + 117 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "ImageCompositeMasked" + }, + "widgets_values": [ + 0, + 0, + false + ] + }, + { + "id": 30, + "type": "LoadDwposeTensorrtModels", + "pos": [ + -1243.364501953125, + -1925.4810791015625 + ], + "size": [ + 288.9956970214844, + 102 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "yolox_trt_model", + "type": "YOLOX_TRT_MODEL", + "links": [ + 32 + ] + }, + { + "name": "dwpose_trt_model", + "type": "DWPOSE_TRT_MODEL", + "links": [ + 33 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Dwpose-Tensorrt", + "ver": "f7ece53b992461ec761ed697f2c029e2a8ed71da", + "Node name for S&R": "LoadDwposeTensorrtModels" + }, + "widgets_values": [ + "fp16", + "fp32" + ] + }, + { + "id": 23, + "type": "Florence2Run", + "pos": [ + -1721.6519775390625, + -1498.4166259765625 + ], + "size": [ + 400, + 364 + ], + "flags": {}, + "order": 75, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 91 + }, + { + "name": "florence2_model", + "type": "FL2MODEL", + "link": 24 + }, + { + "name": "text_input", + "type": "STRING", + "widget": { + "name": "text_input" + }, + "link": 116 + } + ], + "outputs": [ + { + "name": "image", + "type": "IMAGE", + "links": null + }, + { + "name": "mask", + "type": "MASK", + "links": [ + 27 + ] + }, + { + "name": "caption", + "type": "STRING", + "links": null + }, + { + "name": "data", + "type": "JSON", + "links": null + } + ], + "properties": { + "cnr_id": "comfyui-florence2", + "ver": "1.0.6", + "Node name for S&R": "Florence2Run" + }, + "widgets_values": [ + "head", + "caption_to_phrase_grounding", + true, + true, + 1024, + 3, + true, + "", + 1, + "fixed" + ] + }, + { + "id": 26, + "type": "GrowMask", + "pos": [ + -1289.748046875, + -1448.705322265625 + ], + "size": [ + 210, + 82 + ], + "flags": {}, + "order": 77, + "mode": 0, + "inputs": [ + { + "name": "mask", + "type": "MASK", + "link": 27 + } + ], + "outputs": [ + { + "name": "MASK", + "type": "MASK", + "links": [ + 26 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.50", + "Node name for S&R": "GrowMask" + }, + "widgets_values": [ + 30, + false + ] + }, + { + "id": 78, + "type": "GetNode", + "pos": [ + -1920.2095947265625, + -1222.30419921875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 11, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 116 + ] + } + ], + "title": "Get_FlorencePrompt", + "properties": {}, + "widgets_values": [ + "FlorencePrompt" + ] + }, + { + "id": 22, + "type": "Florence2ModelLoader", + "pos": [ + -2036.6025390625, + -1417.1619873046875 + ], + "size": [ + 288.740234375, + 130 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "lora", + "shape": 7, + "type": "PEFTLORA", + "link": null + } + ], + "outputs": [ + { + "name": "florence2_model", + "type": "FL2MODEL", + "links": [ + 24 + ] + } + ], + "properties": { + "cnr_id": "comfyui-florence2", + "ver": "1.0.6", + "Node name for S&R": "Florence2ModelLoader" + }, + "widgets_values": [ + "Florence-2-base-ft", + "fp16", + "sdpa", + false + ] + }, + { + "id": 31, + "type": "DwposeTensorrt", + "pos": [ + -883.9829711914062, + -1938.9754638671875 + ], + "size": [ + 270, + 146 + ], + "flags": {}, + "order": 76, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 92 + }, + { + "name": "yolox_trt_model", + "type": "YOLOX_TRT_MODEL", + "link": 32 + }, + { + "name": "dwpose_trt_model", + "type": "DWPOSE_TRT_MODEL", + "link": 33 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 28 + ] + } + ], + "properties": { + "cnr_id": "ComfyUI-Dwpose-Tensorrt", + "ver": "f7ece53b992461ec761ed697f2c029e2a8ed71da", + "Node name for S&R": "DwposeTensorrt" + }, + "widgets_values": [ + true, + true, + true + ] + }, + { + "id": 35, + "type": "GetImageSize", + "pos": [ + -2568.94287109375, + -1703.404052734375 + ], + "size": [ + 252, + 172.3600616455078 + ], + "flags": {}, + "order": 73, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 89 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 43 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 44 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": [] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.49", + "Node name for S&R": "GetImageSize", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": {} + }, + "widgets_values": [] + }, + { + "id": 69, + "type": "JWImageResizeByLongerSide", + "pos": [ + -3734.470458984375, + -1988.7288818359375 + ], + "size": [ + 283.5611267089844, + 82 + ], + "flags": {}, + "order": 64, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 108 + }, + { + "name": "size", + "type": "INT", + "widget": { + "name": "size" + }, + "link": 107 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 109, + 110 + ] + } + ], + "properties": { + "cnr_id": "comfyui-various", + "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", + "Node name for S&R": "JWImageResizeByLongerSide" + }, + "widgets_values": [ + 512, + "bicubic" + ] + }, + { + "id": 66, + "type": "easy ifElse", + "pos": [ + -4311.5126953125, + -1812.1392822265625 + ], + "size": [ + 270, + 78 + ], + "flags": {}, + "order": 56, + "mode": 0, + "inputs": [ + { + "name": "on_true", + "type": "*", + "link": 104 + }, + { + "name": "on_false", + "type": "*", + "link": 105 + }, + { + "name": "boolean", + "type": "BOOLEAN", + "widget": { + "name": "boolean" + }, + "link": 101 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": [ + 106 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.3", + "Node name for S&R": "easy ifElse" + }, + "widgets_values": [ + false + ] + }, + { + "id": 63, + "type": "easy compare", + "pos": [ + -4708.95361328125, + -1694.483642578125 + ], + "size": [ + 347.0069885253906, + 145.45578002929688 + ], + "flags": {}, + "order": 51, + "mode": 0, + "inputs": [ + { + "name": "a", + "type": "*", + "link": 96 + }, + { + "name": "b", + "type": "*", + "link": 97 + } + ], + "outputs": [ + { + "name": "boolean", + "type": "BOOLEAN", + "links": [ + 101 + ] + } + ], + "properties": { + "cnr_id": "comfyui-easy-use", + "ver": "1.3.3", + "Node name for S&R": "easy compare" + }, + "widgets_values": [ + "a >= b" + ] + }, + { + "id": 58, + "type": "GetImageSize", + "pos": [ + -4923.8994140625, + -1803.3232421875 + ], + "size": [ + 140, + 124 + ], + "flags": {}, + "order": 39, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 94 + } + ], + "outputs": [ + { + "name": "width", + "type": "INT", + "links": [ + 96, + 104 + ] + }, + { + "name": "height", + "type": "INT", + "links": [ + 97, + 105 + ] + }, + { + "name": "batch_size", + "type": "INT", + "links": null + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "GetImageSize" + }, + "widgets_values": [] + }, + { + "id": 85, + "type": "SetNode", + "pos": [ + -6925.3623046875, + 123.2405776977539 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 38, + "mode": 0, + "inputs": [ + { + "name": "INT", + "type": "INT", + "link": 121 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_MaximumResolution", + "properties": { + "previousName": "MaximumResolution" + }, + "widgets_values": [ + "MaximumResolution" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 72, + "type": "Note", + "pos": [ + -7211.65283203125, + 187.8275909423828 + ], + "size": [ + 340.93255615234375, + 145.5645294189453 + ], + "flags": {}, + "order": 13, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - Maximum Resolution", + "properties": {}, + "widgets_values": [ + "Put in 'b' the higher value of your max resolution that you can generate\n\nFor example, if you can do 1280x720 / 720x1280 then you should put '1280'" + ], + "color": "#233", + "bgcolor": "#355" + }, + { + "id": 48, + "type": "ModelPatchTorchSettings", + "pos": [ + -6589.00244140625, + -498.5892028808594 + ], + "size": [ + 307.443359375, + 58 + ], + "flags": {}, + "order": 57, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 60 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 233 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.6", + "Node name for S&R": "ModelPatchTorchSettings" + }, + "widgets_values": [ + true + ] + }, + { + "id": 47, + "type": "PathchSageAttentionKJ", + "pos": [ + -6878.14306640625, + -499.6286315917969 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 52, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 59 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 60 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.6", + "Node name for S&R": "PathchSageAttentionKJ" + }, + "widgets_values": [ + "sageattn_qk_int8_pv_fp16_triton" + ] + }, + { + "id": 46, + "type": "TorchCompileModelWanVideoV2", + "pos": [ + -7186.14599609375, + -503.7406005859375 + ], + "size": [ + 282.79998779296875, + 180 + ], + "flags": {}, + "order": 42, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 124 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 59 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "1.1.3", + "Node name for S&R": "TorchCompileModelWanVideoV2", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": {} + }, + "widgets_values": [ + "inductor", + false, + "default", + false, + true, + 64 + ] + }, + { + "id": 88, + "type": "GetNode", + "pos": [ + -7325.9248046875, + -474.7445068359375 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 14, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 124 + ] + } + ], + "title": "Get_Model", + "properties": {}, + "widgets_values": [ + "Model" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 55, + "type": "SetNode", + "pos": [ + -6907.43310546875, + -56.61801528930664 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 37, + "mode": 0, + "inputs": [ + { + "name": "VAE", + "type": "VAE", + "link": 82 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_VAE", + "properties": { + "previousName": "VAE" + }, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 62, + "type": "Note", + "pos": [ + -6165.1533203125, + -1399.4765625 + ], + "size": [ + 369.94927978515625, + 136.4560546875 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [], + "outputs": [], + "title": "Note - Florence Prompt", + "properties": {}, + "widgets_values": [ + "You can try masking prompt for many variants, I've checked those below but others should work too :)\n\nhead\n\nhead and body and hands\n\nhead and hair\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 44, + "type": "SaveImage", + "pos": [ + -5854.48291015625, + -306.4514465332031 + ], + "size": [ + 270, + 270.0000305175781 + ], + "flags": {}, + "order": 89, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 69 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 91, + "type": "Text Multiline", + "pos": [ + -6177.08740234375, + -1753.2630615234375 + ], + "size": [ + 389.5953674316406, + 142.9849853515625 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 126 + ] + } + ], + "title": "Negative Prompt", + "properties": { + "cnr_id": "was-ns", + "ver": "3.0.0", + "Node name for S&R": "Text Multiline" + }, + "widgets_values": [ + "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走,\npoorly drawn, bad anatomy, bad hands, bad eyes, missing fingers, extra fingers, ugly, deformed, disfigured, blurry, grainy, out of focus, low resolution, amateur, poorly lit, oversaturated, undersaturated, watermark, signature, text, writing, noise, artifacts" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 40, + "type": "CLIPLoader", + "pos": [ + -6579.76416015625, + -378.73248291015625 + ], + "size": [ + 270, + 106 + ], + "flags": {}, + "order": 17, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 169 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "CLIPLoader" + }, + "widgets_values": [ + "umt5_xxl_fp8_e4m3fn_scaled.safetensors", + "wan", + "default" + ] + }, + { + "id": 115, + "type": "UpscaleModelLoader", + "pos": [ + -5920.4091796875, + 2118.645751953125 + ], + "size": [ + 270, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 18, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 167 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "RealESRGAN_x2.pth" + ] + }, + { + "id": 41, + "type": "KSampler", + "pos": [ + 1400.4627685546875, + -1186.7879638671875 + ], + "size": [ + 270, + 262 + ], + "flags": {}, + "order": 85, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 62 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 54 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 55 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 56 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 52 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "KSampler", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": {} + }, + "widgets_values": [ + 502014324144160, + "randomize", + 4, + 1, + "euler", + "beta", + 1 + ] + }, + { + "id": 114, + "type": "GetNode", + "pos": [ + -5869.24755859375, + 2074.1904296875 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 19, + "mode": 4, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 166 + ] + } + ], + "title": "Get_VAE", + "properties": {}, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 87, + "type": "SetNode", + "pos": [ + -6761.64501953125, + -196.4024200439453 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 46, + "mode": 0, + "inputs": [ + { + "name": "MODEL", + "type": "MODEL", + "link": 123 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_Model", + "properties": { + "previousName": "Model" + }, + "widgets_values": [ + "Model" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 147, + "type": "SetNode", + "pos": [ + -6283.013671875, + 305.6325378417969 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 58, + "mode": 0, + "inputs": [ + { + "name": "MODEL", + "type": "MODEL", + "link": 201 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_Upscale Model", + "properties": { + "previousName": "Upscale Model" + }, + "widgets_values": [ + "Upscale Model" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 45, + "type": "UNETLoader", + "pos": [ + -7213.84423828125, + -224.5503387451172 + ], + "size": [ + 417.8115539550781, + 82 + ], + "flags": {}, + "order": 20, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 123 + ] + } + ], + "title": "VACE Model - For swapping", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.16", + "Node name for S&R": "UNETLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "Wan2.1\\wan2.1_vace_14B_fp8_e4m3fn.safetensors", + "default" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 136, + "type": "UNETLoader", + "pos": [ + -6712.82470703125, + 114.4111099243164 + ], + "size": [ + 413.1535949707031, + 82 + ], + "flags": {}, + "order": 21, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 189 + ] + } + ], + "title": "WAN Model - For upscaling", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.16", + "Node name for S&R": "UNETLoader", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "Wan2.2\\wan2.2_t2v_low_noise_14B_fp8_scaled.safetensors", + "default" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 139, + "type": "ModelSamplingSD3", + "pos": [ + -4836.39306640625, + 740.9578247070312 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 66, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 191 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "slot_index": 0, + "links": [ + 195 + ] + } + ], + "title": "Shift", + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.36", + "Node name for S&R": "ModelSamplingSD3", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 1.0000000000000002 + ] + }, + { + "id": 130, + "type": "KSampler", + "pos": [ + -4727.62060546875, + 736.8424682617188 + ], + "size": [ + 270, + 262 + ], + "flags": {}, + "order": 93, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 195 + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": 177 + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": 178 + }, + { + "name": "latent_image", + "type": "LATENT", + "link": 176 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 184 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.45", + "Node name for S&R": "KSampler", + "ue_properties": { + "version": "7.0.1", + "widget_ue_connectable": {} + }, + "widget_ue_connectable": {} + }, + "widgets_values": [ + 5234279850975, + "randomize", + 10, + 1, + "euler", + "beta", + 0.3 + ] + }, + { + "id": 129, + "type": "VAEEncode", + "pos": [ + -4888.01806640625, + 944.6206665039062 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 92, + "mode": 0, + "inputs": [ + { + "name": "pixels", + "type": "IMAGE", + "link": 182 + }, + { + "name": "vae", + "type": "VAE", + "link": 183 + } + ], + "outputs": [ + { + "name": "LATENT", + "type": "LATENT", + "links": [ + 176 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "VAEEncode" + }, + "widgets_values": [] + }, + { + "id": 131, + "type": "ImageScaleBy", + "pos": [ + -5185.90576171875, + 934.9893188476562 + ], + "size": [ + 270, + 82 + ], + "flags": {}, + "order": 91, + "mode": 0, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": 181 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 182 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "ImageScaleBy" + }, + "widgets_values": [ + "lanczos", + 0.5 + ] + }, + { + "id": 128, + "type": "ImageUpscaleWithModel", + "pos": [ + -5430.0927734375, + 936.5443115234375 + ], + "size": [ + 221.98202514648438, + 46 + ], + "flags": {}, + "order": 90, + "mode": 0, + "inputs": [ + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 180 + }, + { + "name": "image", + "type": "IMAGE", + "link": 179 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 181 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "ImageUpscaleWithModel" + }, + "widgets_values": [] + }, + { + "id": 127, + "type": "UpscaleModelLoader", + "pos": [ + -5722.1494140625, + 887.986328125 + ], + "size": [ + 270, + 58 + ], + "flags": {}, + "order": 22, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "UPSCALE_MODEL", + "type": "UPSCALE_MODEL", + "links": [ + 180 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "UpscaleModelLoader" + }, + "widgets_values": [ + "4x_NMKD-Siax_200k.pth" + ] + }, + { + "id": 132, + "type": "GetNode", + "pos": [ + -5017.73974609375, + 1079.154296875 + ], + "size": [ + 210, + 50 + ], + "flags": { + "collapsed": true + }, + "order": 23, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "VAE", + "type": "VAE", + "links": [ + 183, + 185 + ] + } + ], + "title": "Get_VAE", + "properties": {}, + "widgets_values": [ + "VAE" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 133, + "type": "VAEDecode", + "pos": [ + -4425.3212890625, + 1030.760498046875 + ], + "size": [ + 140, + 46 + ], + "flags": {}, + "order": 94, + "mode": 0, + "inputs": [ + { + "name": "samples", + "type": "LATENT", + "link": 184 + }, + { + "name": "vae", + "type": "VAE", + "link": 185 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 186, + 206 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "VAEDecode" + }, + "widgets_values": [] + }, + { + "id": 121, + "type": "CLIPTextEncode", + "pos": [ + -5236.6083984375, + 777.1343383789062 + ], + "size": [ + 321.97991943359375, + 88 + ], + "flags": { + "collapsed": true + }, + "order": 59, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 218 + }, + { + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 171 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 177 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 125, + "type": "CLIPTextEncode", + "pos": [ + -5238.77587890625, + 825.786865234375 + ], + "size": [ + 321.97991943359375, + 88 + ], + "flags": { + "collapsed": true + }, + "order": 60, + "mode": 0, + "inputs": [ + { + "name": "clip", + "type": "CLIP", + "link": 219 + }, + { + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + }, + "link": 173 + } + ], + "outputs": [ + { + "name": "CONDITIONING", + "type": "CONDITIONING", + "links": [ + 178, + 196 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "CLIPTextEncode" + }, + "widgets_values": [ + "" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 118, + "type": "GetNode", + "pos": [ + -5434.80419921875, + 824.3365478515625 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 24, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 173 + ] + } + ], + "title": "Get_NegativePrompt", + "properties": {}, + "widgets_values": [ + "NegativePrompt" + ], + "color": "#322", + "bgcolor": "#533" + }, + { + "id": 119, + "type": "GetNode", + "pos": [ + -5435.146484375, + 777.133544921875 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 25, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 171 + ] + } + ], + "title": "Get_PositivePrompt", + "properties": {}, + "widgets_values": [ + "PositivePrompt" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 142, + "type": "GetNode", + "pos": [ + -5801.8818359375, + 606.3971557617188 + ], + "size": [ + 210, + 58 + ], + "flags": { + "collapsed": true + }, + "order": 26, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 194 + ] + } + ], + "title": "Get_Clip", + "properties": {}, + "widgets_values": [ + "Clip" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 148, + "type": "GetNode", + "pos": [ + -5803.7470703125, + 682.3228759765625 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 27, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 202 + ] + } + ], + "title": "Get_Upscale Model", + "properties": {}, + "widgets_values": [ + "Upscale Model" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 140, + "type": "WanVideoNAG", + "pos": [ + -4998.52734375, + 740.4785766601562 + ], + "size": [ + 315, + 150 + ], + "flags": { + "collapsed": true + }, + "order": 63, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 217 + }, + { + "name": "conditioning", + "type": "CONDITIONING", + "link": 196 + } + ], + "outputs": [ + { + "name": "model", + "type": "MODEL", + "links": [ + 191 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "f7eb33abc80a2aded1b46dff0dd14d07856a7d50", + "Node name for S&R": "WanVideoNAG", + "widget_ue_connectable": {} + }, + "widgets_values": [ + 11, + 0.25, + 2.5, + "default" + ], + "color": "#2a363b", + "bgcolor": "#3f5159" + }, + { + "id": 134, + "type": "SaveImage", + "pos": [ + -4725.52294921875, + 398.4055480957031 + ], + "size": [ + 270, + 270 + ], + "flags": {}, + "order": 95, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 186 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 112, + "type": "UltimateSDUpscale", + "pos": [ + -5679.482421875, + 1533.650634765625 + ], + "size": [ + 274.044921875, + 614 + ], + "flags": {}, + "order": 45, + "mode": 4, + "inputs": [ + { + "name": "image", + "type": "IMAGE", + "link": null + }, + { + "name": "model", + "type": "MODEL", + "link": null + }, + { + "name": "positive", + "type": "CONDITIONING", + "link": null + }, + { + "name": "negative", + "type": "CONDITIONING", + "link": null + }, + { + "name": "vae", + "type": "VAE", + "link": 166 + }, + { + "name": "upscale_model", + "type": "UPSCALE_MODEL", + "link": 167 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 163 + ] + } + ], + "properties": { + "cnr_id": "comfyui_ultimatesdupscale", + "ver": "1.5.1", + "Node name for S&R": "UltimateSDUpscale" + }, + "widgets_values": [ + 2, + 58659118915407, + "randomize", + 10, + 6, + "euler", + "beta", + 0.15, + "Linear", + 1024, + 1024, + 8, + 32, + "None", + 1, + 64, + 8, + 16, + true, + false + ] + }, + { + "id": 86, + "type": "GetNode", + "pos": [ + -4248.146484375, + -1688.399658203125 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 28, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "INT", + "type": "INT", + "links": [ + 122 + ] + } + ], + "title": "Get_MaximumResolution", + "properties": {}, + "widgets_values": [ + "MaximumResolution" + ], + "color": "#1b4669", + "bgcolor": "#29699c" + }, + { + "id": 137, + "type": "PathchSageAttentionKJ", + "pos": [ + -6825.96923828125, + 280.6962585449219 + ], + "size": [ + 265.3421630859375, + 58.58220291137695 + ], + "flags": { + "collapsed": false + }, + "order": 47, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 189 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 190 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "5dcda71011870278c35d92ff77a677ed2e538f2d", + "Node name for S&R": "PathchSageAttentionKJ", + "widget_ue_connectable": {} + }, + "widgets_values": [ + "sageattn_qk_int8_pv_fp16_triton" + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 138, + "type": "ModelPatchTorchSettings", + "pos": [ + -6549.39892578125, + 278.93084716796875 + ], + "size": [ + 247.443359375, + 58 + ], + "flags": {}, + "order": 54, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 190 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 201 + ] + } + ], + "properties": { + "cnr_id": "comfyui-kjnodes", + "ver": "5dcda71011870278c35d92ff77a677ed2e538f2d", + "Node name for S&R": "ModelPatchTorchSettings", + "widget_ue_connectable": {} + }, + "widgets_values": [ + true + ], + "color": "#223", + "bgcolor": "#335" + }, + { + "id": 146, + "type": "Fast Groups Muter (rgthree)", + "pos": [ + -5454.5283203125, + -1114.5633544921875 + ], + "size": [ + 272.8674621582031, + 88.8320083618164 + ], + "flags": {}, + "order": 29, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "OPT_CONNECTION", + "type": "*", + "links": null + } + ], + "title": "Addons", + "properties": { + "matchColors": "", + "matchTitle": "Upscaling", + "showNav": true, + "showAllGraphs": true, + "sort": "position", + "customSortAlphabet": "", + "toggleRestriction": "default" + } + }, + { + "id": 141, + "type": "LoraLoader", + "pos": [ + -5795.140625, + 413.1136779785156 + ], + "size": [ + 352.23046875, + 126 + ], + "flags": {}, + "order": 48, + "mode": 0, + "inputs": [ + { + "name": "model", + "type": "MODEL", + "link": 202 + }, + { + "name": "clip", + "type": "CLIP", + "link": 194 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 215 + ] + }, + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 216 + ] + } + ], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.55", + "Node name for S&R": "LoraLoader" + }, + "widgets_values": [ + "WAN\\Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors", + 1, + 1 + ] + }, + { + "id": 126, + "type": "Image Comparer (rgthree)", + "pos": [ + -4833.9716796875, + -582.2449951171875 + ], + "size": [ + 609.0348510742188, + 853.0534057617188 + ], + "flags": {}, + "order": 96, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "image_a", + "type": "IMAGE", + "link": 205 + }, + { + "dir": 3, + "name": "image_b", + "type": "IMAGE", + "link": 206 + } + ], + "outputs": [], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "dbc5fa5e89b6a8b6a1a1dda787505b690f18026c", + "comparer_mode": "Slide" + }, + "widgets_values": [ + [ + { + "name": "A", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_jaerv_00150_.png&type=temp&subfolder=&rand=0.11115416669672051" + }, + { + "name": "B", + "selected": true, + "url": "/api/view?filename=rgthree.compare._temp_jaerv_00151_.png&type=temp&subfolder=&rand=0.8540869174969385" + } + ] + ] + }, + { + "id": 113, + "type": "SaveImage", + "pos": [ + -5363.140625, + 1531.315673828125 + ], + "size": [ + 270, + 270.0000305175781 + ], + "flags": {}, + "order": 53, + "mode": 4, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 163 + } + ], + "outputs": [], + "properties": { + "cnr_id": "comfy-core", + "ver": "0.3.59", + "Node name for S&R": "SaveImage" + }, + "widgets_values": [ + "ComfyUI" + ] + }, + { + "id": 152, + "type": "Note", + "pos": [ + -5363.28173828125, + 1862.5582275390625 + ], + "size": [ + 266.1553955078125, + 88 + ], + "flags": {}, + "order": 30, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "You can hook up the Ultimate SD Upscaler with either VACE or regular WAN but the regular upscaler works better for me :)" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 122, + "type": "SetNode", + "pos": [ + -6267.81005859375, + -348.4122619628906 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 44, + "mode": 0, + "inputs": [ + { + "name": "CLIP", + "type": "CLIP", + "link": 169 + } + ], + "outputs": [ + { + "name": "*", + "type": "*", + "links": null + } + ], + "title": "Set_Clip", + "properties": { + "previousName": "Clip" + }, + "widgets_values": [ + "Clip" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 154, + "type": "GetNode", + "pos": [ + -6208.63916015625, + -867.61572265625 + ], + "size": [ + 210, + 60 + ], + "flags": { + "collapsed": true + }, + "order": 31, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "CLIP", + "type": "CLIP", + "links": [ + 234 + ] + } + ], + "title": "Get_Clip", + "properties": {}, + "widgets_values": [ + "Clip" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 89, + "type": "Note", + "pos": [ + -5786.943359375, + -1065.46240234375 + ], + "size": [ + 270.35345458984375, + 88 + ], + "flags": {}, + "order": 32, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Add your lora(s) here." + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 151, + "type": "Note", + "pos": [ + -7147.3583984375, + -2063.795166015625 + ], + "size": [ + 773.104736328125, + 1006.445068359375 + ], + "flags": {}, + "order": 33, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "Hello!\n\nThis is malcolmrey and this is WAN Vace (+WAN 2.2) workflow for replacing a full character or just some part of it (face, etc)\n\nThis is v1.0.0 of this workflow, the date is 25.10.2025\n\n--\n\nYou can find me on:\n\nCivitai:\nhttps://civitai.com/user/malcolmrey\n\nSome of my older models are still there (like perfect eyes and styles) but nowadays it is mainly for the articles - how to train and use models.\n\n--\n\nReddit:\nhttps://reddit.com/r/malcolmrey\n\nHere I share some various news concerning my models, etc.\n\n--\n\nHuggingFace\nhttps://huggingface.co/malcolmrey\n\nHere I share most of my Loras nowadays.\n\n--\n\nBuyMeACoffee\nhttps://buymeacoffee.com/malcolmrey\n\nHere is where you can support me, make some requests and also get access to the MEGA folder with all my loras.\n(I keep all my loras public, but it is better to be safe than sorry, so having a mirror is always nice)\n\n--\n\nThis is my first original workflow, made from scratch :)\n\n\n--\n\nHow To Use\n\nIn Settings you:\n \n* hook your models, vae, clip\n* set if you want to use sage attention\n* maximum resolution your GPU can handle for a single image generation (this is important as you can use base source images that are bigger and it will make sure to automatically resize it so you do not get OOM)\n\nIn Playground you:\n\n* load source image that will be manipulated to insert your character\n* load loras for character, styles, etc\n* enable/disable upscaler which also works as \"high res fix\" that adds some details (go there to set up character loras too)\n* set up positive prompt (and tweak negative if needed)\n* set up masking prompt (you want to change head or also full body, etc)\n\nIn Upscaling you:\n\n* can load additional loras (character, styles, etc)\n* can change the upscale factor or pick your favorite upscaling model\n\nIn Generation you:\n\n* can add the light/fast lora\n* can change steps and your favorite sampler\n\nIn Masking you:\n\n* can enable the Invert node in case you want to change everything EXCEPT your character\n\nIn Resizing you:\n\n* should not touch anything :-)\n" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 153, + "type": "Note", + "pos": [ + -5134.29638671875, + 416.8100891113281 + ], + "size": [ + 263.99371337890625, + 88 + ], + "flags": {}, + "order": 34, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": {}, + "widgets_values": [ + "<---\n\nYou can add character/style/etc loras here" + ], + "color": "#432", + "bgcolor": "#653" + }, + { + "id": 90, + "type": "Text Multiline", + "pos": [ + -6174.31689453125, + -1995.374267578125 + ], + "size": [ + 390.08154296875, + 172.8547821044922 + ], + "flags": {}, + "order": 35, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 125 + ] + } + ], + "title": "Positive Prompt", + "properties": { + "cnr_id": "was-ns", + "ver": "3.0.0", + "Node name for S&R": "Text Multiline" + }, + "widgets_values": [ + "photo of anime woman, manga panel" + ], + "color": "#232", + "bgcolor": "#353" + }, + { + "id": 155, + "type": "Power Lora Loader (rgthree)", + "pos": [ + -6160.47021484375, + -1190.363037109375 + ], + "size": [ + 355.8196105957031, + 142 + ], + "flags": {}, + "order": 62, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "model", + "type": "MODEL", + "link": 233 + }, + { + "dir": 3, + "name": "clip", + "type": "CLIP", + "link": 234 + } + ], + "outputs": [ + { + "dir": 4, + "name": "MODEL", + "shape": 3, + "type": "MODEL", + "links": [ + 235 + ] + }, + { + "dir": 4, + "name": "CLIP", + "shape": 3, + "type": "CLIP", + "links": [ + 236 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "dbc5fa5e89b6a8b6a1a1dda787505b690f18026c", + "Show Strengths": "Single Strength" + }, + "widgets_values": [ + {}, + { + "type": "PowerLoraLoaderHeaderWidget" + }, + { + "on": true, + "lora": "WAN\\characters\\wan_motokokusanagi_v1.safetensors", + "strength": 1, + "strengthTwo": null + }, + {}, + "" + ] + }, + { + "id": 150, + "type": "Power Lora Loader (rgthree)", + "pos": [ + -5426.923828125, + 419.5900573730469 + ], + "size": [ + 256.54229736328125, + 152.47544860839844 + ], + "flags": {}, + "order": 55, + "mode": 0, + "inputs": [ + { + "dir": 3, + "name": "model", + "type": "MODEL", + "link": 215 + }, + { + "dir": 3, + "name": "clip", + "type": "CLIP", + "link": 216 + } + ], + "outputs": [ + { + "dir": 4, + "name": "MODEL", + "shape": 3, + "type": "MODEL", + "links": [ + 217 + ] + }, + { + "dir": 4, + "name": "CLIP", + "shape": 3, + "type": "CLIP", + "links": [ + 218, + 219 + ] + } + ], + "properties": { + "cnr_id": "rgthree-comfy", + "ver": "dbc5fa5e89b6a8b6a1a1dda787505b690f18026c", + "Show Strengths": "Single Strength" + }, + "widgets_values": [ + {}, + { + "type": "PowerLoraLoaderHeaderWidget" + }, + { + "on": true, + "lora": "WAN\\characters\\wan_motokokusanagi_v1.safetensors", + "strength": 1, + "strengthTwo": null + }, + {}, + "" + ] + }, + { + "id": 76, + "type": "Text Multiline", + "pos": [ + -6166.43017578125, + -1546.5003662109375 + ], + "size": [ + 372.03204345703125, + 102.98604583740234 + ], + "flags": {}, + "order": 36, + "mode": 0, + "inputs": [], + "outputs": [ + { + "name": "STRING", + "type": "STRING", + "links": [ + 115 + ] + } + ], + "title": "Florence Prompt", + "properties": { + "cnr_id": "was-ns", + "ver": "3.0.0", + "Node name for S&R": "Text Multiline" + }, + "widgets_values": [ + "head and body and hands, full body" + ] + } + ], + "links": [ + [ + 24, + 22, + 0, + 23, + 1, + "FL2MODEL" + ], + [ + 25, + 24, + 1, + 25, + 0, + "MASK" + ], + [ + 26, + 26, + 0, + 25, + 1, + "MASK" + ], + [ + 27, + 23, + 1, + 26, + 0, + "MASK" + ], + [ + 28, + 31, + 0, + 27, + 1, + "IMAGE" + ], + [ + 29, + 28, + 0, + 27, + 2, + "MASK" + ], + [ + 30, + 25, + 0, + 28, + 0, + "MASK" + ], + [ + 31, + 28, + 0, + 29, + 0, + "MASK" + ], + [ + 32, + 30, + 0, + 31, + 1, + "YOLOX_TRT_MODEL" + ], + [ + 33, + 30, + 1, + 31, + 2, + "DWPOSE_TRT_MODEL" + ], + [ + 38, + 27, + 0, + 21, + 3, + "IMAGE" + ], + [ + 39, + 29, + 0, + 21, + 4, + "MASK" + ], + [ + 43, + 35, + 0, + 21, + 6, + "INT" + ], + [ + 44, + 35, + 1, + 21, + 7, + "INT" + ], + [ + 48, + 38, + 0, + 21, + 0, + "CONDITIONING" + ], + [ + 49, + 39, + 0, + 21, + 1, + "CONDITIONING" + ], + [ + 52, + 41, + 0, + 42, + 0, + "LATENT" + ], + [ + 53, + 42, + 0, + 43, + 0, + "LATENT" + ], + [ + 54, + 21, + 0, + 41, + 1, + "CONDITIONING" + ], + [ + 55, + 21, + 1, + 41, + 2, + "CONDITIONING" + ], + [ + 56, + 21, + 2, + 41, + 3, + "LATENT" + ], + [ + 59, + 46, + 0, + 47, + 0, + "MODEL" + ], + [ + 60, + 47, + 0, + 48, + 0, + "MODEL" + ], + [ + 62, + 49, + 0, + 41, + 0, + "MODEL" + ], + [ + 64, + 49, + 1, + 38, + 0, + "CLIP" + ], + [ + 65, + 49, + 1, + 39, + 0, + "CLIP" + ], + [ + 68, + 43, + 0, + 51, + 0, + "IMAGE" + ], + [ + 69, + 51, + 0, + 44, + 0, + "IMAGE" + ], + [ + 82, + 34, + 0, + 55, + 0, + "*" + ], + [ + 83, + 56, + 0, + 43, + 1, + "VAE" + ], + [ + 84, + 57, + 0, + 21, + 2, + "VAE" + ], + [ + 87, + 59, + 0, + 61, + 1, + "INT" + ], + [ + 88, + 60, + 0, + 61, + 2, + "INT" + ], + [ + 89, + 61, + 0, + 35, + 0, + "IMAGE" + ], + [ + 90, + 61, + 0, + 24, + 0, + "IMAGE" + ], + [ + 91, + 61, + 0, + 23, + 0, + "IMAGE" + ], + [ + 92, + 61, + 0, + 31, + 0, + "IMAGE" + ], + [ + 93, + 61, + 0, + 27, + 0, + "IMAGE" + ], + [ + 94, + 16, + 0, + 58, + 0, + "IMAGE" + ], + [ + 96, + 58, + 0, + 63, + 0, + "*" + ], + [ + 97, + 58, + 1, + 63, + 1, + "*" + ], + [ + 101, + 63, + 0, + 66, + 2, + "BOOLEAN" + ], + [ + 104, + 58, + 0, + 66, + 0, + "*" + ], + [ + 105, + 58, + 1, + 66, + 1, + "*" + ], + [ + 106, + 66, + 0, + 70, + 0, + "INT" + ], + [ + 107, + 70, + 0, + 69, + 1, + "INT" + ], + [ + 108, + 16, + 0, + 69, + 0, + "IMAGE" + ], + [ + 109, + 69, + 0, + 61, + 0, + "IMAGE" + ], + [ + 110, + 69, + 0, + 71, + 0, + "IMAGE" + ], + [ + 111, + 71, + 0, + 59, + 0, + "INT,FLOAT,IMAGE,LATENT" + ], + [ + 112, + 71, + 1, + 60, + 0, + "INT,FLOAT,IMAGE,LATENT" + ], + [ + 115, + 76, + 0, + 77, + 0, + "*" + ], + [ + 116, + 78, + 0, + 23, + 2, + "STRING" + ], + [ + 117, + 27, + 0, + 80, + 0, + "*" + ], + [ + 118, + 29, + 0, + 81, + 0, + "*" + ], + [ + 119, + 82, + 0, + 33, + 0, + "MASK" + ], + [ + 120, + 83, + 0, + 32, + 0, + "IMAGE" + ], + [ + 121, + 84, + 0, + 85, + 0, + "*" + ], + [ + 122, + 86, + 0, + 70, + 1, + "INT" + ], + [ + 123, + 45, + 0, + 87, + 0, + "*" + ], + [ + 124, + 88, + 0, + 46, + 0, + "MODEL" + ], + [ + 125, + 90, + 0, + 92, + 0, + "*" + ], + [ + 126, + 91, + 0, + 93, + 0, + "*" + ], + [ + 128, + 94, + 0, + 38, + 1, + "STRING" + ], + [ + 129, + 95, + 0, + 39, + 1, + "STRING" + ], + [ + 163, + 112, + 0, + 113, + 0, + "IMAGE" + ], + [ + 166, + 114, + 0, + 112, + 4, + "VAE" + ], + [ + 167, + 115, + 0, + 112, + 5, + "UPSCALE_MODEL" + ], + [ + 169, + 40, + 0, + 122, + 0, + "*" + ], + [ + 171, + 119, + 0, + 121, + 1, + "STRING" + ], + [ + 173, + 118, + 0, + 125, + 1, + "STRING" + ], + [ + 176, + 129, + 0, + 130, + 3, + "LATENT" + ], + [ + 177, + 121, + 0, + 130, + 1, + "CONDITIONING" + ], + [ + 178, + 125, + 0, + 130, + 2, + "CONDITIONING" + ], + [ + 179, + 51, + 0, + 128, + 1, + "IMAGE" + ], + [ + 180, + 127, + 0, + 128, + 0, + "UPSCALE_MODEL" + ], + [ + 181, + 128, + 0, + 131, + 0, + "IMAGE" + ], + [ + 182, + 131, + 0, + 129, + 0, + "IMAGE" + ], + [ + 183, + 132, + 0, + 129, + 1, + "VAE" + ], + [ + 184, + 130, + 0, + 133, + 0, + "LATENT" + ], + [ + 185, + 132, + 0, + 133, + 1, + "VAE" + ], + [ + 186, + 133, + 0, + 134, + 0, + "IMAGE" + ], + [ + 189, + 136, + 0, + 137, + 0, + "MODEL" + ], + [ + 190, + 137, + 0, + 138, + 0, + "MODEL" + ], + [ + 191, + 140, + 0, + 139, + 0, + "MODEL" + ], + [ + 194, + 142, + 0, + 141, + 1, + "CLIP" + ], + [ + 195, + 139, + 0, + 130, + 0, + "MODEL" + ], + [ + 196, + 125, + 0, + 140, + 1, + "CONDITIONING" + ], + [ + 201, + 138, + 0, + 147, + 0, + "*" + ], + [ + 202, + 148, + 0, + 141, + 0, + "MODEL" + ], + [ + 205, + 51, + 0, + 126, + 0, + "IMAGE" + ], + [ + 206, + 133, + 0, + 126, + 1, + "IMAGE" + ], + [ + 215, + 141, + 0, + 150, + 0, + "MODEL" + ], + [ + 216, + 141, + 1, + 150, + 1, + "CLIP" + ], + [ + 217, + 150, + 0, + 140, + 0, + "MODEL" + ], + [ + 218, + 150, + 1, + 121, + 0, + "CLIP" + ], + [ + 219, + 150, + 1, + 125, + 0, + "CLIP" + ], + [ + 233, + 48, + 0, + 155, + 0, + "MODEL" + ], + [ + 234, + 154, + 0, + 155, + 1, + "CLIP" + ], + [ + 235, + 155, + 0, + 49, + 0, + "MODEL" + ], + [ + 236, + 155, + 1, + 49, + 1, + "CLIP" + ] + ], + "floatingLinks": [ + { + "id": 3, + "origin_id": 51, + "origin_slot": 0, + "target_id": -1, + "target_slot": -1, + "type": "IMAGE", + "parentId": 45 + }, + { + "id": 6, + "origin_id": 48, + "origin_slot": 0, + "target_id": -1, + "target_slot": -1, + "type": "MODEL", + "parentId": 36 + } + ], + "groups": [ + { + "id": 1, + "title": "Output", + "bounding": [ + -5937.900390625, + -618.578125, + 953.9684448242188, + 866.4360961914062 + ], + "color": "#3f789e", + "font_size": 24, + "flags": {} + }, + { + "id": 3, + "title": "Playground", + "bounding": [ + -6308.3798828125, + -2098.430908203125, + 1225.080078125, + 1249.4971923828125 + ], + "color": "#8A8", + "font_size": 24, + "flags": {} + }, + { + "id": 4, + "title": "Settings", + "bounding": [ + -7340.01806640625, + -624.2725219726562, + 1255.4390869140625, + 1018.1013793945312 + ], + "color": "#b06634", + "font_size": 24, + "flags": {} + }, + { + "id": 5, + "title": "Generation", + "bounding": [ + 307.6977844238281, + -2108.333984375, + 2351.72509765625, + 1347.8636474609375 + ], + "color": "#a1309b", + "font_size": 24, + "flags": {} + }, + { + "id": 6, + "title": "Masking", + "bounding": [ + -2069.8515625, + -2106.486328125, + 2328.385986328125, + 994.344482421875 + ], + "color": "#b58b2a", + "font_size": 24, + "flags": {} + }, + { + "id": 7, + "title": "Resizing", + "bounding": [ + -4983.71337890625, + -2095.110107421875, + 2719.0947265625, + 609.1177978515625 + ], + "color": "#444", + "font_size": 24, + "flags": {} + }, + { + "id": 8, + "title": "Upscaling", + "bounding": [ + -5940.63427734375, + 298.668701171875, + 1715.339599609375, + 942.68603515625 + ], + "color": "#A88", + "font_size": 24, + "flags": {} + } + ], + "config": {}, + "extra": { + "ds": { + "scale": 1.0834705943388439, + "offset": [ + 7419.296330108999, + 1964.527362478725 + ] + }, + "frontendVersion": "1.26.13", + "reroutes": [ + { + "id": 1, + "pos": [ + -2617.58935546875, + -1985.723876953125 + ], + "linkIds": [ + 89, + 90, + 91, + 92, + 93 + ] + }, + { + "id": 2, + "parentId": 1, + "pos": [ + -925.6895751953125, + -1994.1202392578125 + ], + "linkIds": [ + 92, + 93 + ] + }, + { + "id": 5, + "parentId": 19, + "pos": [ + 833.6875, + -1538.0770263671875 + ], + "linkIds": [ + 64 + ] + }, + { + "id": 8, + "parentId": 20, + "pos": [ + 618.8262329101562, + -1508.405517578125 + ], + "linkIds": [ + 65 + ] + }, + { + "id": 12, + "parentId": 21, + "pos": [ + 221.36573791503906, + -2184.911376953125 + ], + "linkIds": [ + 236 + ] + }, + { + "id": 13, + "parentId": 22, + "pos": [ + 230.20379638671875, + -2217.459716796875 + ], + "linkIds": [ + 235 + ] + }, + { + "id": 15, + "pos": [ + 2618.962646484375, + -1151.7054443359375 + ], + "linkIds": [ + 69, + 179, + 205 + ] + }, + { + "id": 16, + "parentId": 15, + "pos": [ + 2615.560546875, + -648.32421875 + ], + "linkIds": [ + 69, + 179, + 205 + ] + }, + { + "id": 17, + "parentId": 16, + "pos": [ + -5985.107421875, + -673.4619750976562 + ], + "linkIds": [ + 69, + 179, + 205 + ] + }, + { + "id": 18, + "pos": [ + 1273.399169921875, + -1953.143310546875 + ], + "linkIds": [ + 62 + ] + }, + { + "id": 19, + "pos": [ + 825.9307250976562, + -1845.779296875 + ], + "linkIds": [ + 64 + ] + }, + { + "id": 20, + "pos": [ + 763.8049926757812, + -1844.701416015625 + ], + "linkIds": [ + 65 + ] + }, + { + "id": 21, + "parentId": 25, + "pos": [ + -5512.8154296875, + -2183.531005859375 + ], + "linkIds": [ + 236 + ] + }, + { + "id": 22, + "parentId": 26, + "pos": [ + -5549.24853515625, + -2225.248046875 + ], + "linkIds": [ + 235 + ] + }, + { + "id": 25, + "pos": [ + -5512.30224609375, + -1158.7969970703125 + ], + "linkIds": [ + 236 + ] + }, + { + "id": 26, + "pos": [ + -5541.54833984375, + -1180.7445068359375 + ], + "linkIds": [ + 235 + ] + }, + { + "id": 28, + "pos": [ + -6249.853515625, + -481.0480651855469 + ], + "linkIds": [ + 233 + ] + }, + { + "id": 29, + "pos": [ + 1225.3077392578125, + -1124.438232421875 + ], + "linkIds": [ + 48 + ] + }, + { + "id": 30, + "parentId": 29, + "pos": [ + 901.0145263671875, + -1112.5186767578125 + ], + "linkIds": [ + 48 + ] + }, + { + "id": 31, + "parentId": 32, + "pos": [ + 876.5383911132812, + -1162.1077880859375 + ], + "linkIds": [ + 49 + ] + }, + { + "id": 32, + "pos": [ + 1192.2156982421875, + -1166.41552734375 + ], + "linkIds": [ + 49 + ] + }, + { + "id": 33, + "pos": [ + -2176.026611328125, + -931.1309814453125 + ], + "linkIds": [ + 43 + ] + }, + { + "id": 34, + "pos": [ + -2212.5966796875, + -901.6292724609375 + ], + "linkIds": [ + 44 + ] + }, + { + "id": 35, + "pos": [ + -4958.37548828125, + -1963.162353515625 + ], + "linkIds": [ + 108 + ] + }, + { + "id": 36, + "parentId": 28, + "pos": [ + -6230.02685546875, + -1001.6381225585938 + ], + "linkIds": [ + 233 + ], + "floating": { + "slotType": "output" + } + }, + { + "id": 45, + "parentId": 63, + "pos": [ + -5985.3623046875, + 963.71630859375 + ], + "linkIds": [ + 179 + ], + "floating": { + "slotType": "output" + } + }, + { + "id": 46, + "pos": [ + -5711.3857421875, + 1860.791259765625 + ], + "linkIds": [ + 167 + ] + }, + { + "id": 47, + "pos": [ + -5738.16552734375, + 1861.3797607421875 + ], + "linkIds": [ + 166 + ] + }, + { + "id": 52, + "pos": [ + -6259.91943359375, + 214.48663330078125 + ], + "linkIds": [ + 189 + ] + }, + { + "id": 53, + "parentId": 52, + "pos": [ + -6849.939453125, + 228.83665466308594 + ], + "linkIds": [ + 189 + ] + }, + { + "id": 54, + "pos": [ + -4442.52685546875, + 685.9124145507812 + ], + "linkIds": [ + 186, + 206 + ] + }, + { + "id": 55, + "parentId": 54, + "pos": [ + -4744.30322265625, + 680.9923706054688 + ], + "linkIds": [ + 186, + 206 + ] + }, + { + "id": 58, + "parentId": 59, + "pos": [ + -5821.1171875, + 546.749267578125 + ], + "linkIds": [ + 194 + ] + }, + { + "id": 59, + "pos": [ + -5688.35498046875, + 557.335693359375 + ], + "linkIds": [ + 194 + ] + }, + { + "id": 60, + "parentId": 61, + "pos": [ + -5836.5703125, + 440.2150573730469 + ], + "linkIds": [ + 202 + ] + }, + { + "id": 61, + "parentId": 62, + "pos": [ + -5832.84716796875, + 632.2886962890625 + ], + "linkIds": [ + 202 + ] + }, + { + "id": 62, + "pos": [ + -5632.9560546875, + 645.1636352539062 + ], + "linkIds": [ + 202 + ] + }, + { + "id": 63, + "parentId": 17, + "pos": [ + -5994.4169921875, + 277.53009033203125 + ], + "linkIds": [ + 179, + 205 + ] + }, + { + "id": 64, + "parentId": 55, + "pos": [ + -4762.88232421875, + 554.5527954101562 + ], + "linkIds": [ + 186, + 206 + ] + }, + { + "id": 65, + "parentId": 63, + "pos": [ + -4962.7314453125, + 271.00506591796875 + ], + "linkIds": [ + 205 + ] + }, + { + "id": 66, + "parentId": 67, + "pos": [ + -6185.79736328125, + -998.6235961914062 + ], + "linkIds": [ + 234 + ] + }, + { + "id": 67, + "pos": [ + -6148.638671875, + -937.9968872070312 + ], + "linkIds": [ + 234 + ] + } + ], + "VHS_latentpreview": false, + "VHS_latentpreviewrate": 0, + "VHS_MetadataImage": true, + "VHS_KeepIntermediate": true, + "linkExtensions": [ + { + "id": 43, + "parentId": 33 + }, + { + "id": 44, + "parentId": 34 + }, + { + "id": 48, + "parentId": 30 + }, + { + "id": 49, + "parentId": 31 + }, + { + "id": 62, + "parentId": 18 + }, + { + "id": 64, + "parentId": 5 + }, + { + "id": 65, + "parentId": 8 + }, + { + "id": 69, + "parentId": 17 + }, + { + "id": 89, + "parentId": 1 + }, + { + "id": 90, + "parentId": 1 + }, + { + "id": 91, + "parentId": 1 + }, + { + "id": 92, + "parentId": 2 + }, + { + "id": 93, + "parentId": 2 + }, + { + "id": 108, + "parentId": 35 + }, + { + "id": 166, + "parentId": 47 + }, + { + "id": 167, + "parentId": 46 + }, + { + "id": 179, + "parentId": 45 + }, + { + "id": 186, + "parentId": 64 + }, + { + "id": 189, + "parentId": 53 + }, + { + "id": 194, + "parentId": 58 + }, + { + "id": 202, + "parentId": 60 + }, + { + "id": 205, + "parentId": 65 + }, + { + "id": 206, + "parentId": 64 + }, + { + "id": 233, + "parentId": 36 + }, + { + "id": 234, + "parentId": 66 + }, + { + "id": 235, + "parentId": 13 + }, + { + "id": 236, + "parentId": 12 + } + ] + }, + "version": 0.4 +} \ No newline at end of file