{
  "id": "6229e165-ce1e-4e4a-9fd3-3bc64af99716",
  "revision": 0,
  "last_node_id": 152,
  "last_link_id": 211,
  "nodes": [
    {
      "id": 85,
      "type": "SetNode",
      "pos": [
        2530,
        1460
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "link": 136
        }
      ],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": []
        }
      ],
      "title": "Set_wan_clip",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "wan_clip"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 65,
      "type": "RMBG",
      "pos": [
        -370,
        1620
      ],
      "size": [
        225.85116577148438,
        290
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 107
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            96
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.4.0",
        "Node name for S&R": "RMBG"
      },
      "widgets_values": [
        "RMBG-2.0",
        1,
        1024,
        0,
        0,
        "white",
        false,
        "default",
        "#ffffff"
      ]
    },
    {
      "id": 66,
      "type": "RMBG",
      "pos": [
        -370,
        1240
      ],
      "size": [
        225.85116577148438,
        290
      ],
      "flags": {},
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 106
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            99
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.4.0",
        "Node name for S&R": "RMBG"
      },
      "widgets_values": [
        "RMBG-2.0",
        1,
        1024,
        0,
        0,
        "white",
        false,
        "default",
        "#ffffff"
      ]
    },
    {
      "id": 102,
      "type": "RMBG",
      "pos": [
        -370,
        2090
      ],
      "size": [
        225.85116577148438,
        290
      ],
      "flags": {},
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 151
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            152
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.4.0",
        "Node name for S&R": "RMBG"
      },
      "widgets_values": [
        "RMBG-2.0",
        1,
        1024,
        0,
        0,
        "white",
        false,
        "default",
        "#ffffff"
      ]
    },
    {
      "id": 96,
      "type": "INTConstant",
      "pos": [
        1390,
        1260
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "value",
          "type": "INT",
          "links": [
            148
          ]
        }
      ],
      "title": "WIDTH",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "INTConstant"
      },
      "widgets_values": [
        1280
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 97,
      "type": "INTConstant",
      "pos": [
        1400,
        1370
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "value",
          "type": "INT",
          "links": [
            149
          ]
        }
      ],
      "title": "HEIGHT",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "INTConstant"
      },
      "widgets_values": [
        720
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 84,
      "type": "SetNode",
      "pos": [
        2510,
        1550
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": 135
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_wan_vae",
      "properties": {
        "previousName": ""
      },
      "widgets_values": [
        "wan_vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 91,
      "type": "GetNode",
      "pos": [
        2580,
        1670
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            141
          ]
        }
      ],
      "title": "Get_wan_clip",
      "properties": {},
      "widgets_values": [
        "wan_clip"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 86,
      "type": "VAELoader",
      "pos": [
        2360,
        1530
      ],
      "size": [
        299.8562316894531,
        58
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            135
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.34",
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "wan_2.1_vae.safetensors"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 83,
      "type": "CLIPLoader",
      "pos": [
        2360,
        1370
      ],
      "size": [
        301.8996887207031,
        106
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            136
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.34",
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "umt5_xxl_fp16.safetensors",
        "wan",
        "default"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 93,
      "type": "Power Lora Loader (rgthree)",
      "pos": [
        2360,
        1630
      ],
      "size": [
        442.84124755859375,
        142
      ],
      "flags": {
        "collapsed": false
      },
      "order": 49,
      "mode": 0,
      "inputs": [
        {
          "dir": 3,
          "name": "model",
          "type": "MODEL",
          "link": 140
        },
        {
          "dir": 3,
          "name": "clip",
          "type": "CLIP",
          "link": 141
        }
      ],
      "outputs": [
        {
          "dir": 4,
          "name": "MODEL",
          "shape": 3,
          "type": "MODEL",
          "links": [
            144
          ]
        },
        {
          "dir": 4,
          "name": "CLIP",
          "shape": 3,
          "type": "CLIP",
          "links": [
            142,
            143
          ]
        }
      ],
      "properties": {
        "cnr_id": "rgthree-comfy",
        "ver": "701cf7888af55a10f74f89a32633794c6ce8bded",
        "Show Strengths": "Single Strength"
      },
      "widgets_values": [
        {},
        {
          "type": "PowerLoraLoaderHeaderWidget"
        },
        {
          "on": true,
          "lora": "Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors",
          "strength": 1,
          "strengthTwo": null
        },
        {},
        ""
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 81,
      "type": "CLIPTextEncode",
      "pos": [
        2860,
        1400
      ],
      "size": [
        442.10498046875,
        150.97500610351562
      ],
      "flags": {},
      "order": 56,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 142
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            132
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.34",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Brilliant tones, overexposed, static, blurred details, subtitles, style, work, painting, picture, still, gray overall, worst quality, low quality, JPEG compression residue, ugly, mutilated, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, morphically deformed limbs, finger fusion, still picture, messy background, three legs, lots of people in the background, walking backwards",
        [
          false,
          true
        ]
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 94,
      "type": "GetNode",
      "pos": [
        3380,
        1730
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            145,
            147
          ]
        }
      ],
      "title": "Get_wan_vae",
      "properties": {},
      "widgets_values": [
        "wan_vae"
      ]
    },
    {
      "id": 79,
      "type": "VAEDecode",
      "pos": [
        3730,
        1690
      ],
      "size": [
        140,
        46
      ],
      "flags": {
        "collapsed": true
      },
      "order": 77,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 121
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 145
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            122,
            123
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 75,
      "type": "WanImageToVideo",
      "pos": [
        3350,
        1700
      ],
      "size": [
        270,
        210
      ],
      "flags": {},
      "order": 73,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 131
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 132
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 147
        },
        {
          "name": "clip_vision_output",
          "shape": 7,
          "type": "CLIP_VISION_OUTPUT",
          "link": 115
        },
        {
          "name": "start_image",
          "shape": 7,
          "type": "IMAGE",
          "link": 133
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 117
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 118
        },
        {
          "name": "length",
          "type": "INT",
          "widget": {
            "name": "length"
          },
          "link": 150
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            129
          ]
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            130
          ]
        },
        {
          "name": "latent",
          "type": "LATENT",
          "links": [
            119,
            125
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "WanImageToVideo"
      },
      "widgets_values": [
        832,
        480,
        129,
        1
      ]
    },
    {
      "id": 74,
      "type": "CLIPVisionEncode",
      "pos": [
        3370,
        1570
      ],
      "size": [
        230.390625,
        78
      ],
      "flags": {},
      "order": 72,
      "mode": 0,
      "inputs": [
        {
          "name": "clip_vision",
          "type": "CLIP_VISION",
          "link": 146
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 134
        }
      ],
      "outputs": [
        {
          "name": "CLIP_VISION_OUTPUT",
          "type": "CLIP_VISION_OUTPUT",
          "links": [
            115
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "CLIPVisionEncode"
      },
      "widgets_values": [
        "none"
      ]
    },
    {
      "id": 78,
      "type": "ModelSamplingSD3",
      "pos": [
        3660,
        1580
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 75,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 127
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            128
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "ModelSamplingSD3"
      },
      "widgets_values": [
        8.000000000000002
      ]
    },
    {
      "id": 80,
      "type": "WanVideoEnhanceAVideoKJ",
      "pos": [
        3660,
        1460
      ],
      "size": [
        266.1216735839844,
        78
      ],
      "flags": {},
      "order": 74,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 144
        },
        {
          "name": "latent",
          "type": "LATENT",
          "link": 125
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            127
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "WanVideoEnhanceAVideoKJ"
      },
      "widgets_values": [
        0.2
      ]
    },
    {
      "id": 89,
      "type": "PatchModelPatcherOrder",
      "pos": [
        3360,
        1440
      ],
      "size": [
        253.69297790527344,
        82
      ],
      "flags": {},
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 137
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            140
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.0",
        "Node name for S&R": "PatchModelPatcherOrder"
      },
      "widgets_values": [
        "weight_patch_first",
        "auto"
      ]
    },
    {
      "id": 90,
      "type": "PathchSageAttentionKJ",
      "pos": [
        3400,
        1340
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 138
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            137
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
        "Node name for S&R": "PathchSageAttentionKJ",
        "widget_ue_connectable": {}
      },
      "widgets_values": [
        "auto"
      ]
    },
    {
      "id": 92,
      "type": "TorchCompileModelWanVideo",
      "pos": [
        3640,
        1240
      ],
      "size": [
        282.74609375,
        178
      ],
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 139
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            138
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.0",
        "Node name for S&R": "TorchCompileModelWanVideo"
      },
      "widgets_values": [
        "inductor",
        false,
        "default",
        false,
        64,
        false
      ]
    },
    {
      "id": 9,
      "type": "ImageConcanate",
      "pos": [
        4120,
        1300
      ],
      "size": [
        315,
        102
      ],
      "flags": {},
      "order": 79,
      "mode": 0,
      "inputs": [
        {
          "label": "图像_1",
          "name": "image1",
          "type": "IMAGE",
          "link": 64
        },
        {
          "label": "图像_2",
          "name": "image2",
          "type": "IMAGE",
          "link": 123
        }
      ],
      "outputs": [
        {
          "label": "图像",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            79
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageConcanate",
        "ttNbgOverride": {
          "bgcolor": "#335",
          "groupcolor": "#88A",
          "color": "#223"
        }
      },
      "widgets_values": [
        "right",
        true
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 60,
      "type": "VHS_VideoCombine",
      "pos": [
        3990,
        1250
      ],
      "size": [
        1196.8399658203125,
        678.9862670898438
      ],
      "flags": {},
      "order": 80,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 79
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "wan_magref_native/video",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": false,
          "params": {
            "filename": "video_00036.mp4",
            "subfolder": "wan_magref_native",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "video_00036.png",
            "fullpath": "/home/ubuntu/user_data/comfyui/outputs/wan_magref_native/video_00036.mp4"
          }
        }
      }
    },
    {
      "id": 88,
      "type": "UNETLoader",
      "pos": [
        2350,
        1250
      ],
      "size": [
        463.6999816894531,
        82
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            139
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.34",
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "Wan2_1-Wan-I2V-MAGREF-14B_fp16_pure.safetensors",
        "fp8_e4m3fn"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 107,
      "type": "Label (rgthree)",
      "pos": [
        2480,
        1050
      ],
      "size": [
        144.5556640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Step 3",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 108,
      "type": "Label (rgthree)",
      "pos": [
        2980,
        1050
      ],
      "size": [
        144.5556640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Step 4",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 109,
      "type": "Label (rgthree)",
      "pos": [
        3520,
        1040
      ],
      "size": [
        144.5556640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Step 5",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 110,
      "type": "Label (rgthree)",
      "pos": [
        5200,
        1100
      ],
      "size": [
        144.5556640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Step 6",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 95,
      "type": "CLIPVisionLoader",
      "pos": [
        2370,
        1820
      ],
      "size": [
        311.1897888183594,
        58
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP_VISION",
          "type": "CLIP_VISION",
          "links": [
            146
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "CLIPVisionLoader"
      },
      "widgets_values": [
        "clip_vision_h.safetensors"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 111,
      "type": "RMBG",
      "pos": [
        -360,
        2550
      ],
      "size": [
        225.85116577148438,
        290
      ],
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 154
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            155
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        },
        {
          "name": "MASK_IMAGE",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-rmbg",
        "ver": "2.4.0",
        "Node name for S&R": "RMBG"
      },
      "widgets_values": [
        "RMBG-2.0",
        1,
        1024,
        0,
        0,
        "white",
        false,
        "default",
        "#ffffff"
      ]
    },
    {
      "id": 64,
      "type": "ImageResizeKJ",
      "pos": [
        -80,
        1690
      ],
      "size": [
        270,
        218
      ],
      "flags": {},
      "order": 45,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 96
        },
        {
          "name": "get_image_size",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 102
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 103
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            161
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        false,
        16,
        0
      ]
    },
    {
      "id": 112,
      "type": "ImageResizeKJ",
      "pos": [
        -80,
        2620
      ],
      "size": [
        270,
        218
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 155
        },
        {
          "name": "get_image_size",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 208
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 209
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            164
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        false,
        16,
        0
      ]
    },
    {
      "id": 103,
      "type": "ImageResizeKJ",
      "pos": [
        -90,
        2160
      ],
      "size": [
        270,
        218
      ],
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 152
        },
        {
          "name": "get_image_size",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 206
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 207
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            163
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        false,
        16,
        0
      ]
    },
    {
      "id": 125,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        1948.9339599609375,
        2305.552734375
      ],
      "size": [
        267.1473388671875,
        82
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "Blue",
        "matchTitle": "",
        "showNav": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "default"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 122,
      "type": "PreviewImage",
      "pos": [
        470,
        1260
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 50,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 170
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 121,
      "type": "PreviewImage",
      "pos": [
        460,
        1660
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 58,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 169
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 119,
      "type": "PreviewImage",
      "pos": [
        480,
        2120
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 60,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 167
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 71,
      "type": "ImageResizeKJ",
      "pos": [
        1640,
        1250
      ],
      "size": [
        210,
        218
      ],
      "flags": {
        "collapsed": false
      },
      "order": 69,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 190
        },
        {
          "name": "get_image_size",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 111
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 112
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            113
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        false,
        16,
        0
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 50,
      "type": "ImageResizeKJv2",
      "pos": [
        1932.7552490234375,
        1265.8138427734375
      ],
      "size": [
        210,
        266
      ],
      "flags": {},
      "order": 70,
      "mode": 0,
      "inputs": [
        {
          "label": "image",
          "name": "image",
          "type": "IMAGE",
          "link": 113
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 148
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 149
        }
      ],
      "outputs": [
        {
          "label": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            62,
            64,
            133,
            134
          ]
        },
        {
          "label": "width",
          "name": "width",
          "type": "INT",
          "links": [
            117
          ]
        },
        {
          "label": "height",
          "name": "height",
          "type": "INT",
          "links": [
            118
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageResizeKJv2",
        "ttNbgOverride": {
          "bgcolor": "#335",
          "groupcolor": "#88A",
          "color": "#223"
        }
      },
      "widgets_values": [
        1280,
        720,
        "nearest-exact",
        "pad",
        "255,255,255",
        "center",
        2,
        "cpu"
      ]
    },
    {
      "id": 51,
      "type": "PreviewImage",
      "pos": [
        1882.4384765625,
        1250
      ],
      "size": [
        397.1695251464844,
        363.654052734375
      ],
      "flags": {},
      "order": 71,
      "mode": 0,
      "inputs": [
        {
          "label": "图像",
          "name": "images",
          "type": "IMAGE",
          "link": 62
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "PreviewImage",
        "ttNbgOverride": {
          "bgcolor": "#335",
          "groupcolor": "#88A",
          "color": "#223"
        }
      },
      "widgets_values": []
    },
    {
      "id": 106,
      "type": "Label (rgthree)",
      "pos": [
        1766.730712890625,
        1040
      ],
      "size": [
        144.5556640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 13,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Step 2",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 128,
      "type": "Label (rgthree)",
      "pos": [
        833.1970825195312,
        1436.1158447265625
      ],
      "size": [
        427.83203125,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 14,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "BRIDGE SECTION",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 130,
      "type": "Note",
      "pos": [
        931.99609375,
        1559.5889892578125
      ],
      "size": [
        210,
        88
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Use this route node if you want to use 1 image only, use this route node and reconnects to Step 2"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 123,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        -1152.76708984375,
        1559.731689453125
      ],
      "size": [
        267.1473388671875,
        82
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "Blue",
        "matchTitle": "",
        "showNav": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "default"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 124,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        5551.720703125,
        1565.0965576171875
      ],
      "size": [
        267.1473388671875,
        82
      ],
      "flags": {},
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "Blue",
        "matchTitle": "",
        "showNav": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "default"
      },
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 98,
      "type": "INTConstant",
      "pos": [
        1400,
        1470
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "value",
          "type": "INT",
          "links": [
            150
          ]
        }
      ],
      "title": "FRAMES",
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "INTConstant"
      },
      "widgets_values": [
        81
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 105,
      "type": "Label (rgthree)",
      "pos": [
        -138.88888549804688,
        1024.44482421875
      ],
      "size": [
        144.5556640625,
        50
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Step 1",
      "properties": {
        "fontSize": 50,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 113,
      "type": "LoadImage",
      "pos": [
        -780,
        2510
      ],
      "size": [
        383.535400390625,
        381.52081298828125
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            154
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject 4",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "woman-6569972_1280.jpg",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 141,
      "type": "PreviewImage",
      "pos": [
        199.70236206054688,
        3093.261962890625
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 63,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 187
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 143,
      "type": "Note",
      "pos": [
        -335.7398376464844,
        2985.01123046875
      ],
      "size": [
        214.37257385253906,
        88
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Load Image for your desired Background\n"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 131,
      "type": "Note",
      "pos": [
        943.1990966796875,
        1806.964111328125
      ],
      "size": [
        212.8273162841797,
        113.44585418701172
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "Use this route node if you want to use multiple image, use this image concatenate node and reconnects to Step 2\n\nSet the number of input and click update inputs button"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 145,
      "type": "Note",
      "pos": [
        -1143.990966796875,
        1692.519775390625
      ],
      "size": [
        256.4383239746094,
        124.81956481933594
      ],
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "You can disable first the 2nd Group Node, so you can test first the brightness or saturation each of the input image before you can run full run of workflow\n\nDifferent tone of brightness/saturation of each image may lead to uneven color at the output."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 146,
      "type": "Note",
      "pos": [
        1959.273193359375,
        2439.56787109375
      ],
      "size": [
        256.4383239746094,
        124.81956481933594
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "You can disable first the 2nd Group Node, so you can test first the brightness or saturation each of the input image before you can run full run of workflow\n\nDifferent tone of brightness/saturation of each image may lead to uneven color at the output."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 147,
      "type": "Note",
      "pos": [
        5557.546875,
        1694.0362548828125
      ],
      "size": [
        256.4383239746094,
        124.81956481933594
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "You can disable first the 2nd Group Node, so you can test first the brightness or saturation each of the input image before you can run full run of workflow\n\nDifferent tone of brightness/saturation of each image may lead to uneven color at the output."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 72,
      "type": "GetImageSize",
      "pos": [
        1656.33447265625,
        1513.9547119140625
      ],
      "size": [
        140,
        124
      ],
      "flags": {
        "collapsed": false
      },
      "order": 68,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 189
        }
      ],
      "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.41",
        "Node name for S&R": "GetImageSize"
      },
      "widgets_values": [
        "width: 3072, height: 576\n batch size: 1"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 148,
      "type": "Reroute",
      "pos": [
        1236.2337646484375,
        1735.038818359375
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 67,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 199
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            189
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 152,
      "type": "Label (rgthree)",
      "pos": [
        1236.9642333984375,
        1709.95068359375
      ],
      "size": [
        120.05859375,
        15
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 26,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "to Get Image Size",
      "properties": {
        "fontSize": 15,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 149,
      "type": "Reroute",
      "pos": [
        1232.9608154296875,
        1619.8604736328125
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 66,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 198
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            190
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 151,
      "type": "Label (rgthree)",
      "pos": [
        1237.439453125,
        1594.8804931640625
      ],
      "size": [
        108.3837890625,
        15
      ],
      "flags": {
        "allow_interaction": true
      },
      "order": 27,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "to Resize Image",
      "properties": {
        "fontSize": 15,
        "fontFamily": "Arial",
        "fontColor": "#ffffff",
        "textAlign": "left",
        "backgroundColor": "transparent",
        "padding": 0,
        "borderRadius": 0
      },
      "color": "#fff0",
      "bgcolor": "#fff0"
    },
    {
      "id": 59,
      "type": "VHS_VideoCombine",
      "pos": [
        5290,
        1240
      ],
      "size": [
        1196.8399658203125,
        94
      ],
      "flags": {
        "collapsed": true
      },
      "order": 78,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 122
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "meta_batch",
          "shape": 7,
          "type": "VHS_BatchManager",
          "link": null
        },
        {
          "name": "vae",
          "shape": 7,
          "type": "VAE",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "Filenames",
          "type": "VHS_FILENAMES",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-videohelpersuite",
        "ver": "0a75c7958fe320efcb052f1d9f8451fd20c730a8",
        "Node name for S&R": "VHS_VideoCombine"
      },
      "widgets_values": {
        "frame_rate": 24,
        "loop_count": 0,
        "filename_prefix": "wan_native",
        "format": "video/h264-mp4",
        "pix_fmt": "yuv420p",
        "crf": 19,
        "save_metadata": true,
        "trim_to_audio": false,
        "pingpong": false,
        "save_output": true,
        "videopreview": {
          "hidden": false,
          "paused": true,
          "params": {
            "filename": "wan_native_00035.mp4",
            "subfolder": "",
            "type": "output",
            "format": "video/h264-mp4",
            "frame_rate": 24,
            "workflow": "wan_native_00035.png",
            "fullpath": "/home/ubuntu/user_data/comfyui/outputs/wan_native_00035.mp4"
          }
        }
      }
    },
    {
      "id": 77,
      "type": "KSampler",
      "pos": [
        3660,
        1680
      ],
      "size": [
        256.3157958984375,
        262
      ],
      "flags": {},
      "order": 76,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 128
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 129
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 130
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 119
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            121
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        403339728745200,
        "randomize",
        5,
        1,
        "euler",
        "simple",
        1
      ]
    },
    {
      "id": 116,
      "type": "JDC_Contrast",
      "pos": [
        220,
        1740
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 52,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 161
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            169,
            195
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-plasma",
        "ver": "c63555fec40a7dddb36c99aa603e817abab3abdb",
        "Node name for S&R": "JDC_Contrast"
      },
      "widgets_values": [
        1,
        1.2000000000000002
      ]
    },
    {
      "id": 104,
      "type": "Reroute",
      "pos": [
        780,
        1990
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 59,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 195
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            197
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 140,
      "type": "JDC_Contrast",
      "pos": [
        -51.807682037353516,
        3113.505859375
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 55,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 186
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            187,
            200
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-plasma",
        "ver": "c63555fec40a7dddb36c99aa603e817abab3abdb",
        "Node name for S&R": "JDC_Contrast"
      },
      "widgets_values": [
        1,
        0.9000000000000001
      ]
    },
    {
      "id": 142,
      "type": "Reroute",
      "pos": [
        780,
        2070
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 64,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 200
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 120,
      "type": "PreviewImage",
      "pos": [
        463.4710693359375,
        2589.182373046875
      ],
      "size": [
        140,
        246
      ],
      "flags": {},
      "order": 62,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 168
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.40",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 139,
      "type": "LoadImage",
      "pos": [
        -775.9491577148438,
        2948.125732421875
      ],
      "size": [
        383.535400390625,
        381.52081298828125
      ],
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            185
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Background Image",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "workplace-5517755_1280.jpg",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 127,
      "type": "Reroute",
      "pos": [
        1007.9550170898438,
        1663.8193359375
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "*",
          "links": []
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 126,
      "type": "Reroute",
      "pos": [
        781.0366821289062,
        1932.3760986328125
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 51,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 203
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            196
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 115,
      "type": "JDC_Contrast",
      "pos": [
        240,
        1340
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 159
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            170,
            203
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-plasma",
        "ver": "c63555fec40a7dddb36c99aa603e817abab3abdb",
        "Node name for S&R": "JDC_Contrast"
      },
      "widgets_values": [
        1,
        1.1000000000000003
      ]
    },
    {
      "id": 63,
      "type": "ImageConcatMulti",
      "pos": [
        946.2734375,
        1963.7606201171875
      ],
      "size": [
        210,
        190
      ],
      "flags": {},
      "order": 65,
      "mode": 0,
      "inputs": [
        {
          "name": "image_1",
          "type": "IMAGE",
          "link": 196
        },
        {
          "name": "image_2",
          "type": "IMAGE",
          "link": 197
        },
        {
          "name": "image_3",
          "type": "IMAGE",
          "link": 204
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            198,
            199
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1"
      },
      "widgets_values": [
        3,
        "right",
        true,
        null
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 114,
      "type": "Reroute",
      "pos": [
        780,
        2030
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 61,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 205
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            204
          ]
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 68,
      "type": "LoadImage",
      "pos": [
        -781,
        1200
      ],
      "size": [
        366.5994567871094,
        367.8844299316406
      ],
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            106
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject 1",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "example_image_donkey_surfing_ice.jpg",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 118,
      "type": "JDC_Contrast",
      "pos": [
        224.4806365966797,
        2604.8232421875
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 54,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 164
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            168
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-plasma",
        "ver": "c63555fec40a7dddb36c99aa603e817abab3abdb",
        "Node name for S&R": "JDC_Contrast"
      },
      "widgets_values": [
        1,
        0.9000000000000001
      ]
    },
    {
      "id": 117,
      "type": "JDC_Contrast",
      "pos": [
        230,
        2190
      ],
      "size": [
        210,
        82
      ],
      "flags": {},
      "order": 53,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 163
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            167,
            205
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-plasma",
        "ver": "c63555fec40a7dddb36c99aa603e817abab3abdb",
        "Node name for S&R": "JDC_Contrast"
      },
      "widgets_values": [
        1,
        0.9000000000000001
      ]
    },
    {
      "id": 67,
      "type": "LayerUtility: ImageScaleByAspectRatio V2",
      "pos": [
        -90,
        1230
      ],
      "size": [
        303.6851501464844,
        330
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 99
        },
        {
          "name": "mask",
          "shape": 7,
          "type": "MASK",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            159
          ]
        },
        {
          "name": "mask",
          "type": "MASK",
          "links": null
        },
        {
          "name": "original_size",
          "type": "BOX",
          "links": null
        },
        {
          "name": "width",
          "type": "INT",
          "links": [
            102,
            206,
            208,
            210
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            103,
            207,
            209,
            211
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_layerstyle",
        "ver": "c0fb64d0ebcb81c6c445a8af79ecee24bc3845b0",
        "Node name for S&R": "LayerUtility: ImageScaleByAspectRatio V2"
      },
      "widgets_values": [
        "original",
        1,
        1,
        "letterbox",
        "lanczos",
        "16",
        "longest",
        1024,
        "#000000"
      ],
      "color": "rgba(38, 73, 116, 0.7)"
    },
    {
      "id": 138,
      "type": "ImageResizeKJ",
      "pos": [
        -336.3413391113281,
        3112.13525390625
      ],
      "size": [
        270,
        218
      ],
      "flags": {},
      "order": 48,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 185
        },
        {
          "name": "get_image_size",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 210
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 211
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            186
          ]
        },
        {
          "name": "width",
          "type": "INT",
          "links": null
        },
        {
          "name": "height",
          "type": "INT",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfyui-kjnodes",
        "ver": "1.1.1",
        "Node name for S&R": "ImageResizeKJ"
      },
      "widgets_values": [
        512,
        512,
        "lanczos",
        false,
        16,
        0
      ]
    },
    {
      "id": 144,
      "type": "Note",
      "pos": [
        950.2724609375,
        2203.312255859375
      ],
      "size": [
        212.8273162841797,
        113.44585418701172
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "The limit of input is only 4\n\nIf you used beyond it, the workflow with result to Out of Memory "
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 69,
      "type": "LoadImage",
      "pos": [
        -790,
        1620
      ],
      "size": [
        383.535400390625,
        381.52081298828125
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            107
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject 2",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "cat-7891208_1280.jpg",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 101,
      "type": "LoadImage",
      "pos": [
        -790,
        2050
      ],
      "size": [
        383.535400390625,
        381.52081298828125
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            151
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "title": "Load Subject 3",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.41",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "American_Eskimo_Dog_1-2789178-1024x870.jpeg",
        "image"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 82,
      "type": "CLIPTextEncode",
      "pos": [
        2860,
        1240
      ],
      "size": [
        436.2916259765625,
        105.04425811767578
      ],
      "flags": {},
      "order": 57,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 143
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            131
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.3.34",
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "A donkey, orange cat and a white dog walking at the farm.",
        [
          false,
          true
        ]
      ],
      "color": "#232",
      "bgcolor": "#353"
    }
  ],
  "links": [
    [
      62,
      50,
      0,
      51,
      0,
      "IMAGE"
    ],
    [
      64,
      50,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      79,
      9,
      0,
      60,
      0,
      "IMAGE"
    ],
    [
      96,
      65,
      0,
      64,
      0,
      "IMAGE"
    ],
    [
      99,
      66,
      0,
      67,
      0,
      "IMAGE"
    ],
    [
      102,
      67,
      3,
      64,
      2,
      "INT"
    ],
    [
      103,
      67,
      4,
      64,
      3,
      "INT"
    ],
    [
      106,
      68,
      0,
      66,
      0,
      "IMAGE"
    ],
    [
      107,
      69,
      0,
      65,
      0,
      "IMAGE"
    ],
    [
      111,
      72,
      0,
      71,
      2,
      "INT"
    ],
    [
      112,
      72,
      1,
      71,
      3,
      "INT"
    ],
    [
      113,
      71,
      0,
      50,
      0,
      "IMAGE"
    ],
    [
      115,
      74,
      0,
      75,
      3,
      "CLIP_VISION_OUTPUT"
    ],
    [
      117,
      50,
      1,
      75,
      5,
      "INT"
    ],
    [
      118,
      50,
      2,
      75,
      6,
      "INT"
    ],
    [
      119,
      75,
      2,
      77,
      3,
      "LATENT"
    ],
    [
      121,
      77,
      0,
      79,
      0,
      "LATENT"
    ],
    [
      122,
      79,
      0,
      59,
      0,
      "IMAGE"
    ],
    [
      123,
      79,
      0,
      9,
      1,
      "IMAGE"
    ],
    [
      125,
      75,
      2,
      80,
      1,
      "LATENT"
    ],
    [
      127,
      80,
      0,
      78,
      0,
      "MODEL"
    ],
    [
      128,
      78,
      0,
      77,
      0,
      "MODEL"
    ],
    [
      129,
      75,
      0,
      77,
      1,
      "CONDITIONING"
    ],
    [
      130,
      75,
      1,
      77,
      2,
      "CONDITIONING"
    ],
    [
      131,
      82,
      0,
      75,
      0,
      "CONDITIONING"
    ],
    [
      132,
      81,
      0,
      75,
      1,
      "CONDITIONING"
    ],
    [
      133,
      50,
      0,
      75,
      4,
      "IMAGE"
    ],
    [
      134,
      50,
      0,
      74,
      1,
      "IMAGE"
    ],
    [
      135,
      86,
      0,
      84,
      0,
      "*"
    ],
    [
      136,
      83,
      0,
      85,
      0,
      "*"
    ],
    [
      137,
      90,
      0,
      89,
      0,
      "MODEL"
    ],
    [
      138,
      92,
      0,
      90,
      0,
      "MODEL"
    ],
    [
      139,
      88,
      0,
      92,
      0,
      "MODEL"
    ],
    [
      140,
      89,
      0,
      93,
      0,
      "MODEL"
    ],
    [
      141,
      91,
      0,
      93,
      1,
      "CLIP"
    ],
    [
      142,
      93,
      1,
      81,
      0,
      "CLIP"
    ],
    [
      143,
      93,
      1,
      82,
      0,
      "CLIP"
    ],
    [
      144,
      93,
      0,
      80,
      0,
      "MODEL"
    ],
    [
      145,
      94,
      0,
      79,
      1,
      "VAE"
    ],
    [
      146,
      95,
      0,
      74,
      0,
      "CLIP_VISION"
    ],
    [
      147,
      94,
      0,
      75,
      2,
      "VAE"
    ],
    [
      148,
      96,
      0,
      50,
      1,
      "INT"
    ],
    [
      149,
      97,
      0,
      50,
      2,
      "INT"
    ],
    [
      150,
      98,
      0,
      75,
      7,
      "INT"
    ],
    [
      151,
      101,
      0,
      102,
      0,
      "IMAGE"
    ],
    [
      152,
      102,
      0,
      103,
      0,
      "IMAGE"
    ],
    [
      154,
      113,
      0,
      111,
      0,
      "IMAGE"
    ],
    [
      155,
      111,
      0,
      112,
      0,
      "IMAGE"
    ],
    [
      159,
      67,
      0,
      115,
      0,
      "IMAGE"
    ],
    [
      161,
      64,
      0,
      116,
      0,
      "IMAGE"
    ],
    [
      163,
      103,
      0,
      117,
      0,
      "IMAGE"
    ],
    [
      164,
      112,
      0,
      118,
      0,
      "IMAGE"
    ],
    [
      167,
      117,
      0,
      119,
      0,
      "IMAGE"
    ],
    [
      168,
      118,
      0,
      120,
      0,
      "IMAGE"
    ],
    [
      169,
      116,
      0,
      121,
      0,
      "IMAGE"
    ],
    [
      170,
      115,
      0,
      122,
      0,
      "IMAGE"
    ],
    [
      185,
      139,
      0,
      138,
      0,
      "IMAGE"
    ],
    [
      186,
      138,
      0,
      140,
      0,
      "IMAGE"
    ],
    [
      187,
      140,
      0,
      141,
      0,
      "IMAGE"
    ],
    [
      189,
      148,
      0,
      72,
      0,
      "IMAGE"
    ],
    [
      190,
      149,
      0,
      71,
      0,
      "IMAGE"
    ],
    [
      195,
      116,
      0,
      104,
      0,
      "*"
    ],
    [
      196,
      126,
      0,
      63,
      0,
      "IMAGE"
    ],
    [
      197,
      104,
      0,
      63,
      1,
      "IMAGE"
    ],
    [
      198,
      63,
      0,
      149,
      0,
      "*"
    ],
    [
      199,
      63,
      0,
      148,
      0,
      "*"
    ],
    [
      200,
      140,
      0,
      142,
      0,
      "*"
    ],
    [
      203,
      115,
      0,
      126,
      0,
      "*"
    ],
    [
      204,
      114,
      0,
      63,
      2,
      "IMAGE"
    ],
    [
      205,
      117,
      0,
      114,
      0,
      "*"
    ],
    [
      206,
      67,
      3,
      103,
      2,
      "INT"
    ],
    [
      207,
      67,
      4,
      103,
      3,
      "INT"
    ],
    [
      208,
      67,
      3,
      112,
      2,
      "INT"
    ],
    [
      209,
      67,
      4,
      112,
      3,
      "INT"
    ],
    [
      210,
      67,
      3,
      138,
      2,
      "INT"
    ],
    [
      211,
      67,
      4,
      138,
      3,
      "INT"
    ]
  ],
  "groups": [
    {
      "id": 3,
      "title": "Set Input Settings",
      "bounding": [
        1380,
        1170,
        922.2734375,
        449.6297912597656
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 4,
      "title": "Set Models",
      "bounding": [
        2340,
        1170,
        483.699951171875,
        724.16845703125
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 6,
      "title": "Check Sampling",
      "bounding": [
        3340,
        1170,
        599.309814453125,
        785.9649658203125
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 7,
      "title": "Write Prompt",
      "bounding": [
        2850,
        1170,
        462.10498046875,
        395.7428283691406
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 8,
      "title": "Check Output",
      "bounding": [
        3980,
        1180,
        1219.5994873046875,
        937.7940673828125
      ],
      "color": "#3f789e",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 9,
      "title": "1st Group",
      "bounding": [
        -800,
        1126.4000244140625,
        1430,
        2222.862060546875
      ],
      "color": "#88A",
      "font_size": 24,
      "flags": {}
    },
    {
      "id": 10,
      "title": "2nd Group",
      "bounding": [
        1370,
        1120,
        4126.8662109375,
        1000.6810302734375
      ],
      "color": "#88A",
      "font_size": 24,
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.4090909090909193,
      "offset": [
        2406.7043156294844,
        -943.4025098655591
      ]
    },
    "frontendVersion": "1.21.7",
    "ue_links": [],
    "0246.VERSION": [
      0,
      0,
      4
    ],
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}