Skip to content

Instantly share code, notes, and snippets.

@De-Zoomer
Created May 29, 2025 18:45
Show Gist options
  • Save De-Zoomer/72d0003c1e64550875d682710ea79fd1 to your computer and use it in GitHub Desktop.
Save De-Zoomer/72d0003c1e64550875d682710ea79fd1 to your computer and use it in GitHub Desktop.
Wan VACE Face Swap
{
"id": "e75b8d14-6c1e-4984-840d-ea260fda6759",
"revision": 0,
"last_node_id": 1698,
"last_link_id": 3003,
"nodes": [
{
"id": 759,
"type": "GetNode",
"pos": [13560, 470],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "INT", "type": "INT", "links": [1436, 1439, 1452] }
],
"title": "Get_originalVideoFrames",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["originalVideoFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 761,
"type": "GetNode",
"pos": [13560, 500],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "IMAGE", "type": "IMAGE", "links": [1438, 1451, 1526] }
],
"title": "Get_originalVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["originalVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 766,
"type": "ColorMatch",
"pos": [13900, 850],
"size": [300, 102],
"flags": { "collapsed": false },
"order": 164,
"mode": 0,
"inputs": [
{
"localized_name": "image_ref",
"name": "image_ref",
"type": "IMAGE",
"link": 1453
},
{
"localized_name": "image_target",
"name": "image_target",
"type": "IMAGE",
"link": 1842
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": { "name": "method" },
"link": null
},
{
"localized_name": "strength",
"name": "strength",
"shape": 7,
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"slot_index": 0,
"links": [1455]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
"Node name for S&R": "ColorMatch",
"widget_ue_connectable": { "method": true, "strength": true }
},
"widgets_values": ["hm-mvgd-hm", 1.0000000000000002]
},
{
"id": 903,
"type": "GetNode",
"pos": [3500, 1540],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "STRING", "type": "STRING", "links": [1713] }],
"title": "Get_positivePrompt",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["positivePrompt"]
},
{
"id": 721,
"type": "SetNode",
"pos": [4750, 2340],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 132,
"mode": 0,
"inputs": [{ "name": "WANVAE", "type": "WANVAE", "link": 1382 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_vae",
"properties": { "previousName": "vae", "widget_ue_connectable": {} },
"widgets_values": ["vae"]
},
{
"id": 971,
"type": "SetNode",
"pos": [4750, 2310],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 168,
"mode": 0,
"inputs": [
{
"name": "WANVIDEOTEXTEMBEDS",
"type": "WANVIDEOTEXTEMBEDS",
"link": 1830
}
],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_textEmbeds",
"properties": {
"previousName": "textEmbeds",
"widget_ue_connectable": {}
},
"widgets_values": ["textEmbeds"]
},
{
"id": 732,
"type": "GetNode",
"pos": [12610, 450],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [1395] }],
"title": "Get_originalVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["originalVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 981,
"type": "SetNode",
"pos": [12980, 1210],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 259,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 1840 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_upscaledWidth",
"properties": {
"previousName": "upscaledWidth",
"widget_ue_connectable": {}
},
"widgets_values": ["upscaledWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 982,
"type": "SetNode",
"pos": [12980, 1240],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 260,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 1841 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_upscaledHeight",
"properties": {
"previousName": "upscaledHeight",
"widget_ue_connectable": {}
},
"widgets_values": ["upscaledHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 675,
"type": "GetImageSizeAndCount",
"pos": [13250, 450],
"size": [220, 86],
"flags": {},
"order": 247,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1298
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [1302, 1839]
},
{
"label": "3816 width",
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [1840]
},
{
"label": "2160 height",
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [1841]
},
{
"label": "60 count",
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageSizeAndCount",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 762,
"type": "VHS_VideoCombine",
"pos": [14220, 440],
"size": [570, 657.375],
"flags": { "collapsed": false },
"order": 219,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 1466
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2408
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 23.967,
"loop_count": 0,
"filename_prefix": "%date:yyyy-MM-dd%/%date:hhmmss%_video_final",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 9,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "191544_video_final_00001.mp4",
"subfolder": "2025-05-29",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "191544_video_final_00001.png",
"fullpath": ""
}
}
}
},
{
"id": 989,
"type": "GetNode",
"pos": [15020, 520],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [1849] }],
"title": "Get_resizedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 990,
"type": "GetNode",
"pos": [15020, 490],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [1848] }],
"title": "Get_resizedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 694,
"type": "SetNode",
"pos": [4070, 950],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 235,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 1593 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_resizedVideo",
"properties": {
"previousName": "resizedVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["resizedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 987,
"type": "GetNode",
"pos": [15020, 460],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [1850] }],
"title": "Get_finalVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["finalVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 992,
"type": "Bookmark (rgthree)",
"pos": [7950, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["3", 0.7]
},
{
"id": 731,
"type": "GetNode",
"pos": [12610, 420],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [1394] }],
"title": "Get_renderedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["renderedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 642,
"type": "INTConstant",
"pos": [3500, 560],
"size": [210, 58],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"widget": { "name": "value" },
"link": null
}
],
"outputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"links": [1327]
}
],
"title": "Height",
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "366b866f8ebf501e84f316ab313d489e3f5cd94d",
"Node name for S&R": "INTConstant",
"widget_ue_connectable": { "value": true }
},
"widgets_values": [480],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1188,
"type": "SetNode",
"pos": [11430, 1200],
"size": [213.99081420898438, 60],
"flags": { "collapsed": true },
"order": 174,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2163 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_stitchedRenderedVideo",
"properties": {
"previousName": "stitchedRenderedVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["stitchedRenderedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1189,
"type": "GetNode",
"pos": [11740, 430],
"size": [215.54257202148438, 60],
"flags": { "collapsed": true },
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2134] }],
"title": "Get_stitchedRenderedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["stitchedRenderedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1187,
"type": "SetNode",
"pos": [10550, 1890],
"size": [216.33554077148438, 60],
"flags": { "collapsed": true },
"order": 266,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2133 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_croppedRenderedVideo",
"properties": {
"previousName": "croppedRenderedVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["croppedRenderedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 991,
"type": "Bookmark (rgthree)",
"pos": [9980, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["4", 0.65]
},
{
"id": 1229,
"type": "Bookmark (rgthree)",
"pos": [11340, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 12,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["5", 0.65]
},
{
"id": 993,
"type": "Bookmark (rgthree)",
"pos": [12580, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 13,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["6", 0.7]
},
{
"id": 996,
"type": "Bookmark (rgthree)",
"pos": [14990, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["7", 1]
},
{
"id": 983,
"type": "GetNode",
"pos": [13560, 530],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [1842] }],
"title": "Get_upscaledVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["upscaledVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 985,
"type": "GetNode",
"pos": [13560, 560],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [1843, 1845] }],
"title": "Get_upscaledWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["upscaledWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 969,
"type": "SetNode",
"pos": [4100, 1400],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 161,
"mode": 0,
"inputs": [{ "name": "STRING", "type": "STRING", "link": 1828 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_positivePrompt",
"properties": {
"previousName": "positivePrompt",
"widget_ue_connectable": {}
},
"widgets_values": ["positivePrompt"]
},
{
"id": 574,
"type": "ColorMatch",
"pos": [11740, 1030],
"size": [300, 102],
"flags": { "collapsed": false },
"order": 187,
"mode": 0,
"inputs": [
{
"localized_name": "image_ref",
"name": "image_ref",
"type": "IMAGE",
"link": 1419
},
{
"localized_name": "image_target",
"name": "image_target",
"type": "IMAGE",
"link": 2135
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": { "name": "method" },
"link": null
},
{
"localized_name": "strength",
"name": "strength",
"shape": 7,
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"slot_index": 0,
"links": [1427, 1428]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "a5bd3c86c8ed6b83c55c2d0e7a59515b15a0137f",
"Node name for S&R": "ColorMatch",
"widget_ue_connectable": { "method": true, "strength": true }
},
"widgets_values": ["hm-mvgd-hm", 1.0000000000000002]
},
{
"id": 750,
"type": "GetImageRangeFromBatch",
"pos": [11750, 870],
"size": [300, 102],
"flags": { "collapsed": false },
"order": 158,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 2214
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": null
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 2216
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1419]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 1221,
"type": "GetNode",
"pos": [11740, 460],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 17,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2214] }],
"title": "Get_resizedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 997,
"type": "WanVideoVACEModelSelect",
"pos": [3940, 1990],
"size": [380, 58],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "vace_model",
"name": "vace_model",
"type": "COMBO",
"widget": { "name": "vace_model" },
"link": null
}
],
"outputs": [
{
"localized_name": "vace_model",
"name": "vace_model",
"type": "VACEPATH",
"links": [1852]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "78559ef1f4462e57fec77dd6a0c2315da08f6f1f",
"Node name for S&R": "WanVideoVACEModelSelect",
"widget_ue_connectable": { "vace_model": true }
},
"widgets_values": ["wanvideo\\Wan2_1-VACE_module_14B_bf16.safetensors"]
},
{
"id": 382,
"type": "LoadWanVideoT5TextEncoder",
"pos": [3950, 2100],
"size": [370, 130],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": { "name": "model_name" },
"link": null
},
{
"localized_name": "precision",
"name": "precision",
"type": "COMBO",
"widget": { "name": "precision" },
"link": null
},
{
"localized_name": "load_device",
"name": "load_device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "load_device" },
"link": null
},
{
"localized_name": "quantization",
"name": "quantization",
"shape": 7,
"type": "COMBO",
"widget": { "name": "quantization" },
"link": null
}
],
"outputs": [
{
"label": "wan_t5_model",
"localized_name": "wan_t5_model",
"name": "wan_t5_model",
"type": "WANTEXTENCODER",
"links": [665]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "LoadWanVideoT5TextEncoder",
"widget_ue_connectable": {
"model_name": true,
"precision": true,
"load_device": true,
"quantization": true
}
},
"widgets_values": [
"umt5-xxl-enc-bf16.safetensors",
"bf16",
"offload_device",
"disabled"
]
},
{
"id": 384,
"type": "WanVideoTorchCompileSettings",
"pos": [3930, 1540],
"size": [400, 202],
"flags": { "collapsed": false },
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "backend",
"name": "backend",
"type": "COMBO",
"widget": { "name": "backend" },
"link": null
},
{
"localized_name": "fullgraph",
"name": "fullgraph",
"type": "BOOLEAN",
"widget": { "name": "fullgraph" },
"link": null
},
{
"localized_name": "mode",
"name": "mode",
"type": "COMBO",
"widget": { "name": "mode" },
"link": null
},
{
"localized_name": "dynamic",
"name": "dynamic",
"type": "BOOLEAN",
"widget": { "name": "dynamic" },
"link": null
},
{
"localized_name": "dynamo_cache_size_limit",
"name": "dynamo_cache_size_limit",
"type": "INT",
"widget": { "name": "dynamo_cache_size_limit" },
"link": null
},
{
"localized_name": "compile_transformer_blocks_only",
"name": "compile_transformer_blocks_only",
"type": "BOOLEAN",
"widget": { "name": "compile_transformer_blocks_only" },
"link": null
},
{
"localized_name": "dynamo_recompile_limit",
"name": "dynamo_recompile_limit",
"shape": 7,
"type": "INT",
"widget": { "name": "dynamo_recompile_limit" },
"link": null
}
],
"outputs": [
{
"localized_name": "torch_compile_args",
"name": "torch_compile_args",
"type": "WANCOMPILEARGS",
"links": [666]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "WanVideoTorchCompileSettings",
"widget_ue_connectable": {
"backend": true,
"fullgraph": true,
"mode": true,
"dynamic": true,
"dynamo_cache_size_limit": true,
"compile_transformer_blocks_only": true,
"dynamo_recompile_limit": true
}
},
"widgets_values": ["inductor", false, "default", false, 64, true, 128]
},
{
"id": 385,
"type": "WanVideoVAELoader",
"pos": [4470, 2120],
"size": [390, 82],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": { "name": "model_name" },
"link": null
},
{
"localized_name": "precision",
"name": "precision",
"shape": 7,
"type": "COMBO",
"widget": { "name": "precision" },
"link": null
}
],
"outputs": [
{
"localized_name": "vae",
"name": "vae",
"type": "WANVAE",
"links": [1382]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "b415fe78f152e3361b6e37e47074c1a0dc386a8e",
"Node name for S&R": "WanVideoVAELoader",
"widget_ue_connectable": { "model_name": true, "precision": true }
},
"widgets_values": ["wanvideo\\Wan2_1_VAE_bf16.safetensors", "bf16"]
},
{
"id": 970,
"type": "SetNode",
"pos": [4750, 2280],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 211,
"mode": 0,
"inputs": [
{ "name": "WANVIDEOMODEL", "type": "WANVIDEOMODEL", "link": 1829 }
],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_model",
"properties": { "previousName": "model", "widget_ue_connectable": {} },
"widgets_values": ["model"]
},
{
"id": 1110,
"type": "ImageRemoveBackground+",
"pos": [4350, 1110],
"size": [270, 46],
"flags": {},
"order": 180,
"mode": 0,
"inputs": [
{
"localized_name": "rembg_session",
"name": "rembg_session",
"type": "REMBG_SESSION",
"link": 2025
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2320
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2027]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"Node name for S&R": "ImageRemoveBackground+",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1108,
"type": "LoadImage",
"pos": [4380, 510],
"size": [220, 326],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": { "name": "image" },
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": { "name": "upload" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [2029]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": []
}
],
"title": "First Frame",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.15",
"Node name for S&R": "LoadImage",
"widget_ue_connectable": { "image": true, "upload": true }
},
"widgets_values": ["1.jpg", "image"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 784,
"type": "JWMaskResize",
"pos": [13890, 650],
"size": [315, 106],
"flags": {},
"order": 169,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 1516
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 1844
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 1843
},
{
"localized_name": "interpolation_mode",
"name": "interpolation_mode",
"type": "COMBO",
"widget": { "name": "interpolation_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [1519]
}
],
"properties": {
"cnr_id": "comfyui-various",
"ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
"Node name for S&R": "JWMaskResize",
"widget_ue_connectable": {}
},
"widgets_values": [512, 512, "bicubic"]
},
{
"id": 755,
"type": "ImageCompositeMasked",
"pos": [13890, 1020],
"size": [315, 146],
"flags": {},
"order": 193,
"mode": 0,
"inputs": [
{
"localized_name": "destination",
"name": "destination",
"type": "IMAGE",
"link": 1468
},
{
"localized_name": "source",
"name": "source",
"type": "IMAGE",
"link": 1455
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 1519
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": { "name": "x" },
"link": 1532
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": { "name": "y" },
"link": 2364
},
{
"localized_name": "resize_source",
"name": "resize_source",
"type": "BOOLEAN",
"widget": { "name": "resize_source" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [1466, 1846]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.29",
"Node name for S&R": "ImageCompositeMasked",
"widget_ue_connectable": { "x": true, "y": true, "resize_source": true }
},
"widgets_values": [0, 0, false]
},
{
"id": 758,
"type": "GetImageRangeFromBatch",
"pos": [13900, 450],
"size": [300, 102],
"flags": {},
"order": 133,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": 1465
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": null
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 1436
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [1516]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 984,
"type": "GetNode",
"pos": [13560, 590],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 23,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [1844, 2362] }],
"title": "Get_upscaledHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["upscaledHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1182,
"type": "SetNode",
"pos": [7160, 1160],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 196,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2212 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_croppedVideo",
"properties": {
"previousName": "croppedVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["croppedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1114,
"type": "ImageResizeKJv2",
"pos": [4670, 430],
"size": [260, 266],
"flags": {},
"order": 148,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2029
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2393
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2394
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2320]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"resize",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1366,
"type": "Note",
"pos": [6830, 1630],
"size": [210, 88],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Get combined mask bounding box (width and height only) from first frame only. All frames have the same size anyway."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1351,
"type": "SetNode",
"pos": [7580, 2060],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 250,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 2389 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_croppedWidth",
"properties": {
"previousName": "croppedWidth",
"widget_ue_connectable": {}
},
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 760,
"type": "GetImageRangeFromBatch",
"pos": [13560, 840],
"size": [300, 102],
"flags": {},
"order": 126,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 1438
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": null
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 1439
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1468]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 791,
"type": "GetImageSizeAndCount",
"pos": [13560, 1000],
"size": [300, 86],
"flags": {},
"order": 128,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1526
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": []
},
{
"label": "3840 width",
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [1530]
},
{
"label": "2160 height",
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [2363]
},
{
"label": "61 count",
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageSizeAndCount",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 790,
"type": "MathExpression|pysssss",
"pos": [13560, 1140],
"size": [300, 128],
"flags": {},
"order": 165,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 1530
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 1845
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [1532]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": ["(a - b)/2"]
},
{
"id": 1348,
"type": "MathExpression|pysssss",
"pos": [13560, 1320],
"size": [300, 128],
"flags": {},
"order": 166,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2363
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2362
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2364]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": ["(a - b)/2"]
},
{
"id": 1374,
"type": "GetNode",
"pos": [11380, 490],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 25,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2405] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 743,
"type": "GetNode",
"pos": [7970, 450],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 26,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [1409] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1223,
"type": "GetNode",
"pos": [11740, 520],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 27,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2217] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1376,
"type": "GetNode",
"pos": [12610, 480],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 28,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2407] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1377,
"type": "GetNode",
"pos": [13560, 620],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 29,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2408] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 767,
"type": "GetImageRangeFromBatch",
"pos": [13560, 680],
"size": [300, 102],
"flags": { "collapsed": false },
"order": 127,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 1451
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": null
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 1452
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1453]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 986,
"type": "SetNode",
"pos": [14650, 1450],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 220,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 1846 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_finalVideo",
"properties": {
"previousName": "finalVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["finalVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1113,
"type": "RemBGSession+",
"pos": [4350, 970],
"size": [270, 82],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "COMBO",
"widget": { "name": "model" },
"link": null
},
{
"localized_name": "providers",
"name": "providers",
"type": "COMBO",
"widget": { "name": "providers" },
"link": null
}
],
"outputs": [
{
"localized_name": "REMBG_SESSION",
"name": "REMBG_SESSION",
"type": "REMBG_SESSION",
"links": [2025]
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"Node name for S&R": "RemBGSession+",
"widget_ue_connectable": {}
},
"widgets_values": ["u2net: general purpose", "CUDA"]
},
{
"id": 756,
"type": "GetNode",
"pos": [13560, 440],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 31,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [1465] }],
"title": "Get_blurredObjectMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["blurredObjectMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1224,
"type": "SetNode",
"pos": [7160, 1130],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 195,
"mode": 0,
"inputs": [{ "name": "STITCHER", "type": "STITCHER", "link": 2218 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_croppedStitcher",
"properties": {
"previousName": "croppedStitcher",
"widget_ue_connectable": {}
},
"widgets_values": ["croppedStitcher"]
},
{
"id": 1408,
"type": "VHS_VideoCombine",
"pos": [6160, 1320],
"size": [260, 483.84906005859375],
"flags": {},
"order": 284,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2451
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2452
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "WanVideoWrapperI2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapperI2V_00001.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "WanVideoWrapperI2V_00001.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\WanVideoWrapperI2V_00001.mp4"
}
}
}
},
{
"id": 1397,
"type": "SetNode",
"pos": [6560, 2060],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 278,
"mode": 0,
"inputs": [{ "name": "MASK", "type": "MASK", "link": 2435 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_sharpObjectMask",
"properties": {
"previousName": "sharpObjectMask",
"widget_ue_connectable": {}
},
"widgets_values": ["sharpObjectMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1042,
"type": "DownloadAndLoadSAM2Model",
"pos": [5780, 440],
"size": [315, 130],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "COMBO",
"widget": { "name": "model" },
"link": null
},
{
"localized_name": "segmentor",
"name": "segmentor",
"type": "COMBO",
"widget": { "name": "segmentor" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"type": "COMBO",
"widget": { "name": "device" },
"link": null
},
{
"localized_name": "precision",
"name": "precision",
"type": "COMBO",
"widget": { "name": "precision" },
"link": null
}
],
"outputs": [
{
"localized_name": "sam2_model",
"name": "sam2_model",
"type": "SAM2MODEL",
"links": [1947]
}
],
"properties": {
"cnr_id": "segment-anything-2",
"ver": "059815ecc55b17ae9b47d15ed9b39b243d73b25f",
"Node name for S&R": "DownloadAndLoadSAM2Model",
"widget_ue_connectable": {
"model": true,
"segmentor": true,
"device": true,
"precision": true
}
},
"widgets_values": [
"sam2.1_hiera_large.safetensors",
"video",
"cuda",
"fp16"
]
},
{
"id": 1409,
"type": "MathExpression|pysssss",
"pos": [5840, 1810],
"size": [210, 128],
"flags": {},
"order": 271,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2454
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2467]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Expand Ratio",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["a/50"]
},
{
"id": 1350,
"type": "MathExpression|pysssss",
"pos": [7100, 1690],
"size": [210, 128],
"flags": {},
"order": 225,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2765
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2383, 2384]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"title": "Height",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": ["(a + 15) // 16 * 16"]
},
{
"id": 1349,
"type": "MathExpression|pysssss",
"pos": [7100, 1500],
"size": [210, 128],
"flags": {},
"order": 224,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2764
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2382, 2385]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"title": "Width",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": ["(a + 15) // 16 * 16"]
},
{
"id": 1360,
"type": "MathExpression|pysssss",
"pos": [7390, 1500],
"size": [360, 128],
"flags": {},
"order": 239,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2382
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2383
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2387
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2389]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"title": "Width Resized",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": [
"((a * c + max(a, b) * 16 - 1) // (max(a, b) * 16)) * 16"
]
},
{
"id": 1359,
"type": "MathExpression|pysssss",
"pos": [7390, 1690],
"size": [360, 128],
"flags": {},
"order": 240,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2384
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2385
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2388
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2390]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"title": "Height Resized",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": [
"((a * c + max(b, a) * 16 - 1) // (max(b, a) * 16)) * 16"
]
},
{
"id": 1194,
"type": "INTConstant",
"pos": [3510, 810],
"size": [210, 58],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"widget": { "name": "value" },
"link": null
}
],
"outputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"links": [2144]
}
],
"title": "Min Crop Size (Renderer)",
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "366b866f8ebf501e84f316ab313d489e3f5cd94d",
"Node name for S&R": "INTConstant",
"widget_ue_connectable": { "value": true }
},
"widgets_values": [720],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1195,
"type": "SetNode",
"pos": [4070, 1010],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 134,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 2144 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_minCropSize",
"properties": {
"previousName": "minCropSize",
"widget_ue_connectable": {}
},
"widgets_values": ["minCropSize"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1196,
"type": "GetNode",
"pos": [6840, 1390],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 35,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2386] }],
"title": "Get_minCropSize",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["minCropSize"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1183,
"type": "SetNode",
"pos": [7160, 1190],
"size": [216.55429077148438, 60],
"flags": { "collapsed": true },
"order": 197,
"mode": 0,
"inputs": [{ "name": "MASK", "type": "MASK", "link": 2173 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_croppedCombinedMask",
"properties": {
"previousName": "croppedCombinedMask",
"widget_ue_connectable": {}
},
"widgets_values": ["croppedCombinedMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1049,
"type": "GetNode",
"pos": [5220, 500],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 36,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "IMAGE", "type": "IMAGE", "links": [1944, 1948, 2446, 2449] }
],
"title": "Get_resizedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 658,
"type": "ImageResizeKJv2",
"pos": [4040, 450],
"size": [240, 266],
"flags": {},
"order": 216,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1491
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 1326
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 1327
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1593]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [1488]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [1489]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 648,
"type": "Pad Batch to 4n+1",
"pos": [3750, 950],
"size": [250, 66],
"flags": {},
"order": 190,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 1259
}
],
"outputs": [
{
"localized_name": "padded_images",
"name": "padded_images",
"type": "IMAGE",
"links": [1491, 1492]
},
{
"localized_name": "original_count",
"name": "original_count",
"type": "INT",
"links": []
},
{
"localized_name": "total_count",
"name": "total_count",
"type": "INT",
"links": [1349]
}
],
"properties": {
"aux_id": "rishipandey125/ComfyUI-FramePacking",
"ver": "8b7ecc90f775991f84ff87b71a8fd0c457d02f8a",
"Node name for S&R": "Pad Batch to 4n+1",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 696,
"type": "SetNode",
"pos": [4070, 980],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 218,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 1349 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_totalFrames",
"properties": {
"previousName": "totalFrames",
"widget_ue_connectable": {}
},
"widgets_values": ["totalFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1424,
"type": "GetNode",
"pos": [5240, 1600],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 37,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2472] }],
"title": "Get_totalFrames",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["totalFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1410,
"type": "MathExpression|pysssss",
"pos": [5840, 1620],
"size": [210, 128],
"flags": {},
"order": 272,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2455
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2468]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": [2469]
}
],
"title": "Blur Ratio",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["a/20"]
},
{
"id": 1412,
"type": "MaskToImage",
"pos": [5240, 2020],
"size": [280, 26],
"flags": {},
"order": 238,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2461
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2462]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "MaskToImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1413,
"type": "GetImageSizeAndCount",
"pos": [5570, 1730],
"size": [210, 86],
"flags": {},
"order": 262,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2464
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": null
},
{
"label": "149 width",
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [2465]
},
{
"label": "215 height",
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [2466]
},
{
"label": "1 count",
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "GetImageSizeAndCount",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1417,
"type": "ImageCropByMask",
"pos": [5570, 1610],
"size": [210, 46],
"flags": {},
"order": 249,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2462
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2463
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2464]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "ImageCropByMask",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1415,
"type": "GetImageRangeFromBatch",
"pos": [5240, 1850],
"size": [280.3267517089844, 102],
"flags": {},
"order": 222,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": 2460
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": 2473
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": null
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2461, 2463]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 1047,
"type": "GetNode",
"pos": [5220, 440],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 38,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [1952] }],
"title": "Get_resizedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1046,
"type": "GetNode",
"pos": [5220, 470],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 39,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [1953] }],
"title": "Get_resizedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1419,
"type": "GetNode",
"pos": [6840, 560],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 40,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2470] }],
"title": "Get_minCropSize",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["minCropSize"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1201,
"type": "InpaintCropImproved",
"pos": [7090, 440],
"size": [300, 630],
"flags": {},
"order": 171,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2208
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2761
},
{
"localized_name": "optional_context_mask",
"name": "optional_context_mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "downscale_algorithm",
"name": "downscale_algorithm",
"type": "COMBO",
"widget": { "name": "downscale_algorithm" },
"link": null
},
{
"localized_name": "upscale_algorithm",
"name": "upscale_algorithm",
"type": "COMBO",
"widget": { "name": "upscale_algorithm" },
"link": null
},
{
"localized_name": "preresize",
"name": "preresize",
"type": "BOOLEAN",
"widget": { "name": "preresize" },
"link": null
},
{
"localized_name": "preresize_mode",
"name": "preresize_mode",
"type": "COMBO",
"widget": { "name": "preresize_mode" },
"link": null
},
{
"localized_name": "preresize_min_width",
"name": "preresize_min_width",
"type": "INT",
"widget": { "name": "preresize_min_width" },
"link": null
},
{
"localized_name": "preresize_min_height",
"name": "preresize_min_height",
"type": "INT",
"widget": { "name": "preresize_min_height" },
"link": null
},
{
"localized_name": "preresize_max_width",
"name": "preresize_max_width",
"type": "INT",
"widget": { "name": "preresize_max_width" },
"link": null
},
{
"localized_name": "preresize_max_height",
"name": "preresize_max_height",
"type": "INT",
"widget": { "name": "preresize_max_height" },
"link": null
},
{
"localized_name": "mask_fill_holes",
"name": "mask_fill_holes",
"type": "BOOLEAN",
"widget": { "name": "mask_fill_holes" },
"link": null
},
{
"localized_name": "mask_expand_pixels",
"name": "mask_expand_pixels",
"type": "INT",
"widget": { "name": "mask_expand_pixels" },
"link": null
},
{
"localized_name": "mask_invert",
"name": "mask_invert",
"type": "BOOLEAN",
"widget": { "name": "mask_invert" },
"link": null
},
{
"localized_name": "mask_blend_pixels",
"name": "mask_blend_pixels",
"type": "INT",
"widget": { "name": "mask_blend_pixels" },
"link": 2471
},
{
"localized_name": "mask_hipass_filter",
"name": "mask_hipass_filter",
"type": "FLOAT",
"widget": { "name": "mask_hipass_filter" },
"link": null
},
{
"localized_name": "extend_for_outpainting",
"name": "extend_for_outpainting",
"type": "BOOLEAN",
"widget": { "name": "extend_for_outpainting" },
"link": null
},
{
"localized_name": "extend_up_factor",
"name": "extend_up_factor",
"type": "FLOAT",
"widget": { "name": "extend_up_factor" },
"link": null
},
{
"localized_name": "extend_down_factor",
"name": "extend_down_factor",
"type": "FLOAT",
"widget": { "name": "extend_down_factor" },
"link": null
},
{
"localized_name": "extend_left_factor",
"name": "extend_left_factor",
"type": "FLOAT",
"widget": { "name": "extend_left_factor" },
"link": null
},
{
"localized_name": "extend_right_factor",
"name": "extend_right_factor",
"type": "FLOAT",
"widget": { "name": "extend_right_factor" },
"link": null
},
{
"localized_name": "context_from_mask_extend_factor",
"name": "context_from_mask_extend_factor",
"type": "FLOAT",
"widget": { "name": "context_from_mask_extend_factor" },
"link": null
},
{
"localized_name": "output_resize_to_target_size",
"name": "output_resize_to_target_size",
"type": "BOOLEAN",
"widget": { "name": "output_resize_to_target_size" },
"link": null
},
{
"localized_name": "output_target_width",
"name": "output_target_width",
"type": "INT",
"widget": { "name": "output_target_width" },
"link": 2401
},
{
"localized_name": "output_target_height",
"name": "output_target_height",
"type": "INT",
"widget": { "name": "output_target_height" },
"link": 2402
},
{
"localized_name": "output_padding",
"name": "output_padding",
"type": "COMBO",
"widget": { "name": "output_padding" },
"link": null
}
],
"outputs": [
{
"localized_name": "stitcher",
"name": "stitcher",
"type": "STITCHER",
"links": [2218]
},
{
"localized_name": "cropped_image",
"name": "cropped_image",
"type": "IMAGE",
"links": [2212, 2443]
},
{
"localized_name": "cropped_mask",
"name": "cropped_mask",
"type": "MASK",
"links": [2173, 2444]
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintCropImproved",
"widget_ue_connectable": {}
},
"widgets_values": [
"bilinear",
"lanczos",
false,
"ensure minimum resolution",
1024,
1024,
16384,
16384,
false,
0,
false,
16,
0.1,
false,
1,
1,
1,
1,
1.2000000000000002,
true,
512,
512,
"0"
]
},
{
"id": 1369,
"type": "GetNode",
"pos": [6840, 440],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 41,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2401] }],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1370,
"type": "GetNode",
"pos": [6840, 470],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 42,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2402] }],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1353,
"type": "SetNode",
"pos": [7580, 2090],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 251,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 2390 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_croppedHeight",
"properties": {
"previousName": "croppedHeight",
"widget_ue_connectable": {}
},
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1430,
"type": "GetNode",
"pos": [5180, 2300],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 43,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2705] }],
"title": "Get_resizedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1529,
"type": "MathExpression|pysssss",
"pos": [5420, 2620],
"size": [210, 128],
"flags": {},
"order": 226,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2684
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2691
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2690]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "X",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["a + (b / 2)"]
},
{
"id": 1530,
"type": "MathExpression|pysssss",
"pos": [5420, 2800],
"size": [210, 128],
"flags": {},
"order": 227,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2688
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2692
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2689]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Y",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["a + (b / 2)"]
},
{
"id": 1521,
"type": "CreateShapeMask",
"pos": [5420, 2990],
"size": [210, 270],
"flags": {},
"order": 241,
"mode": 0,
"inputs": [
{
"localized_name": "shape",
"name": "shape",
"type": "COMBO",
"widget": { "name": "shape" },
"link": null
},
{
"localized_name": "frames",
"name": "frames",
"type": "INT",
"widget": { "name": "frames" },
"link": 2671
},
{
"localized_name": "location_x",
"name": "location_x",
"type": "INT",
"widget": { "name": "location_x" },
"link": 2690
},
{
"localized_name": "location_y",
"name": "location_y",
"type": "INT",
"widget": { "name": "location_y" },
"link": 2689
},
{
"localized_name": "grow",
"name": "grow",
"type": "INT",
"widget": { "name": "grow" },
"link": null
},
{
"localized_name": "frame_width",
"name": "frame_width",
"type": "INT",
"widget": { "name": "frame_width" },
"link": 2705
},
{
"localized_name": "frame_height",
"name": "frame_height",
"type": "INT",
"widget": { "name": "frame_height" },
"link": 2706
},
{
"localized_name": "shape_width",
"name": "shape_width",
"type": "INT",
"widget": { "name": "shape_width" },
"link": 2703
},
{
"localized_name": "shape_height",
"name": "shape_height",
"type": "INT",
"widget": { "name": "shape_height" },
"link": 2704
}
],
"outputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"links": [2679]
},
{
"localized_name": "mask_inverted",
"name": "mask_inverted",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "CreateShapeMask",
"widget_ue_connectable": {}
},
"widgets_values": ["square", 1, 256, 256, 0, 512, 512, 128, 128]
},
{
"id": 1429,
"type": "GetNode",
"pos": [5180, 2330],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 44,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2706] }],
"title": "Get_resizedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1050,
"type": "GetNode",
"pos": [5220, 530],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 45,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [1943, 2452] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1451,
"type": "ImageDrawRectangle",
"pos": [6010, 2390],
"size": [270, 442],
"flags": {},
"order": 268,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2633
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2634
},
{
"localized_name": "start_x",
"name": "start_x",
"type": "FLOAT",
"widget": { "name": "start_x" },
"link": null
},
{
"localized_name": "start_y",
"name": "start_y",
"type": "FLOAT",
"widget": { "name": "start_y" },
"link": null
},
{
"localized_name": "end_x",
"name": "end_x",
"type": "FLOAT",
"widget": { "name": "end_x" },
"link": null
},
{
"localized_name": "end_y",
"name": "end_y",
"type": "FLOAT",
"widget": { "name": "end_y" },
"link": null
},
{
"localized_name": "outline_size",
"name": "outline_size",
"type": "INT",
"widget": { "name": "outline_size" },
"link": null
},
{
"localized_name": "outline_red",
"name": "outline_red",
"type": "INT",
"widget": { "name": "outline_red" },
"link": null
},
{
"localized_name": "outline_green",
"name": "outline_green",
"type": "INT",
"widget": { "name": "outline_green" },
"link": null
},
{
"localized_name": "outline_blue",
"name": "outline_blue",
"type": "INT",
"widget": { "name": "outline_blue" },
"link": null
},
{
"localized_name": "outline_alpha",
"name": "outline_alpha",
"type": "FLOAT",
"widget": { "name": "outline_alpha" },
"link": null
},
{
"localized_name": "fill_red",
"name": "fill_red",
"type": "INT",
"widget": { "name": "fill_red" },
"link": null
},
{
"localized_name": "fill_green",
"name": "fill_green",
"type": "INT",
"widget": { "name": "fill_green" },
"link": null
},
{
"localized_name": "fill_blue",
"name": "fill_blue",
"type": "INT",
"widget": { "name": "fill_blue" },
"link": null
},
{
"localized_name": "fill_alpha",
"name": "fill_alpha",
"type": "FLOAT",
"widget": { "name": "fill_alpha" },
"link": null
},
{
"localized_name": "SSAA",
"name": "SSAA",
"type": "INT",
"widget": { "name": "SSAA" },
"link": null
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": { "name": "method" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2530]
}
],
"properties": {
"cnr_id": "ComfyUI-Allor",
"ver": "af9caecc2a4e3d432be6aa8b7826da0bc1bb420c",
"Node name for S&R": "ImageDrawRectangle",
"widget_ue_connectable": {}
},
"widgets_values": [
256,
256,
0,
0,
1,
1,
1,
255,
255,
255,
1,
0,
0,
0,
0,
2,
"lanczos"
]
},
{
"id": 1537,
"type": "ImageBlend",
"pos": [6020, 3200],
"size": [260, 102],
"flags": {},
"order": 277,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 2746
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 2740
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
},
{
"localized_name": "blend_mode",
"name": "blend_mode",
"type": "COMBO",
"widget": { "name": "blend_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2747]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageBlend",
"widget_ue_connectable": {}
},
"widgets_values": [1, "multiply"]
},
{
"id": 1498,
"type": "InpaintCropImproved",
"pos": [5670, 2320],
"size": [300, 630],
"flags": {},
"order": 252,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2626
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2679
},
{
"localized_name": "optional_context_mask",
"name": "optional_context_mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "downscale_algorithm",
"name": "downscale_algorithm",
"type": "COMBO",
"widget": { "name": "downscale_algorithm" },
"link": null
},
{
"localized_name": "upscale_algorithm",
"name": "upscale_algorithm",
"type": "COMBO",
"widget": { "name": "upscale_algorithm" },
"link": null
},
{
"localized_name": "preresize",
"name": "preresize",
"type": "BOOLEAN",
"widget": { "name": "preresize" },
"link": null
},
{
"localized_name": "preresize_mode",
"name": "preresize_mode",
"type": "COMBO",
"widget": { "name": "preresize_mode" },
"link": null
},
{
"localized_name": "preresize_min_width",
"name": "preresize_min_width",
"type": "INT",
"widget": { "name": "preresize_min_width" },
"link": null
},
{
"localized_name": "preresize_min_height",
"name": "preresize_min_height",
"type": "INT",
"widget": { "name": "preresize_min_height" },
"link": null
},
{
"localized_name": "preresize_max_width",
"name": "preresize_max_width",
"type": "INT",
"widget": { "name": "preresize_max_width" },
"link": null
},
{
"localized_name": "preresize_max_height",
"name": "preresize_max_height",
"type": "INT",
"widget": { "name": "preresize_max_height" },
"link": null
},
{
"localized_name": "mask_fill_holes",
"name": "mask_fill_holes",
"type": "BOOLEAN",
"widget": { "name": "mask_fill_holes" },
"link": null
},
{
"localized_name": "mask_expand_pixels",
"name": "mask_expand_pixels",
"type": "INT",
"widget": { "name": "mask_expand_pixels" },
"link": null
},
{
"localized_name": "mask_invert",
"name": "mask_invert",
"type": "BOOLEAN",
"widget": { "name": "mask_invert" },
"link": null
},
{
"localized_name": "mask_blend_pixels",
"name": "mask_blend_pixels",
"type": "INT",
"widget": { "name": "mask_blend_pixels" },
"link": null
},
{
"localized_name": "mask_hipass_filter",
"name": "mask_hipass_filter",
"type": "FLOAT",
"widget": { "name": "mask_hipass_filter" },
"link": null
},
{
"localized_name": "extend_for_outpainting",
"name": "extend_for_outpainting",
"type": "BOOLEAN",
"widget": { "name": "extend_for_outpainting" },
"link": null
},
{
"localized_name": "extend_up_factor",
"name": "extend_up_factor",
"type": "FLOAT",
"widget": { "name": "extend_up_factor" },
"link": null
},
{
"localized_name": "extend_down_factor",
"name": "extend_down_factor",
"type": "FLOAT",
"widget": { "name": "extend_down_factor" },
"link": null
},
{
"localized_name": "extend_left_factor",
"name": "extend_left_factor",
"type": "FLOAT",
"widget": { "name": "extend_left_factor" },
"link": null
},
{
"localized_name": "extend_right_factor",
"name": "extend_right_factor",
"type": "FLOAT",
"widget": { "name": "extend_right_factor" },
"link": null
},
{
"localized_name": "context_from_mask_extend_factor",
"name": "context_from_mask_extend_factor",
"type": "FLOAT",
"widget": { "name": "context_from_mask_extend_factor" },
"link": null
},
{
"localized_name": "output_resize_to_target_size",
"name": "output_resize_to_target_size",
"type": "BOOLEAN",
"widget": { "name": "output_resize_to_target_size" },
"link": null
},
{
"localized_name": "output_target_width",
"name": "output_target_width",
"type": "INT",
"widget": { "name": "output_target_width" },
"link": 2707
},
{
"localized_name": "output_target_height",
"name": "output_target_height",
"type": "INT",
"widget": { "name": "output_target_height" },
"link": 2708
},
{
"localized_name": "output_padding",
"name": "output_padding",
"type": "COMBO",
"widget": { "name": "output_padding" },
"link": null
}
],
"outputs": [
{
"localized_name": "stitcher",
"name": "stitcher",
"type": "STITCHER",
"links": [2617]
},
{
"localized_name": "cropped_image",
"name": "cropped_image",
"type": "IMAGE",
"links": [2631]
},
{
"localized_name": "cropped_mask",
"name": "cropped_mask",
"type": "MASK",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintCropImproved",
"widget_ue_connectable": {}
},
"widgets_values": [
"bilinear",
"lanczos",
false,
"ensure minimum resolution",
1024,
1024,
16384,
16384,
false,
0,
false,
0,
0.10000000000000002,
false,
1,
1,
1,
1,
1.0000000000000002,
true,
512,
512,
"0"
]
},
{
"id": 1449,
"type": "MaskToImage",
"pos": [5680, 2240],
"size": [290, 26],
"flags": {},
"order": 140,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2509
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2626]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "MaskToImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1499,
"type": "InpaintStitchImproved",
"pos": [6320, 2410],
"size": [260, 46],
"flags": {},
"order": 285,
"mode": 0,
"inputs": [
{
"localized_name": "stitcher",
"name": "stitcher",
"type": "STITCHER",
"link": 2617
},
{
"localized_name": "inpainted_image",
"name": "inpainted_image",
"type": "IMAGE",
"link": 2727
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2624, 2728]
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintStitchImproved",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1503,
"type": "VHS_VideoCombine",
"pos": [6320, 2650],
"size": [260, 483.84906005859375],
"flags": {},
"order": 287,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2624
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2758
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "WanVideoWrapperI2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 9,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapperI2V_00003.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "WanVideoWrapperI2V_00003.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\WanVideoWrapperI2V_00003.mp4"
}
}
}
},
{
"id": 1505,
"type": "ImageBlend",
"pos": [6320, 2240],
"size": [260, 102],
"flags": {},
"order": 281,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 2725
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 2747
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
},
{
"localized_name": "blend_mode",
"name": "blend_mode",
"type": "COMBO",
"widget": { "name": "blend_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2727]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageBlend",
"widget_ue_connectable": {}
},
"widgets_values": [1, "screen"]
},
{
"id": 1507,
"type": "GetImageSizeAndCount",
"pos": [5680, 3010],
"size": [290, 86],
"flags": {},
"order": 263,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2631
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2725]
},
{
"label": "246 width",
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [2633]
},
{
"label": "288 height",
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [2634]
},
{
"label": "61 count",
"localized_name": "count",
"name": "count",
"type": "INT",
"links": [2651]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "GetImageSizeAndCount",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1535,
"type": "ImageToMask",
"pos": [6320, 2520],
"size": [260, 60],
"flags": {},
"order": 288,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2728
},
{
"localized_name": "channel",
"name": "channel",
"type": "COMBO",
"widget": { "name": "channel" },
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2760]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageToMask",
"widget_ue_connectable": {}
},
"widgets_values": ["red"]
},
{
"id": 1340,
"type": "MaskToImage",
"pos": [6830, 1770],
"size": [210, 26],
"flags": {},
"order": 172,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2399
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2763]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "MaskToImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1361,
"type": "MathExpression|pysssss",
"pos": [7100, 1880],
"size": [210, 128],
"flags": {},
"order": 135,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2386
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2387, 2388]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": []
}
],
"title": "Min Crop Size",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": ["(a + 15) // 16 * 16"]
},
{
"id": 1549,
"type": "MaskBoundingBox+",
"pos": [6830, 1860],
"size": [210, 182],
"flags": {},
"order": 199,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2762
},
{
"localized_name": "image_optional",
"name": "image_optional",
"shape": 7,
"type": "IMAGE",
"link": 2763
},
{
"localized_name": "padding",
"name": "padding",
"type": "INT",
"widget": { "name": "padding" },
"link": null
},
{
"localized_name": "blur",
"name": "blur",
"type": "INT",
"widget": { "name": "blur" },
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
},
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": null
},
{ "localized_name": "x", "name": "x", "type": "INT", "links": [] },
{ "localized_name": "y", "name": "y", "type": "INT", "links": [] },
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [2764]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [2765]
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
"Node name for S&R": "MaskBoundingBox+",
"widget_ue_connectable": {}
},
"widgets_values": [0, 0]
},
{
"id": 1367,
"type": "GetImageRangeFromBatch",
"pos": [6830, 1470],
"size": [210, 102],
"flags": {},
"order": 139,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": 2398
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": null
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": null
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2399, 2762]
}
],
"title": "Combined Mask",
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 1368,
"type": "GetNode",
"pos": [6840, 1360],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 46,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [2398] }],
"title": "Get_sharpBoundsMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["sharpBoundsMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1375,
"type": "GetNode",
"pos": [6840, 590],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 47,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2438] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1418,
"type": "MathExpression|pysssss",
"pos": [6840, 650],
"size": [210, 128],
"flags": {},
"order": 138,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2470
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2471]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Blur Ratio",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["a/45"]
},
{
"id": 1545,
"type": "Note",
"pos": [6010, 2240],
"size": [270, 88],
"flags": {},
"order": 48,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Create a border box to avoid crop/resize while video is moving, so it crops the full area and avoid jittery motion. Then it masks to be visible where it matches with video mask."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1203,
"type": "Masks Combine Batch",
"pos": [5170, 2570],
"size": [210, 26],
"flags": {},
"order": 141,
"mode": 0,
"inputs": [
{
"localized_name": "masks",
"name": "masks",
"type": "MASK",
"link": 2766
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2178]
}
],
"properties": {
"cnr_id": "was-node-suite-comfyui",
"ver": "1cd8d304eda256c412b8589ce1f00be3c61cf9ec",
"Node name for S&R": "Masks Combine Batch",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1460,
"type": "GetNode",
"pos": [5180, 2270],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 49,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2671, 2767] }],
"title": "Get_totalFrames",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["totalFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1544,
"type": "GetNode",
"pos": [5180, 2360],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 50,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2758] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1543,
"type": "Note",
"pos": [5420, 2240],
"size": [210, 88],
"flags": {},
"order": 51,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Create a rectangle mask from full area where the mask travels."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1365,
"type": "Note",
"pos": [5170, 2420],
"size": [210, 88],
"flags": {},
"order": 52,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Combine masks to determine the maximum area for the mask across the whole video. Repeat mask to match total frames from the video."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1205,
"type": "VHS_DuplicateMasks",
"pos": [5170, 2650],
"size": [213.3720703125, 78],
"flags": {},
"order": 173,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2178
},
{
"localized_name": "multiply_by",
"name": "multiply_by",
"type": "INT",
"widget": { "name": "multiply_by" },
"link": 2767
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2768, 2769, 2770]
},
{
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "1.6.1",
"Node name for S&R": "VHS_DuplicateMasks",
"widget_ue_connectable": {}
},
"widgets_values": { "multiply_by": 1 }
},
{
"id": 1547,
"type": "SetNode",
"pos": [6090, 3360],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 289,
"mode": 0,
"inputs": [{ "name": "MASK", "type": "MASK", "link": 2760 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_sharpBoundsMask",
"properties": {
"previousName": "sharpBoundsMask",
"widget_ue_connectable": {}
},
"widgets_values": ["sharpBoundsMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1421,
"type": "GetNode",
"pos": [5180, 2240],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 53,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [2509, 2766] }],
"title": "Get_sharpObjectMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["sharpObjectMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1570,
"type": "GetNode",
"pos": [9120, 1620],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 54,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2812] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1571,
"type": "GetNode",
"pos": [9120, 1560],
"size": [218.10604858398438, 34],
"flags": { "collapsed": true },
"order": 55,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [2817] }],
"title": "Get_croppedCombinedMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedCombinedMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1575,
"type": "GetNode",
"pos": [9120, 1500],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 56,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2807] }],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1576,
"type": "GetNode",
"pos": [9120, 1530],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 57,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2808] }],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1579,
"type": "GetNode",
"pos": [9120, 1590],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 58,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2815] }],
"title": "Get_croppedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1103,
"type": "SetNode",
"pos": [9270, 1360],
"size": [226.43222045898438, 60],
"flags": { "collapsed": true },
"order": 203,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2015 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_originalControlPoseVideo",
"properties": {
"previousName": "originalControlPoseVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["originalControlPoseVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 972,
"type": "GetNode",
"pos": [10250, 520],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 59,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "WANVIDEOMODEL", "type": "WANVIDEOMODEL", "links": [1832] }
],
"title": "Get_model",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["model"]
},
{
"id": 1003,
"type": "GetNode",
"pos": [9120, 540],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 60,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [1864] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1012,
"type": "GetNode",
"pos": [9120, 570],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 61,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2423] }],
"title": "Get_controlPoseVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["controlPoseVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1225,
"type": "GetNode",
"pos": [11380, 430],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 62,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "STITCHER", "type": "STITCHER", "links": [2219] }],
"title": "Get_croppedStitcher",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedStitcher"]
},
{
"id": 1185,
"type": "GetNode",
"pos": [11380, 460],
"size": [217.88729858398438, 58],
"flags": { "collapsed": true },
"order": 63,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2295] }],
"title": "Get_croppedRenderedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedRenderedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1202,
"type": "InpaintStitchImproved",
"pos": [11380, 550],
"size": [260, 46],
"flags": {},
"order": 142,
"mode": 0,
"inputs": [
{
"localized_name": "stitcher",
"name": "stitcher",
"type": "STITCHER",
"link": 2219
},
{
"localized_name": "inpainted_image",
"name": "inpainted_image",
"type": "IMAGE",
"link": 2295
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2163, 2307]
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintStitchImproved",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1009,
"type": "ImageCompositeMasked",
"pos": [9130, 650],
"size": [315, 146],
"flags": {},
"order": 143,
"mode": 0,
"inputs": [
{
"localized_name": "destination",
"name": "destination",
"type": "IMAGE",
"link": 1867
},
{
"localized_name": "source",
"name": "source",
"type": "IMAGE",
"link": 2423
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 1869
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": { "name": "x" },
"link": null
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": { "name": "y" },
"link": null
},
{
"localized_name": "resize_source",
"name": "resize_source",
"type": "BOOLEAN",
"widget": { "name": "resize_source" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [1870]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.29",
"Node name for S&R": "ImageCompositeMasked",
"widget_ue_connectable": { "x": true, "y": true, "resize_source": true }
},
"widgets_values": [0, 0, false]
},
{
"id": 1010,
"type": "GetNode",
"pos": [9120, 480],
"size": [218.10604858398438, 50],
"flags": { "collapsed": true },
"order": 64,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [1869] }],
"title": "Get_croppedCombinedMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedCombinedMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1007,
"type": "GetNode",
"pos": [9120, 510],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 65,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [1867] }],
"title": "Get_croppedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1011,
"type": "ImageResizeKJv2",
"pos": [9480, 420],
"size": [290, 266],
"flags": {},
"order": 176,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1870
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2376
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2377
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1863, 2015]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1356,
"type": "GetNode",
"pos": [9120, 450],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 66,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2377] }],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1355,
"type": "GetNode",
"pos": [9120, 420],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 67,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2376] }],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1602,
"type": "GetNode",
"pos": [15240, 520],
"size": [218.10604858398438, 34],
"flags": { "collapsed": true },
"order": 68,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [2845] }],
"title": "Get_croppedCombinedMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedCombinedMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1605,
"type": "GetNode",
"pos": [15240, 490],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 69,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2848] }],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1606,
"type": "GetNode",
"pos": [15240, 460],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 70,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2847] }],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1548,
"type": "GetNode",
"pos": [6840, 530],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 71,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [2761] }],
"title": "Get_sharpBoundsMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["sharpBoundsMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1405,
"type": "ImageAndMaskPreview",
"pos": [7440, 440],
"size": [320, 126],
"flags": {},
"order": 198,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 2443
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2444
},
{
"localized_name": "mask_opacity",
"name": "mask_opacity",
"type": "FLOAT",
"widget": { "name": "mask_opacity" },
"link": null
},
{
"localized_name": "mask_color",
"name": "mask_color",
"type": "STRING",
"widget": { "name": "mask_color" },
"link": null
},
{
"localized_name": "pass_through",
"name": "pass_through",
"type": "BOOLEAN",
"widget": { "name": "pass_through" },
"link": null
}
],
"outputs": [
{
"localized_name": "composite",
"name": "composite",
"type": "IMAGE",
"links": [2445]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1a4259f05206d7360be7a90145b5839d5b64d893",
"Node name for S&R": "ImageAndMaskPreview",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "255, 0, 255", true]
},
{
"id": 1401,
"type": "VHS_VideoCombine",
"pos": [7440, 620],
"size": [320, 703.26318359375],
"flags": {},
"order": 223,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2445
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2438
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "WanVideoWrapperI2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapperI2V_00004.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "WanVideoWrapperI2V_00004.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\WanVideoWrapperI2V_00004.mp4"
}
}
}
},
{
"id": 1176,
"type": "GetNode",
"pos": [6840, 500],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 72,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2208] }],
"title": "Get_resizedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 728,
"type": "GetNode",
"pos": [15020, 430],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 73,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [1391, 2862] }],
"title": "Get_resizedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["resizedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 742,
"type": "GetNode",
"pos": [15020, 550],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 74,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [1408] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1610,
"type": "GetNode",
"pos": [15240, 550],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 75,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "MASK", "type": "MASK", "links": [2853] }],
"title": "Get_sharpBoundsMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["sharpBoundsMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1603,
"type": "GetNode",
"pos": [15240, 580],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 76,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2844] }],
"title": "Get_croppedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1597,
"type": "GetNode",
"pos": [15020, 580],
"size": [227.98397827148438, 50],
"flags": { "collapsed": true },
"order": 77,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2840] }],
"title": "Get_controlPoseVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["controlPoseVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1596,
"type": "GetNode",
"pos": [15020, 610],
"size": [233.43222045898438, 50],
"flags": { "collapsed": true },
"order": 78,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2839] }],
"title": "Get_controlDepthVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["controlDepthVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1598,
"type": "GetNode",
"pos": [15240, 430],
"size": [210, 34],
"flags": { "collapsed": true },
"order": 79,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "STITCHER", "type": "STITCHER", "links": [2842] }],
"title": "Get_croppedStitcher",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedStitcher"]
},
{
"id": 557,
"type": "AddLabel",
"pos": [15030, 850],
"size": [250, 270],
"flags": {},
"order": 144,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1391
},
{
"localized_name": "caption",
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
},
{
"localized_name": "text_x",
"name": "text_x",
"type": "INT",
"widget": { "name": "text_x" },
"link": null
},
{
"localized_name": "text_y",
"name": "text_y",
"type": "INT",
"widget": { "name": "text_y" },
"link": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": null
},
{
"localized_name": "font_size",
"name": "font_size",
"type": "INT",
"widget": { "name": "font_size" },
"link": null
},
{
"localized_name": "font_color",
"name": "font_color",
"type": "STRING",
"widget": { "name": "font_color" },
"link": null
},
{
"localized_name": "label_color",
"name": "label_color",
"type": "STRING",
"widget": { "name": "label_color" },
"link": null
},
{
"localized_name": "font",
"name": "font",
"type": "COMBO",
"widget": { "name": "font" },
"link": null
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": { "name": "text" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1056]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "AddLabel",
"widget_ue_connectable": {
"text_x": true,
"text_y": true,
"height": true,
"font_size": true,
"font_color": true,
"label_color": true,
"font": true,
"text": true,
"direction": true
}
},
"widgets_values": [
10,
6,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Original",
"up"
]
},
{
"id": 564,
"type": "ImageConcatMulti",
"pos": [15610, 850],
"size": [260, 190],
"flags": {},
"order": 192,
"mode": 0,
"inputs": [
{
"localized_name": "image_1",
"name": "image_1",
"type": "IMAGE",
"link": 1056
},
{
"localized_name": "image_2",
"name": "image_2",
"type": "IMAGE",
"link": 1057
},
{
"localized_name": "inputcount",
"name": "inputcount",
"type": "INT",
"widget": { "name": "inputcount" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
},
{
"localized_name": "match_image_size",
"name": "match_image_size",
"type": "BOOLEAN",
"widget": { "name": "match_image_size" },
"link": null
},
{ "name": "image_3", "type": "IMAGE", "link": null },
{ "name": "image_4", "type": "IMAGE", "link": null }
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"links": [2860]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "91bdcfdf6016c0a706bca800186591890d55e391",
"widget_ue_connectable": {
"inputcount": true,
"direction": true,
"match_image_size": true
}
},
"widgets_values": [2, "right", true, null]
},
{
"id": 1616,
"type": "AddLabel",
"pos": [16230, 850],
"size": [260, 270],
"flags": {},
"order": 177,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2856
},
{
"localized_name": "caption",
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
},
{
"localized_name": "text_x",
"name": "text_x",
"type": "INT",
"widget": { "name": "text_x" },
"link": null
},
{
"localized_name": "text_y",
"name": "text_y",
"type": "INT",
"widget": { "name": "text_y" },
"link": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": null
},
{
"localized_name": "font_size",
"name": "font_size",
"type": "INT",
"widget": { "name": "font_size" },
"link": null
},
{
"localized_name": "font_color",
"name": "font_color",
"type": "STRING",
"widget": { "name": "font_color" },
"link": null
},
{
"localized_name": "label_color",
"name": "label_color",
"type": "STRING",
"widget": { "name": "label_color" },
"link": null
},
{
"localized_name": "font",
"name": "font",
"type": "COMBO",
"widget": { "name": "font" },
"link": null
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": { "name": "text" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2858]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "AddLabel",
"widget_ue_connectable": {
"text_x": true,
"text_y": true,
"height": true,
"font_size": true,
"font_color": true,
"label_color": true,
"font": true,
"text": true,
"direction": true
}
},
"widgets_values": [
10,
6,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Mask",
"up"
]
},
{
"id": 1617,
"type": "ImageConcatMulti",
"pos": [16540, 850],
"size": [250, 190],
"flags": {},
"order": 253,
"mode": 0,
"inputs": [
{
"localized_name": "image_1",
"name": "image_1",
"type": "IMAGE",
"link": 2857
},
{
"localized_name": "image_2",
"name": "image_2",
"type": "IMAGE",
"link": 2858
},
{
"localized_name": "inputcount",
"name": "inputcount",
"type": "INT",
"widget": { "name": "inputcount" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
},
{
"localized_name": "match_image_size",
"name": "match_image_size",
"type": "BOOLEAN",
"widget": { "name": "match_image_size" },
"link": null
},
{ "name": "image_3", "type": "IMAGE", "link": null },
{ "name": "image_4", "type": "IMAGE", "link": null }
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"links": [2859]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "91bdcfdf6016c0a706bca800186591890d55e391",
"widget_ue_connectable": {
"inputcount": true,
"direction": true,
"match_image_size": true
}
},
"widgets_values": [2, "right", true, null]
},
{
"id": 1618,
"type": "ImageConcatMulti",
"pos": [16840, 850],
"size": [240, 190],
"flags": {},
"order": 264,
"mode": 0,
"inputs": [
{
"localized_name": "image_1",
"name": "image_1",
"type": "IMAGE",
"link": 2859
},
{
"localized_name": "image_2",
"name": "image_2",
"type": "IMAGE",
"link": 2860
},
{
"localized_name": "inputcount",
"name": "inputcount",
"type": "INT",
"widget": { "name": "inputcount" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
},
{
"localized_name": "match_image_size",
"name": "match_image_size",
"type": "BOOLEAN",
"widget": { "name": "match_image_size" },
"link": null
},
{ "name": "image_3", "type": "IMAGE", "link": null },
{ "name": "image_4", "type": "IMAGE", "link": null }
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"links": [2861]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "91bdcfdf6016c0a706bca800186591890d55e391",
"widget_ue_connectable": {
"inputcount": true,
"direction": true,
"match_image_size": true
}
},
"widgets_values": [2, "down", true, null]
},
{
"id": 383,
"type": "WanVideoModelLoader",
"pos": [4470, 1540],
"size": [400, 254],
"flags": {},
"order": 186,
"mode": 0,
"inputs": [
{
"label": "compile_args",
"localized_name": "compile_args",
"name": "compile_args",
"shape": 7,
"type": "WANCOMPILEARGS",
"link": 666
},
{
"label": "block_swap_args",
"localized_name": "block_swap_args",
"name": "block_swap_args",
"shape": 7,
"type": "BLOCKSWAPARGS",
"link": 993
},
{
"localized_name": "lora",
"name": "lora",
"shape": 7,
"type": "WANVIDLORA",
"link": 1955
},
{
"localized_name": "vram_management_args",
"name": "vram_management_args",
"shape": 7,
"type": "VRAM_MANAGEMENTARGS",
"link": null
},
{
"localized_name": "vace_model",
"name": "vace_model",
"shape": 7,
"type": "VACEPATH",
"link": 1852
},
{
"localized_name": "fantasytalking_model",
"name": "fantasytalking_model",
"shape": 7,
"type": "FANTASYTALKINGMODEL",
"link": null
},
{
"localized_name": "model",
"name": "model",
"type": "COMBO",
"widget": { "name": "model" },
"link": null
},
{
"localized_name": "base_precision",
"name": "base_precision",
"type": "COMBO",
"widget": { "name": "base_precision" },
"link": null
},
{
"localized_name": "quantization",
"name": "quantization",
"type": "COMBO",
"widget": { "name": "quantization" },
"link": null
},
{
"localized_name": "load_device",
"name": "load_device",
"type": "COMBO",
"widget": { "name": "load_device" },
"link": null
},
{
"localized_name": "attention_mode",
"name": "attention_mode",
"shape": 7,
"type": "COMBO",
"widget": { "name": "attention_mode" },
"link": null
}
],
"outputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "WANVIDEOMODEL",
"links": [1829]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "WanVideoModelLoader",
"widget_ue_connectable": {
"model": true,
"base_precision": true,
"quantization": true,
"load_device": true,
"attention_mode": true
}
},
"widgets_values": [
"wanvideo\\Wan2_1-T2V-14B_fp8_e4m3fn.safetensors",
"fp16_fast",
"fp8_e4m3fn",
"offload_device",
"sageattn"
]
},
{
"id": 1611,
"type": "ImageAndMaskPreview",
"pos": [16740, 440],
"size": [320, 126],
"flags": {},
"order": 145,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 2862
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2853
},
{
"localized_name": "mask_opacity",
"name": "mask_opacity",
"type": "FLOAT",
"widget": { "name": "mask_opacity" },
"link": null
},
{
"localized_name": "mask_color",
"name": "mask_color",
"type": "STRING",
"widget": { "name": "mask_color" },
"link": null
},
{
"localized_name": "pass_through",
"name": "pass_through",
"type": "BOOLEAN",
"widget": { "name": "pass_through" },
"link": null
}
],
"outputs": [
{
"localized_name": "composite",
"name": "composite",
"type": "IMAGE",
"links": [2856]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1a4259f05206d7360be7a90145b5839d5b64d893",
"Node name for S&R": "ImageAndMaskPreview",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "255, 0, 255", true]
},
{
"id": 559,
"type": "AddLabel",
"pos": [15320, 850],
"size": [250, 270],
"flags": {},
"order": 167,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1851
},
{
"localized_name": "caption",
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
},
{
"localized_name": "text_x",
"name": "text_x",
"type": "INT",
"widget": { "name": "text_x" },
"link": null
},
{
"localized_name": "text_y",
"name": "text_y",
"type": "INT",
"widget": { "name": "text_y" },
"link": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": null
},
{
"localized_name": "font_size",
"name": "font_size",
"type": "INT",
"widget": { "name": "font_size" },
"link": null
},
{
"localized_name": "font_color",
"name": "font_color",
"type": "STRING",
"widget": { "name": "font_color" },
"link": null
},
{
"localized_name": "label_color",
"name": "label_color",
"type": "STRING",
"widget": { "name": "label_color" },
"link": null
},
{
"localized_name": "font",
"name": "font",
"type": "COMBO",
"widget": { "name": "font" },
"link": null
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": { "name": "text" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1057]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "AddLabel",
"widget_ue_connectable": {
"text_x": true,
"text_y": true,
"height": true,
"font_size": true,
"font_color": true,
"label_color": true,
"font": true,
"text": true,
"direction": true
}
},
"widgets_values": [
10,
6,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Generated",
"up"
]
},
{
"id": 988,
"type": "ImageResizeKJv2",
"pos": [15540, 440],
"size": [315, 266],
"flags": {},
"order": 130,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1850
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 1848
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 1849
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1851]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1615,
"type": "AddLabel",
"pos": [15920, 850],
"size": [260, 270],
"flags": {},
"order": 242,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2855
},
{
"localized_name": "caption",
"name": "caption",
"shape": 7,
"type": "STRING",
"link": null
},
{
"localized_name": "text_x",
"name": "text_x",
"type": "INT",
"widget": { "name": "text_x" },
"link": null
},
{
"localized_name": "text_y",
"name": "text_y",
"type": "INT",
"widget": { "name": "text_y" },
"link": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": null
},
{
"localized_name": "font_size",
"name": "font_size",
"type": "INT",
"widget": { "name": "font_size" },
"link": null
},
{
"localized_name": "font_color",
"name": "font_color",
"type": "STRING",
"widget": { "name": "font_color" },
"link": null
},
{
"localized_name": "label_color",
"name": "label_color",
"type": "STRING",
"widget": { "name": "label_color" },
"link": null
},
{
"localized_name": "font",
"name": "font",
"type": "COMBO",
"widget": { "name": "font" },
"link": null
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": { "name": "text" },
"link": null
},
{
"localized_name": "direction",
"name": "direction",
"type": "COMBO",
"widget": { "name": "direction" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2857]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "AddLabel",
"widget_ue_connectable": {
"text_x": true,
"text_y": true,
"height": true,
"font_size": true,
"font_color": true,
"label_color": true,
"font": true,
"text": true,
"direction": true
}
},
"widgets_values": [
10,
6,
48,
32,
"white",
"black",
"FreeMono.ttf",
"Preprocessors",
"up"
]
},
{
"id": 1600,
"type": "InpaintStitchImproved",
"pos": [16390, 730],
"size": [280, 46],
"flags": {},
"order": 229,
"mode": 0,
"inputs": [
{
"localized_name": "stitcher",
"name": "stitcher",
"type": "STITCHER",
"link": 2842
},
{
"localized_name": "inpainted_image",
"name": "inpainted_image",
"type": "IMAGE",
"link": 2850
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2855]
}
],
"properties": {
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.1.7",
"Node name for S&R": "InpaintStitchImproved",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1604,
"type": "ImageResizeKJv2",
"pos": [16380, 440],
"size": [290, 266],
"flags": {},
"order": 204,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2846
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2847
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2848
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2850]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1601,
"type": "ImageCompositeMasked",
"pos": [15970, 590],
"size": [315, 146],
"flags": {},
"order": 178,
"mode": 0,
"inputs": [
{
"localized_name": "destination",
"name": "destination",
"type": "IMAGE",
"link": 2844
},
{
"localized_name": "source",
"name": "source",
"type": "IMAGE",
"link": 2849
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2845
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": { "name": "x" },
"link": null
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": { "name": "y" },
"link": null
},
{
"localized_name": "resize_source",
"name": "resize_source",
"type": "BOOLEAN",
"widget": { "name": "resize_source" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [2846]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.29",
"Node name for S&R": "ImageCompositeMasked",
"widget_ue_connectable": { "x": true, "y": true, "resize_source": true }
},
"widgets_values": [0, 0, false]
},
{
"id": 1580,
"type": "GetNode",
"pos": [9120, 1650],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 80,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2870] }],
"title": "Get_controlDepthVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["controlDepthVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1578,
"type": "VHS_VideoCombine",
"pos": [9510, 1790],
"size": [260, 632.2105102539062],
"flags": { "collapsed": false },
"order": 205,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2811
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2812
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "WanVideoWrapperI2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapperI2V_00005.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "WanVideoWrapperI2V_00005.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\WanVideoWrapperI2V_00005.mp4"
}
}
}
},
{
"id": 1593,
"type": "GetNode",
"pos": [10250, 490],
"size": [233.43222045898438, 50],
"flags": { "collapsed": true },
"order": 81,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2873] }],
"title": "Get_originalControlDepthVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["originalControlDepthVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1352,
"type": "GetNode",
"pos": [7970, 480],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 82,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2374, 2939] }],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1354,
"type": "GetNode",
"pos": [7970, 510],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 83,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2375, 2940] }],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1112,
"type": "PreviewImage",
"pos": [4670, 1060],
"size": [240, 258],
"flags": {},
"order": 243,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2925
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "PreviewImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1362,
"type": "GetNode",
"pos": [4380, 430],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 84,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2393, 2395] }],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1115,
"type": "SetNode",
"pos": [4460, 1390],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 244,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2926 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_referenceImage",
"properties": {
"previousName": "referenceImage",
"widget_ue_connectable": {}
},
"widgets_values": ["referenceImage"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1109,
"type": "ImagePadKJ",
"pos": [4670, 740],
"size": [250, 262],
"flags": {},
"order": 230,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2022
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "target_width",
"name": "target_width",
"shape": 7,
"type": "INT",
"link": 2395
},
{
"localized_name": "target_height",
"name": "target_height",
"shape": 7,
"type": "INT",
"link": 2396
},
{
"localized_name": "left",
"name": "left",
"type": "INT",
"widget": { "name": "left" },
"link": null
},
{
"localized_name": "right",
"name": "right",
"type": "INT",
"widget": { "name": "right" },
"link": null
},
{
"localized_name": "top",
"name": "top",
"type": "INT",
"widget": { "name": "top" },
"link": null
},
{
"localized_name": "bottom",
"name": "bottom",
"type": "INT",
"widget": { "name": "bottom" },
"link": null
},
{
"localized_name": "extra_padding",
"name": "extra_padding",
"type": "INT",
"widget": { "name": "extra_padding" },
"link": null
},
{
"localized_name": "pad_mode",
"name": "pad_mode",
"type": "COMBO",
"widget": { "name": "pad_mode" },
"link": null
},
{
"localized_name": "color",
"name": "color",
"type": "STRING",
"widget": { "name": "color" },
"link": null
}
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"links": [2925, 2926]
},
{
"localized_name": "masks",
"name": "masks",
"type": "MASK",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "52c2e31a903fec2dd654fb614ea82ba2757d5028",
"Node name for S&R": "ImagePadKJ",
"widget_ue_connectable": {}
},
"widgets_values": [0, 0, 0, 0, 0, "color", "127,127,127"]
},
{
"id": 1111,
"type": "LayerUtility: ImageRemoveAlpha",
"pos": [4350, 1220],
"size": [280, 102],
"flags": {},
"order": 207,
"mode": 0,
"inputs": [
{
"localized_name": "RGBA_image",
"name": "RGBA_image",
"type": "IMAGE",
"link": 2027
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "fill_background",
"name": "fill_background",
"type": "BOOLEAN",
"widget": { "name": "fill_background" },
"link": null
},
{
"localized_name": "background_color",
"name": "background_color",
"type": "STRING",
"widget": { "name": "background_color" },
"link": null
}
],
"outputs": [
{
"localized_name": "RGB_image",
"name": "RGB_image",
"type": "IMAGE",
"links": [2022]
}
],
"properties": {
"cnr_id": "comfyui_layerstyle",
"ver": "7b326d13e43fc4022cd80e472c7af67027409b1e",
"Node name for S&R": "LayerUtility: ImageRemoveAlpha",
"widget_ue_connectable": {}
},
"widgets_values": [true, "#808080"],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 1363,
"type": "GetNode",
"pos": [4380, 460],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 85,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2394, 2396] }],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1104,
"type": "GetNode",
"pos": [10250, 460],
"size": [227.98397827148438, 60],
"flags": { "collapsed": true },
"order": 86,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2886] }],
"title": "Get_originalControlPoseVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["originalControlPoseVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1582,
"type": "ImageCompositeMasked",
"pos": [9130, 1750],
"size": [315, 146],
"flags": {},
"order": 147,
"mode": 0,
"inputs": [
{
"localized_name": "destination",
"name": "destination",
"type": "IMAGE",
"link": 2815
},
{
"localized_name": "source",
"name": "source",
"type": "IMAGE",
"link": 2870
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2817
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": { "name": "x" },
"link": null
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": { "name": "y" },
"link": null
},
{
"localized_name": "resize_source",
"name": "resize_source",
"type": "BOOLEAN",
"widget": { "name": "resize_source" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [2806]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.29",
"Node name for S&R": "ImageCompositeMasked",
"widget_ue_connectable": { "x": true, "y": true, "resize_source": true }
},
"widgets_values": [0, 0, false]
},
{
"id": 1006,
"type": "VHS_VideoCombine",
"pos": [9510, 710],
"size": [260, 632.2105102539062],
"flags": { "collapsed": false },
"order": 202,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 1863
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 1864
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "._00003.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "._00003.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\._00003.mp4"
}
}
}
},
{
"id": 1630,
"type": "ImageInvert",
"pos": [8760, 440],
"size": [260, 30],
"flags": {},
"order": 231,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2945
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2901]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageInvert",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1631,
"type": "ImageBlend",
"pos": [8760, 530],
"size": [260, 102],
"flags": {},
"order": 245,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 2902
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 2901
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
},
{
"localized_name": "blend_mode",
"name": "blend_mode",
"type": "COMBO",
"widget": { "name": "blend_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2909, 2910]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageBlend",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "normal"]
},
{
"id": 978,
"type": "SetNode",
"pos": [8500, 1380],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 255,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2910 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_controlPoseVideo",
"properties": {
"previousName": "controlPoseVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["controlPoseVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 775,
"type": "ImageResizeKJv2",
"pos": [8340, 720],
"size": [310, 266],
"flags": {},
"order": 181,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2947
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2374
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2375
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2902]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 706,
"type": "GetNode",
"pos": [7970, 420],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 87,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "IMAGE", "type": "IMAGE", "links": [1970, 1972, 2937] }
],
"title": "Get_croppedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 460,
"type": "VHS_VideoCombine",
"pos": [8760, 710],
"size": [260, 632.2105102539062],
"flags": { "collapsed": false },
"order": 254,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2909
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 1409
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "._00002.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "._00002.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\._00002.mp4"
}
}
}
},
{
"id": 1595,
"type": "ImageBlend",
"pos": [15970, 440],
"size": [315, 102],
"flags": {},
"order": 146,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 2840
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 2839
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
},
{
"localized_name": "blend_mode",
"name": "blend_mode",
"type": "COMBO",
"widget": { "name": "blend_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2849]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageBlend",
"widget_ue_connectable": {}
},
"widgets_values": [0.5000000000000001, "screen"]
},
{
"id": 735,
"type": "SetNode",
"pos": [6560, 2090],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 282,
"mode": 0,
"inputs": [{ "name": "MASK", "type": "MASK", "link": 1954 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_blurredObjectMask",
"properties": {
"previousName": "blurredObjectMask",
"widget_ue_connectable": {}
},
"widgets_values": ["blurredObjectMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 1411,
"type": "MathExpression|pysssss",
"pos": [5570, 1900],
"size": [210, 128],
"flags": {},
"order": 267,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2465
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2466
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2454, 2455]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Highest Size",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["max(a, b)"]
},
{
"id": 1425,
"type": "MathExpression|pysssss",
"pos": [5240, 1640],
"size": [270, 128],
"flags": {},
"order": 137,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 2472
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [2473]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Mid video frame",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"widget_ue_connectable": {}
},
"widgets_values": ["a / 2 - 1"]
},
{
"id": 562,
"type": "VHS_VideoCombine",
"pos": [15070, 1170],
"size": [2000, 1580.8302001953125],
"flags": {},
"order": 269,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2861
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 1408
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "%date:yyyy-MM-dd%/%date:hhmmss%_video_comparison",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": false,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "191544_video_comparison_00001.mp4",
"subfolder": "2025-05-29",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "191544_video_comparison_00001.png",
"fullpath": ""
}
}
}
},
{
"id": 1645,
"type": "ImageResizeKJv2",
"pos": [8010, 1090],
"size": [260, 266],
"flags": {},
"order": 208,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2951
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2939
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2940
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2945]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1669,
"type": "GetNode",
"pos": [8000, 1530],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 88,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "FLOAT", "type": "FLOAT", "links": [2971] }],
"title": "Get_frameRate",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1670,
"type": "GetNode",
"pos": [8000, 1560],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 89,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "INT", "type": "INT", "links": [2965, 2968, 2978] }
],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1569,
"type": "ImageResizeKJv2",
"pos": [9480, 1500],
"size": [290, 266],
"flags": {},
"order": 179,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2806
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2807
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2808
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2811, 2983]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1461,
"type": "VHS_DuplicateImages",
"pos": [6020, 2890],
"size": [260, 78],
"flags": {},
"order": 273,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2530
},
{
"localized_name": "multiply_by",
"name": "multiply_by",
"type": "INT",
"widget": { "name": "multiply_by" },
"link": 2651
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2740]
},
{
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "1.6.1",
"Node name for S&R": "VHS_DuplicateImages",
"widget_ue_connectable": {}
},
"widgets_values": { "multiply_by": 1 }
},
{
"id": 1540,
"type": "MaskToImage",
"pos": [6020, 3020],
"size": [260, 26],
"flags": {},
"order": 201,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2769
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2743]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "MaskToImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1541,
"type": "ImageCropByMask",
"pos": [6020, 3100],
"size": [260, 46],
"flags": {},
"order": 228,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2743
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2770
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2746]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "ImageCropByMask",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 1592,
"type": "WanVideoVACEEncode",
"pos": [10440, 960],
"size": [330, 282],
"flags": {},
"order": 189,
"mode": 0,
"inputs": [
{
"localized_name": "vae",
"name": "vae",
"type": "WANVAE",
"link": 2829
},
{
"localized_name": "input_frames",
"name": "input_frames",
"shape": 7,
"type": "IMAGE",
"link": 2873
},
{
"localized_name": "ref_images",
"name": "ref_images",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "input_masks",
"name": "input_masks",
"shape": 7,
"type": "MASK",
"link": 2831
},
{
"localized_name": "prev_vace_embeds",
"name": "prev_vace_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": 2935
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2833
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2834
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 2835
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
},
{
"localized_name": "vace_start_percent",
"name": "vace_start_percent",
"type": "FLOAT",
"widget": { "name": "vace_start_percent" },
"link": null
},
{
"localized_name": "vace_end_percent",
"name": "vace_end_percent",
"type": "FLOAT",
"widget": { "name": "vace_end_percent" },
"link": null
},
{
"localized_name": "tiled_vae",
"name": "tiled_vae",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "tiled_vae" },
"link": null
}
],
"outputs": [
{
"localized_name": "vace_embeds",
"name": "vace_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [2871]
}
],
"title": "Depth Encode",
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "6aec1d97a8c1f1f97b53cd4c6703b8a0970c43d2",
"Node name for S&R": "WanVideoVACEEncode",
"widget_ue_connectable": {}
},
"widgets_values": [832, 480, 81, 0.20000000000000004, 0, 1, true]
},
{
"id": 1666,
"type": "DepthCrafter",
"pos": [8000, 1790],
"size": [278.73828125, 174],
"flags": {},
"order": 153,
"mode": 0,
"inputs": [
{
"localized_name": "depthcrafter_model",
"name": "depthcrafter_model",
"type": "DEPTHCRAFTER_MODEL",
"link": 2962
},
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2964
},
{
"localized_name": "force_size",
"name": "force_size",
"type": "BOOLEAN",
"widget": { "name": "force_size" },
"link": null
},
{
"localized_name": "num_inference_steps",
"name": "num_inference_steps",
"type": "INT",
"widget": { "name": "num_inference_steps" },
"link": null
},
{
"localized_name": "guidance_scale",
"name": "guidance_scale",
"type": "FLOAT",
"widget": { "name": "guidance_scale" },
"link": null
},
{
"localized_name": "window_size",
"name": "window_size",
"type": "INT",
"widget": { "name": "window_size" },
"link": null
},
{
"localized_name": "overlap",
"name": "overlap",
"type": "INT",
"widget": { "name": "overlap" },
"link": null
}
],
"outputs": [
{
"localized_name": "depth_maps",
"name": "depth_maps",
"type": "IMAGE",
"links": [2952, 2957]
}
],
"properties": {
"cnr_id": "comfyui-depthcrafter-nodes",
"ver": "1.2.0",
"Node name for S&R": "DepthCrafter",
"widget_ue_connectable": {}
},
"widgets_values": [true, 5, 1, 110, 25]
},
{
"id": 1662,
"type": "ImageResizeKJv2",
"pos": [8010, 2020],
"size": [270, 266],
"flags": {},
"order": 184,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2957
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2965
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2966
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2959]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1668,
"type": "GetNode",
"pos": [8000, 1500],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 90,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2964, 2973] }],
"title": "Get_croppedVideo",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1657,
"type": "DetailTransfer",
"pos": [8360, 1780],
"size": [270, 146],
"flags": {},
"order": 209,
"mode": 0,
"inputs": [
{
"localized_name": "target",
"name": "target",
"type": "IMAGE",
"link": 2953
},
{
"localized_name": "source",
"name": "source",
"type": "IMAGE",
"link": 2973
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "mode",
"name": "mode",
"type": "COMBO",
"widget": { "name": "mode" },
"link": null
},
{
"localized_name": "blur_sigma",
"name": "blur_sigma",
"type": "FLOAT",
"widget": { "name": "blur_sigma" },
"link": null
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2954]
}
],
"properties": {
"aux_id": "AIWarper/ComfyUI-NormalCrafterWrapper",
"ver": "95046ac2c781c6448796c14bf76196b47a28ae5f",
"Node name for S&R": "DetailTransfer",
"widget_ue_connectable": {}
},
"widgets_values": ["add", 1, 1]
},
{
"id": 1658,
"type": "ImageDesaturate+",
"pos": [8360, 1980],
"size": [270, 82],
"flags": {},
"order": 232,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2954
},
{
"localized_name": "factor",
"name": "factor",
"type": "FLOAT",
"widget": { "name": "factor" },
"link": null
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": { "name": "method" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2955]
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
"Node name for S&R": "ImageDesaturate+",
"widget_ue_connectable": {}
},
"widgets_values": [1, "luminance (Rec.709)"]
},
{
"id": 1659,
"type": "JWImageContrast",
"pos": [8360, 2120],
"size": [270, 58],
"flags": {},
"order": 246,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2955
},
{
"localized_name": "factor",
"name": "factor",
"type": "FLOAT",
"widget": { "name": "factor" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2963]
}
],
"properties": {
"cnr_id": "comfyui-various",
"ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
"Node name for S&R": "JWImageContrast",
"widget_ue_connectable": {}
},
"widgets_values": [1.5000000000000002]
},
{
"id": 1667,
"type": "ImageResizeKJv2",
"pos": [8360, 2230],
"size": [270, 266],
"flags": {},
"order": 256,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2963
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2968
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2969
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "keep_proportion",
"name": "keep_proportion",
"type": "COMBO",
"widget": { "name": "keep_proportion" },
"link": null
},
{
"localized_name": "pad_color",
"name": "pad_color",
"type": "STRING",
"widget": { "name": "pad_color" },
"link": null
},
{
"localized_name": "crop_position",
"name": "crop_position",
"type": "COMBO",
"widget": { "name": "crop_position" },
"link": null
},
{
"localized_name": "divisible_by",
"name": "divisible_by",
"type": "INT",
"widget": { "name": "divisible_by" },
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": { "name": "device" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2960]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": []
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "ImageResizeKJv2",
"widget_ue_connectable": {
"width": true,
"height": true,
"upscale_method": true,
"keep_proportion": true,
"pad_color": true,
"crop_position": true,
"divisible_by": true
}
},
"widgets_values": [
512,
512,
"lanczos",
"crop",
"0, 0, 0",
"center",
16,
"cpu"
]
},
{
"id": 1673,
"type": "CR Color Panel",
"pos": [8750, 1660],
"size": [270, 150],
"flags": {},
"order": 152,
"mode": 0,
"inputs": [
{
"localized_name": "panel_width",
"name": "panel_width",
"type": "INT",
"widget": { "name": "panel_width" },
"link": 2978
},
{
"localized_name": "panel_height",
"name": "panel_height",
"type": "INT",
"widget": { "name": "panel_height" },
"link": 2979
},
{
"localized_name": "fill_color",
"name": "fill_color",
"type": "COMBO",
"widget": { "name": "fill_color" },
"link": null
},
{
"localized_name": "fill_color_hex",
"name": "fill_color_hex",
"shape": 7,
"type": "STRING",
"widget": { "name": "fill_color_hex" },
"link": null
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [2977]
},
{
"localized_name": "show_help",
"name": "show_help",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "ComfyUI_Comfyroll_CustomNodes",
"ver": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
"Node name for S&R": "CR Color Panel",
"widget_ue_connectable": {}
},
"widgets_values": [512, 512, "custom", "#FFFFFF"]
},
{
"id": 1674,
"type": "ImageBlend",
"pos": [8750, 1850],
"size": [270, 102],
"flags": {},
"order": 270,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 2980
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 2977
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
},
{
"localized_name": "blend_mode",
"name": "blend_mode",
"type": "COMBO",
"widget": { "name": "blend_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2981, 2982]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.34",
"Node name for S&R": "ImageBlend",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "normal"]
},
{
"id": 1665,
"type": "VHS_VideoCombine",
"pos": [8750, 2000],
"size": [260, 632.2105102539062],
"flags": {},
"order": 274,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2981
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2971
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "._00001.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "._00001.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\._00001.mp4"
}
}
}
},
{
"id": 1664,
"type": "ImageBlend",
"pos": [8760, 1500],
"size": [250, 102],
"flags": {},
"order": 265,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 2959
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 2960
},
{
"localized_name": "blend_factor",
"name": "blend_factor",
"type": "FLOAT",
"widget": { "name": "blend_factor" },
"link": null
},
{
"localized_name": "blend_mode",
"name": "blend_mode",
"type": "COMBO",
"widget": { "name": "blend_mode" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2980]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.28",
"Node name for S&R": "ImageBlend",
"widget_ue_connectable": { "blend_factor": true, "blend_mode": true }
},
"widgets_values": [0.5000000000000001, "multiply"]
},
{
"id": 1656,
"type": "NormalCrafterNode",
"pos": [8360, 1500],
"size": [270, 222],
"flags": {},
"order": 183,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2952
},
{
"localized_name": "pipe_override",
"name": "pipe_override",
"shape": 7,
"type": "NORMALCRAFTER_PIPE",
"link": null
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": { "name": "seed" },
"link": null
},
{
"localized_name": "max_res_dimension",
"name": "max_res_dimension",
"type": "INT",
"widget": { "name": "max_res_dimension" },
"link": null
},
{
"localized_name": "window_size",
"name": "window_size",
"type": "INT",
"widget": { "name": "window_size" },
"link": null
},
{
"localized_name": "time_step_size",
"name": "time_step_size",
"type": "INT",
"widget": { "name": "time_step_size" },
"link": null
},
{
"localized_name": "decode_chunk_size",
"name": "decode_chunk_size",
"type": "INT",
"widget": { "name": "decode_chunk_size" },
"link": null
},
{
"localized_name": "offload_pipe_to_cpu_on_finish",
"name": "offload_pipe_to_cpu_on_finish",
"type": "BOOLEAN",
"widget": { "name": "offload_pipe_to_cpu_on_finish" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2953]
}
],
"properties": {
"aux_id": "AIWarper/ComfyUI-NormalCrafterWrapper",
"ver": "95046ac2c781c6448796c14bf76196b47a28ae5f",
"Node name for S&R": "NormalCrafterNode",
"widget_ue_connectable": {}
},
"widgets_values": [132424532523, "fixed", 1024, 14, 10, 4, true]
},
{
"id": 1590,
"type": "SetNode",
"pos": [8440, 2530],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 275,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2982 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_controlDepthVideo",
"properties": {
"previousName": "controlDepthVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["controlDepthVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 1671,
"type": "GetNode",
"pos": [8000, 1590],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 91,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "INT", "type": "INT", "links": [2966, 2969, 2979] }
],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1661,
"type": "DownloadAndLoadDepthCrafterModel",
"pos": [8000, 1650],
"size": [276.4917907714844, 82],
"flags": {},
"order": 92,
"mode": 0,
"inputs": [
{
"localized_name": "enable_model_cpu_offload",
"name": "enable_model_cpu_offload",
"type": "BOOLEAN",
"widget": { "name": "enable_model_cpu_offload" },
"link": null
},
{
"localized_name": "enable_sequential_cpu_offload",
"name": "enable_sequential_cpu_offload",
"type": "BOOLEAN",
"widget": { "name": "enable_sequential_cpu_offload" },
"link": null
}
],
"outputs": [
{
"localized_name": "depthcrafter_model",
"name": "depthcrafter_model",
"type": "DEPTHCRAFTER_MODEL",
"links": [2962]
}
],
"properties": {
"cnr_id": "comfyui-depthcrafter-nodes",
"ver": "1.2.0",
"Node name for S&R": "DownloadAndLoadDepthCrafterModel",
"widget_ue_connectable": {}
},
"widgets_values": [true, false]
},
{
"id": 1591,
"type": "SetNode",
"pos": [9250, 2540],
"size": [231.88046264648438, 58],
"flags": { "collapsed": true },
"order": 206,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 2983 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_originalControlDepthVideo",
"properties": {
"previousName": "originalControlDepthVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["originalControlDepthVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 523,
"type": "WanVideoBlockSwap",
"pos": [3940, 1790],
"size": [380, 154],
"flags": { "collapsed": false },
"order": 93,
"mode": 0,
"inputs": [
{
"localized_name": "blocks_to_swap",
"name": "blocks_to_swap",
"type": "INT",
"widget": { "name": "blocks_to_swap" },
"link": null
},
{
"localized_name": "offload_img_emb",
"name": "offload_img_emb",
"type": "BOOLEAN",
"widget": { "name": "offload_img_emb" },
"link": null
},
{
"localized_name": "offload_txt_emb",
"name": "offload_txt_emb",
"type": "BOOLEAN",
"widget": { "name": "offload_txt_emb" },
"link": null
},
{
"localized_name": "use_non_blocking",
"name": "use_non_blocking",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "use_non_blocking" },
"link": null
},
{
"localized_name": "vace_blocks_to_swap",
"name": "vace_blocks_to_swap",
"shape": 7,
"type": "INT",
"widget": { "name": "vace_blocks_to_swap" },
"link": null
}
],
"outputs": [
{
"label": "block_swap_args",
"localized_name": "block_swap_args",
"name": "block_swap_args",
"type": "BLOCKSWAPARGS",
"links": [993]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "WanVideoBlockSwap",
"widget_ue_connectable": {
"blocks_to_swap": true,
"offload_img_emb": true,
"offload_txt_emb": true,
"use_non_blocking": true,
"vace_blocks_to_swap": true
}
},
"widgets_values": [15, false, false, true, 5]
},
{
"id": 407,
"type": "WanVideoDecode",
"pos": [10450, 1650],
"size": [315, 174],
"flags": {},
"order": 261,
"mode": 0,
"inputs": [
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"type": "WANVAE",
"link": 1384
},
{
"label": "samples",
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 698
},
{
"localized_name": "enable_vae_tiling",
"name": "enable_vae_tiling",
"type": "BOOLEAN",
"widget": { "name": "enable_vae_tiling" },
"link": null
},
{
"localized_name": "tile_x",
"name": "tile_x",
"type": "INT",
"widget": { "name": "tile_x" },
"link": null
},
{
"localized_name": "tile_y",
"name": "tile_y",
"type": "INT",
"widget": { "name": "tile_y" },
"link": null
},
{
"localized_name": "tile_stride_x",
"name": "tile_stride_x",
"type": "INT",
"widget": { "name": "tile_stride_x" },
"link": null
},
{
"localized_name": "tile_stride_y",
"name": "tile_stride_y",
"type": "INT",
"widget": { "name": "tile_stride_y" },
"link": null
}
],
"outputs": [
{
"label": "images",
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [2133]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "WanVideoDecode",
"widget_ue_connectable": {
"enable_vae_tiling": true,
"tile_x": true,
"tile_y": true,
"tile_stride_x": true,
"tile_stride_y": true
}
},
"widgets_values": [true, 272, 272, 144, 128]
},
{
"id": 723,
"type": "GetNode",
"pos": [10250, 550],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 94,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "WANVAE",
"type": "WANVAE",
"links": [1384, 1854, 2829, 2928, 2989, 2994]
}
],
"title": "Get_vae",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["vae"]
},
{
"id": 1680,
"type": "Image Blank",
"pos": [10030, 1080],
"size": [340, 154],
"flags": {},
"order": 155,
"mode": 4,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2999
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 3000
},
{
"localized_name": "red",
"name": "red",
"type": "INT",
"widget": { "name": "red" },
"link": null
},
{
"localized_name": "green",
"name": "green",
"type": "INT",
"widget": { "name": "green" },
"link": null
},
{
"localized_name": "blue",
"name": "blue",
"type": "INT",
"widget": { "name": "blue" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2987]
}
],
"properties": {
"cnr_id": "was-node-suite-comfyui",
"ver": "1cd8d304eda256c412b8589ce1f00be3c61cf9ec",
"Node name for S&R": "Image Blank",
"widget_ue_connectable": {}
},
"widgets_values": [512, 512, 255, 255, 255]
},
{
"id": 1681,
"type": "ImageToMask",
"pos": [10030, 1290],
"size": [340, 58],
"flags": {},
"order": 185,
"mode": 4,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 2987
},
{
"localized_name": "channel",
"name": "channel",
"type": "COMBO",
"widget": { "name": "channel" },
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2988]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "ImageToMask",
"widget_ue_connectable": {}
},
"widgets_values": ["red"]
},
{
"id": 1682,
"type": "VHS_DuplicateMasks",
"pos": [10030, 1400],
"size": [340, 78],
"flags": {},
"order": 210,
"mode": 4,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2988
},
{
"localized_name": "multiply_by",
"name": "multiply_by",
"type": "INT",
"widget": { "name": "multiply_by" },
"link": 3001
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [2991]
},
{
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "1.6.1",
"Node name for S&R": "VHS_DuplicateMasks",
"widget_ue_connectable": {}
},
"widgets_values": { "multiply_by": 1 }
},
{
"id": 1015,
"type": "GetNode",
"pos": [10250, 430],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 95,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "IMAGE", "type": "IMAGE", "links": [2934, 2995] }],
"title": "Get_referenceImage",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["referenceImage"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 677,
"type": "VHS_VideoCombine",
"pos": [13250, 610],
"size": [219.3603515625, 460.8454895019531],
"flags": { "collapsed": false },
"order": 257,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 1302
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2407
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 23.967,
"loop_count": 0,
"filename_prefix": "",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "._00005.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "._00005.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\._00005.mp4"
}
}
}
},
{
"id": 998,
"type": "WanVideoVACEEncode",
"pos": [10440, 1300],
"size": [330, 282],
"flags": {},
"order": 215,
"mode": 0,
"inputs": [
{
"localized_name": "vae",
"name": "vae",
"type": "WANVAE",
"link": 1854
},
{
"localized_name": "input_frames",
"name": "input_frames",
"shape": 7,
"type": "IMAGE",
"link": 2886
},
{
"localized_name": "ref_images",
"name": "ref_images",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "input_masks",
"name": "input_masks",
"shape": 7,
"type": "MASK",
"link": 2323
},
{
"localized_name": "prev_vace_embeds",
"name": "prev_vace_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": 2871
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2379
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2381
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 1862
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
},
{
"localized_name": "vace_start_percent",
"name": "vace_start_percent",
"type": "FLOAT",
"widget": { "name": "vace_start_percent" },
"link": null
},
{
"localized_name": "vace_end_percent",
"name": "vace_end_percent",
"type": "FLOAT",
"widget": { "name": "vace_end_percent" },
"link": null
},
{
"localized_name": "tiled_vae",
"name": "tiled_vae",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "tiled_vae" },
"link": null
}
],
"outputs": [
{
"localized_name": "vace_embeds",
"name": "vace_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [2992]
}
],
"title": "Pose Encode",
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "6aec1d97a8c1f1f97b53cd4c6703b8a0970c43d2",
"Node name for S&R": "WanVideoVACEEncode",
"widget_ue_connectable": {}
},
"widgets_values": [832, 480, 81, 0.8000000000000002, 0, 1, true]
},
{
"id": 1357,
"type": "GetNode",
"pos": [10010, 440],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 96,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [2379, 2833, 2931, 2996, 2999]
}
],
"title": "Get_croppedWidth",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1358,
"type": "GetNode",
"pos": [10010, 470],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 97,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [2381, 2834, 2932, 2997, 3000]
}
],
"title": "Get_croppedHeight",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 1684,
"type": "WanVideoVACEEncode",
"pos": [10030, 1530],
"size": [340, 282],
"flags": {},
"order": 234,
"mode": 4,
"inputs": [
{
"localized_name": "vae",
"name": "vae",
"type": "WANVAE",
"link": 2994
},
{
"localized_name": "input_frames",
"name": "input_frames",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "ref_images",
"name": "ref_images",
"shape": 7,
"type": "IMAGE",
"link": 2995
},
{
"localized_name": "input_masks",
"name": "input_masks",
"shape": 7,
"type": "MASK",
"link": 2991
},
{
"localized_name": "prev_vace_embeds",
"name": "prev_vace_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": 2992
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2996
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2997
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 2998
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
},
{
"localized_name": "vace_start_percent",
"name": "vace_start_percent",
"type": "FLOAT",
"widget": { "name": "vace_start_percent" },
"link": null
},
{
"localized_name": "vace_end_percent",
"name": "vace_end_percent",
"type": "FLOAT",
"widget": { "name": "vace_end_percent" },
"link": null
},
{
"localized_name": "tiled_vae",
"name": "tiled_vae",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "tiled_vae" },
"link": null
}
],
"outputs": [
{
"localized_name": "vace_embeds",
"name": "vace_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [2993]
}
],
"title": "Dummy Encode",
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "6aec1d97a8c1f1f97b53cd4c6703b8a0970c43d2",
"Node name for S&R": "WanVideoVACEEncode",
"widget_ue_connectable": {}
},
"widgets_values": [832, 480, 81, 0, 0, 0.010000000000000002, true]
},
{
"id": 595,
"type": "WanVideoLoraSelect",
"pos": [3510, 1750],
"size": [350, 126],
"flags": {},
"order": 98,
"mode": 0,
"inputs": [
{
"localized_name": "prev_lora",
"name": "prev_lora",
"shape": 7,
"type": "WANVIDLORA",
"link": null
},
{
"localized_name": "blocks",
"name": "blocks",
"shape": 7,
"type": "SELECTEDBLOCKS",
"link": null
},
{
"localized_name": "lora",
"name": "lora",
"type": "COMBO",
"widget": { "name": "lora" },
"link": null
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
},
{
"localized_name": "low_mem_load",
"name": "low_mem_load",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "low_mem_load" },
"link": null
}
],
"outputs": [
{
"localized_name": "lora",
"name": "lora",
"type": "WANVIDLORA",
"slot_index": 0,
"links": [1956]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "778765ba2a444ab43024318dffd5b9805d44c6f6",
"Node name for S&R": "WanVideoLoraSelect",
"widget_ue_connectable": {
"lora": true,
"strength": true,
"low_mem_load": true
}
},
"widgets_values": [
"wanvideo\\arnold_schwarzenegger.safetensors",
0.8000000000000002,
false
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 747,
"type": "SetNode",
"pos": [4070, 800],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 191,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 1413 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_originalVideoFrames",
"properties": {
"previousName": "originalVideoFrames",
"widget_ue_connectable": {}
},
"widgets_values": ["originalVideoFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 691,
"type": "SetNode",
"pos": [4070, 830],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 236,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 1488 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_resizedWidth",
"properties": {
"previousName": "resizedWidth",
"widget_ue_connectable": {}
},
"widgets_values": ["resizedWidth"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 692,
"type": "SetNode",
"pos": [4070, 860],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 237,
"mode": 0,
"inputs": [{ "name": "INT", "type": "INT", "link": 1489 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_resizedHeight",
"properties": {
"previousName": "resizedHeight",
"widget_ue_connectable": {}
},
"widgets_values": ["resizedHeight"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 693,
"type": "SetNode",
"pos": [4070, 890],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 163,
"mode": 0,
"inputs": [{ "name": "FLOAT", "type": "FLOAT", "link": 1346 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_frameRate",
"properties": {
"previousName": "frameRate",
"widget_ue_connectable": {}
},
"widgets_values": ["frameRate"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 695,
"type": "SetNode",
"pos": [4070, 920],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 217,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 1492 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_originalVideo",
"properties": {
"previousName": "originalVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["originalVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 380,
"type": "WanVideoTextEncode",
"pos": [4470, 1840],
"size": [410, 220],
"flags": {},
"order": 131,
"mode": 0,
"inputs": [
{
"label": "t5",
"localized_name": "t5",
"name": "t5",
"type": "WANTEXTENCODER",
"link": 665
},
{
"localized_name": "model_to_offload",
"name": "model_to_offload",
"shape": 7,
"type": "WANVIDEOMODEL",
"link": null
},
{
"localized_name": "positive_prompt",
"name": "positive_prompt",
"type": "STRING",
"widget": { "name": "positive_prompt" },
"link": 1713
},
{
"localized_name": "negative_prompt",
"name": "negative_prompt",
"type": "STRING",
"widget": { "name": "negative_prompt" },
"link": null
},
{
"localized_name": "force_offload",
"name": "force_offload",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "force_offload" },
"link": null
}
],
"outputs": [
{
"label": "text_embeds",
"localized_name": "text_embeds",
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"links": [1830]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "WanVideoTextEncode",
"widget_ue_connectable": {
"positive_prompt": true,
"negative_prompt": true,
"force_offload": true
}
},
"widgets_values": [
"a man, frustrated, moving out of the bed.",
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
true
]
},
{
"id": 995,
"type": "Bookmark (rgthree)",
"pos": [3470, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 99,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["1", 0.6]
},
{
"id": 1654,
"type": "Note",
"pos": [3510, 1590],
"size": [340, 100],
"flags": {},
"order": 100,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Prompts",
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Adjust the lora strength based on the head size on the tiled video.\n\nHead too small = strength 1 (compromises facial movements)\nHead too big = strength 0.7"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1685,
"type": "Note",
"pos": [3510, 920],
"size": [210, 88],
"flags": {},
"order": 101,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Prompts",
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Min Crop Size = Short side size after to crop and send it to the sampler."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1048,
"type": "ImageFromBatch+",
"pos": [5430, 440],
"size": [315, 82],
"flags": {},
"order": 136,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1944
},
{
"localized_name": "start",
"name": "start",
"type": "INT",
"widget": { "name": "start" },
"link": null
},
{
"localized_name": "length",
"name": "length",
"type": "INT",
"widget": { "name": "length" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [1951]
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
"Node name for S&R": "ImageFromBatch+",
"widget_ue_connectable": { "start": true, "length": true }
},
"widgets_values": [0, 1]
},
{
"id": 1045,
"type": "Note",
"pos": [5420, 580],
"size": [210, 100],
"flags": {},
"order": 102,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Turn 'stop' to true when running first time, so you add the correct points. After that, to continue the process, turn 'stop' to false and hit Run again."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1371,
"type": "Note",
"pos": [7100, 1360],
"size": [210, 88],
"flags": {},
"order": 103,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Ensuring all values (width, height, tile size) are divisible by 16."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1399,
"type": "GrowMaskWithBlur",
"pos": [6150, 830],
"size": [270, 246],
"flags": {},
"order": 276,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2434
},
{
"localized_name": "expand",
"name": "expand",
"type": "INT",
"widget": { "name": "expand" },
"link": 2467
},
{
"localized_name": "incremental_expandrate",
"name": "incremental_expandrate",
"type": "FLOAT",
"widget": { "name": "incremental_expandrate" },
"link": null
},
{
"localized_name": "tapered_corners",
"name": "tapered_corners",
"type": "BOOLEAN",
"widget": { "name": "tapered_corners" },
"link": null
},
{
"localized_name": "flip_input",
"name": "flip_input",
"type": "BOOLEAN",
"widget": { "name": "flip_input" },
"link": null
},
{
"localized_name": "blur_radius",
"name": "blur_radius",
"type": "FLOAT",
"widget": { "name": "blur_radius" },
"link": null
},
{
"localized_name": "lerp_alpha",
"name": "lerp_alpha",
"type": "FLOAT",
"widget": { "name": "lerp_alpha" },
"link": null
},
{
"localized_name": "decay_factor",
"name": "decay_factor",
"type": "FLOAT",
"widget": { "name": "decay_factor" },
"link": null
},
{
"localized_name": "fill_holes",
"name": "fill_holes",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "fill_holes" },
"link": null
}
],
"outputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"links": [2435, 2436, 2453]
},
{
"localized_name": "mask_inverted",
"name": "mask_inverted",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "402124d5c4154c29a9c44f73315044bc02702d71",
"Node name for S&R": "GrowMaskWithBlur",
"widget_ue_connectable": {
"expand": true,
"incremental_expandrate": true,
"tapered_corners": true,
"flip_input": true,
"blur_radius": true,
"lerp_alpha": true,
"decay_factor": true,
"fill_holes": true
}
},
"widgets_values": [5, 0, false, false, 0, 1, 1, false]
},
{
"id": 1407,
"type": "ImageAndMaskPreview",
"pos": [6150, 1140],
"size": [270, 126],
"flags": {},
"order": 280,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 2449
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2453
},
{
"localized_name": "mask_opacity",
"name": "mask_opacity",
"type": "FLOAT",
"widget": { "name": "mask_opacity" },
"link": null
},
{
"localized_name": "mask_color",
"name": "mask_color",
"type": "STRING",
"widget": { "name": "mask_color" },
"link": null
},
{
"localized_name": "pass_through",
"name": "pass_through",
"type": "BOOLEAN",
"widget": { "name": "pass_through" },
"link": null
}
],
"outputs": [
{
"localized_name": "composite",
"name": "composite",
"type": "IMAGE",
"links": [2451]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1a4259f05206d7360be7a90145b5839d5b64d893",
"Node name for S&R": "ImageAndMaskPreview",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "255, 0, 255", true]
},
{
"id": 1406,
"type": "ImageAndMaskPreview",
"pos": [6450, 890],
"size": [270, 126],
"flags": {},
"order": 283,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 2446
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 2447
},
{
"localized_name": "mask_opacity",
"name": "mask_opacity",
"type": "FLOAT",
"widget": { "name": "mask_opacity" },
"link": null
},
{
"localized_name": "mask_color",
"name": "mask_color",
"type": "STRING",
"widget": { "name": "mask_color" },
"link": null
},
{
"localized_name": "pass_through",
"name": "pass_through",
"type": "BOOLEAN",
"widget": { "name": "pass_through" },
"link": null
}
],
"outputs": [
{
"localized_name": "composite",
"name": "composite",
"type": "IMAGE",
"links": [2448]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1a4259f05206d7360be7a90145b5839d5b64d893",
"Node name for S&R": "ImageAndMaskPreview",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "255, 0, 255", true]
},
{
"id": 1044,
"type": "VHS_VideoCombine",
"pos": [6460, 1080],
"size": [260, 483.84906005859375],
"flags": { "collapsed": false },
"order": 286,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2448
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 1943
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "WanVideoWrapperI2V",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "WanVideoWrapperI2V_00002.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "WanVideoWrapperI2V_00002.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\WanVideoWrapperI2V_00002.mp4"
}
}
}
},
{
"id": 1052,
"type": "GrowMaskWithBlur",
"pos": [6430, 580],
"size": [290, 246],
"flags": {},
"order": 279,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2436
},
{
"localized_name": "expand",
"name": "expand",
"type": "INT",
"widget": { "name": "expand" },
"link": 2468
},
{
"localized_name": "incremental_expandrate",
"name": "incremental_expandrate",
"type": "FLOAT",
"widget": { "name": "incremental_expandrate" },
"link": null
},
{
"localized_name": "tapered_corners",
"name": "tapered_corners",
"type": "BOOLEAN",
"widget": { "name": "tapered_corners" },
"link": null
},
{
"localized_name": "flip_input",
"name": "flip_input",
"type": "BOOLEAN",
"widget": { "name": "flip_input" },
"link": null
},
{
"localized_name": "blur_radius",
"name": "blur_radius",
"type": "FLOAT",
"widget": { "name": "blur_radius" },
"link": 2469
},
{
"localized_name": "lerp_alpha",
"name": "lerp_alpha",
"type": "FLOAT",
"widget": { "name": "lerp_alpha" },
"link": null
},
{
"localized_name": "decay_factor",
"name": "decay_factor",
"type": "FLOAT",
"widget": { "name": "decay_factor" },
"link": null
},
{
"localized_name": "fill_holes",
"name": "fill_holes",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "fill_holes" },
"link": null
}
],
"outputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"links": [1954, 2447]
},
{
"localized_name": "mask_inverted",
"name": "mask_inverted",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "402124d5c4154c29a9c44f73315044bc02702d71",
"Node name for S&R": "GrowMaskWithBlur",
"widget_ue_connectable": {
"expand": true,
"incremental_expandrate": true,
"tapered_corners": true,
"flip_input": true,
"blur_radius": true,
"lerp_alpha": true,
"decay_factor": true,
"fill_holes": true
}
},
"widgets_values": [8, 0, false, false, 8, 1, 1, false]
},
{
"id": 1053,
"type": "Sam2Segmentation",
"pos": [6150, 590],
"size": [250, 182],
"flags": {},
"order": 194,
"mode": 0,
"inputs": [
{
"localized_name": "sam2_model",
"name": "sam2_model",
"type": "SAM2MODEL",
"link": 1947
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1948
},
{
"localized_name": "coordinates_positive",
"name": "coordinates_positive",
"shape": 7,
"type": "STRING",
"link": 1949
},
{
"localized_name": "coordinates_negative",
"name": "coordinates_negative",
"shape": 7,
"type": "STRING",
"link": 1950
},
{
"localized_name": "bboxes",
"name": "bboxes",
"shape": 7,
"type": "BBOX",
"link": null
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "keep_model_loaded",
"name": "keep_model_loaded",
"type": "BOOLEAN",
"widget": { "name": "keep_model_loaded" },
"link": null
},
{
"localized_name": "individual_objects",
"name": "individual_objects",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "individual_objects" },
"link": null
}
],
"outputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"slot_index": 0,
"links": [1945, 2460]
}
],
"properties": {
"cnr_id": "segment-anything-2",
"ver": "059815ecc55b17ae9b47d15ed9b39b243d73b25f",
"Node name for S&R": "Sam2Segmentation",
"widget_ue_connectable": {
"keep_model_loaded": true,
"individual_objects": true
}
},
"widgets_values": [true, false]
},
{
"id": 1687,
"type": "Note",
"pos": [6160, 440],
"size": [240, 90],
"flags": {},
"order": 104,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["Original mask"],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1688,
"type": "Note",
"pos": [6450, 440],
"size": [270, 90],
"flags": {},
"order": 105,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Blurred mask, to be used in the final mask on step #6."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1520,
"type": "MaskBoundingBox+",
"pos": [5420, 2380],
"size": [210, 182],
"flags": {},
"order": 200,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"link": 2768
},
{
"localized_name": "image_optional",
"name": "image_optional",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "padding",
"name": "padding",
"type": "INT",
"widget": { "name": "padding" },
"link": null
},
{
"localized_name": "blur",
"name": "blur",
"type": "INT",
"widget": { "name": "blur" },
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
},
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": null
},
{ "localized_name": "x", "name": "x", "type": "INT", "links": [2684] },
{ "localized_name": "y", "name": "y", "type": "INT", "links": [2688] },
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [2691, 2703, 2707]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [2692, 2704, 2708]
}
],
"properties": {
"cnr_id": "comfyui_essentials",
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
"Node name for S&R": "MaskBoundingBox+",
"widget_ue_connectable": {}
},
"widgets_values": [0, 0]
},
{
"id": 476,
"type": "DWPreprocessor",
"pos": [8340, 450],
"size": [310, 222],
"flags": {},
"order": 150,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1972
},
{
"localized_name": "detect_hand",
"name": "detect_hand",
"shape": 7,
"type": "COMBO",
"widget": { "name": "detect_hand" },
"link": null
},
{
"localized_name": "detect_body",
"name": "detect_body",
"shape": 7,
"type": "COMBO",
"widget": { "name": "detect_body" },
"link": null
},
{
"localized_name": "detect_face",
"name": "detect_face",
"shape": 7,
"type": "COMBO",
"widget": { "name": "detect_face" },
"link": null
},
{
"localized_name": "resolution",
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": { "name": "resolution" },
"link": null
},
{
"localized_name": "bbox_detector",
"name": "bbox_detector",
"shape": 7,
"type": "COMBO",
"widget": { "name": "bbox_detector" },
"link": null
},
{
"localized_name": "pose_estimator",
"name": "pose_estimator",
"shape": 7,
"type": "COMBO",
"widget": { "name": "pose_estimator" },
"link": null
},
{
"localized_name": "scale_stick_for_xinsr_cn",
"name": "scale_stick_for_xinsr_cn",
"shape": 7,
"type": "COMBO",
"widget": { "name": "scale_stick_for_xinsr_cn" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2947]
},
{
"localized_name": "POSE_KEYPOINT",
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "1e9eac6377c882da8bb360c7544607036904362c",
"Node name for S&R": "DWPreprocessor",
"widget_ue_connectable": {
"detect_hand": true,
"detect_body": true,
"detect_face": true,
"resolution": true,
"bbox_detector": true,
"pose_estimator": true,
"scale_stick_for_xinsr_cn": true
}
},
"widgets_values": [
"enable",
"enable",
"disable",
1024,
"yolox_l.onnx",
"dw-ll_ucoco_384_bs5.torchscript.pt",
"disable"
]
},
{
"id": 1372,
"type": "Note",
"pos": [7390, 1360],
"size": [360, 88],
"flags": {},
"order": 106,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"upscale width and height, proportionally, until the lowest value reaches the tile size, considering all divisible by 16."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1655,
"type": "easy ifElse",
"pos": [8000, 940],
"size": [270, 78],
"flags": {},
"order": 182,
"mode": 0,
"inputs": [
{
"localized_name": "on_true",
"name": "on_true",
"type": "*",
"link": 2950
},
{
"localized_name": "on_false",
"name": "on_false",
"type": "*",
"link": 2949
},
{
"localized_name": "boolean",
"name": "boolean",
"type": "BOOLEAN",
"widget": { "name": "boolean" },
"link": null
}
],
"outputs": [
{ "localized_name": "*", "name": "*", "type": "*", "links": [2951] }
],
"title": "Is head identified?",
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "4f31641da38c9a3e0f5ed02a9c5bc97851f24935",
"Node name for S&R": "easy ifElse",
"widget_ue_connectable": {}
},
"widgets_values": [true],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1644,
"type": "FYEMediaPipe",
"pos": [7990, 760],
"size": [270, 102],
"flags": {},
"order": 151,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2937
},
{
"localized_name": "align_to_face_results",
"name": "align_to_face_results",
"shape": 7,
"type": "FACERESULTS",
"link": null
},
{
"localized_name": "draw_outer_lips",
"name": "draw_outer_lips",
"type": "BOOLEAN",
"widget": { "name": "draw_outer_lips" },
"link": null
},
{
"localized_name": "draw_iris_points",
"name": "draw_iris_points",
"type": "BOOLEAN",
"widget": { "name": "draw_iris_points" },
"link": null
}
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [2950]
},
{
"localized_name": "face_results",
"name": "face_results",
"type": "FACERESULTS",
"links": null
}
],
"properties": {
"aux_id": "kijai/ComfyUI-FollowYourEmojiWrapper",
"ver": "fc02303e659bd73a12c7811828f8b394b5248633",
"Node name for S&R": "FYEMediaPipe",
"widget_ue_connectable": {}
},
"widgets_values": [true, false]
},
{
"id": 395,
"type": "MediaPipe-FaceMeshPreprocessor",
"pos": [7990, 590],
"size": [270, 106],
"flags": { "collapsed": false },
"order": 149,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1970
},
{
"localized_name": "max_faces",
"name": "max_faces",
"shape": 7,
"type": "INT",
"widget": { "name": "max_faces" },
"link": null
},
{
"localized_name": "min_confidence",
"name": "min_confidence",
"shape": 7,
"type": "FLOAT",
"widget": { "name": "min_confidence" },
"link": null
},
{
"localized_name": "resolution",
"name": "resolution",
"shape": 7,
"type": "INT",
"widget": { "name": "resolution" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2949]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "83463c2e4b04e729268e57f638b4212e0da4badc",
"Node name for S&R": "MediaPipe-FaceMeshPreprocessor",
"widget_ue_connectable": {
"max_faces": true,
"min_confidence": true,
"resolution": true
}
},
"widgets_values": [10, 0.5, 1024]
},
{
"id": 1683,
"type": "WanVideoContextOptions",
"pos": [10030, 850],
"size": [340, 178],
"flags": {},
"order": 154,
"mode": 4,
"inputs": [
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "WANVAE",
"link": 2989
},
{
"localized_name": "context_schedule",
"name": "context_schedule",
"type": "COMBO",
"widget": { "name": "context_schedule" },
"link": null
},
{
"localized_name": "context_frames",
"name": "context_frames",
"type": "INT",
"widget": { "name": "context_frames" },
"link": null
},
{
"localized_name": "context_stride",
"name": "context_stride",
"type": "INT",
"widget": { "name": "context_stride" },
"link": null
},
{
"localized_name": "context_overlap",
"name": "context_overlap",
"type": "INT",
"widget": { "name": "context_overlap" },
"link": null
},
{
"localized_name": "freenoise",
"name": "freenoise",
"type": "BOOLEAN",
"widget": { "name": "freenoise" },
"link": null
},
{
"localized_name": "verbose",
"name": "verbose",
"type": "BOOLEAN",
"widget": { "name": "verbose" },
"link": null
}
],
"outputs": [
{
"localized_name": "context_options",
"name": "context_options",
"type": "WANVIDCONTEXT",
"links": [2990]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "f2bc29b931983e279d25452d284b3888c8c81346",
"Node name for S&R": "WanVideoContextOptions",
"widget_ue_connectable": {}
},
"widgets_values": ["uniform_standard", 81, 4, 48, false, false],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1679,
"type": "Note",
"pos": [10030, 680],
"size": [340, 130],
"flags": { "collapsed": false },
"order": 107,
"mode": 4,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Use context options in case of OOM, usually when having >81 frames. Make sure VAE is tiled.\n\nEnable tiled_vae on VACE encoders.\n\nWhen using context options, for some reason it requires the last Wan encode to have a ref image plugged in, so I added that \"Dummy Encode\"."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1639,
"type": "WanVideoVACEEncode",
"pos": [10450, 630],
"size": [330, 282],
"flags": {},
"order": 160,
"mode": 0,
"inputs": [
{
"localized_name": "vae",
"name": "vae",
"type": "WANVAE",
"link": 2928
},
{
"localized_name": "input_frames",
"name": "input_frames",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "ref_images",
"name": "ref_images",
"shape": 7,
"type": "IMAGE",
"link": 2934
},
{
"localized_name": "input_masks",
"name": "input_masks",
"shape": 7,
"type": "MASK",
"link": 2930
},
{
"localized_name": "prev_vace_embeds",
"name": "prev_vace_embeds",
"shape": 7,
"type": "WANVIDIMAGE_EMBEDS",
"link": null
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 2931
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 2932
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 2933
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
},
{
"localized_name": "vace_start_percent",
"name": "vace_start_percent",
"type": "FLOAT",
"widget": { "name": "vace_start_percent" },
"link": null
},
{
"localized_name": "vace_end_percent",
"name": "vace_end_percent",
"type": "FLOAT",
"widget": { "name": "vace_end_percent" },
"link": null
},
{
"localized_name": "tiled_vae",
"name": "tiled_vae",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "tiled_vae" },
"link": null
}
],
"outputs": [
{
"localized_name": "vace_embeds",
"name": "vace_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"links": [2935]
}
],
"title": "Ref Image Encode",
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "6aec1d97a8c1f1f97b53cd4c6703b8a0970c43d2",
"Node name for S&R": "WanVideoVACEEncode",
"widget_ue_connectable": {}
},
"widgets_values": [832, 480, 81, 0.4000000000000001, 0, 1, true]
},
{
"id": 716,
"type": "GetNode",
"pos": [10010, 500],
"size": [210, 58],
"flags": { "collapsed": true },
"order": 108,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [1862, 2835, 2933, 2998, 3001]
}
],
"title": "Get_totalFrames",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["totalFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 973,
"type": "GetNode",
"pos": [10250, 580],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 109,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "WANVIDEOTEXTEMBEDS",
"type": "WANVIDEOTEXTEMBEDS",
"links": [1831]
}
],
"title": "Get_textEmbeds",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["textEmbeds"]
},
{
"id": 1689,
"type": "Note",
"pos": [8360, 1050],
"size": [290, 88],
"flags": {},
"order": 110,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Sometimes, MediaPipe Landmarks can't identify faces, so here (green node on the left) you can switch to regular MediaPipe detector instead."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1222,
"type": "GetNode",
"pos": [11740, 490],
"size": [210, 50],
"flags": { "collapsed": true },
"order": 111,
"mode": 0,
"inputs": [],
"outputs": [{ "name": "INT", "type": "INT", "links": [2215, 2216] }],
"title": "Get_originalVideoFrames",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["originalVideoFrames"],
"color": "#1b4669",
"bgcolor": "#29699c"
},
{
"id": 749,
"type": "GetImageRangeFromBatch",
"pos": [11740, 710],
"size": [300, 102],
"flags": {},
"order": 157,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 2134
},
{
"localized_name": "masks",
"name": "masks",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "start_index",
"name": "start_index",
"type": "INT",
"widget": { "name": "start_index" },
"link": null
},
{
"localized_name": "num_frames",
"name": "num_frames",
"type": "INT",
"widget": { "name": "num_frames" },
"link": 2215
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [2135]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageRangeFromBatch",
"widget_ue_connectable": {}
},
"widgets_values": [0, 1]
},
{
"id": 729,
"type": "SetNode",
"pos": [12230, 1120],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 212,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 1427 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_renderedVideo",
"properties": {
"previousName": "renderedVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["renderedVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 575,
"type": "VHS_VideoCombine",
"pos": [12090, 440],
"size": [310, 512.1509399414062],
"flags": { "collapsed": false },
"order": 213,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 1428
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2217
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 23.967,
"loop_count": 0,
"filename_prefix": "%date:yyyy-MM-dd%/%date:hhmmss%_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": "191544_video_00001.mp4",
"subfolder": "2025-05-29",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "191544_video_00001.png",
"fullpath": ""
}
}
}
},
{
"id": 1690,
"type": "Note",
"pos": [11740, 570],
"size": [290, 88],
"flags": {},
"order": 112,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Trim here is to remove the added copy frames at the end of the video to fit on Wan sampler (4n+1 logic)"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 672,
"type": "GetImageSizeAndCount",
"pos": [12610, 550],
"size": [220, 86],
"flags": {},
"order": 129,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1395
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": null
},
{
"label": "3840 width",
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"label": "2160 height",
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [1305]
},
{
"label": "61 count",
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageSizeAndCount",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 670,
"type": "ImageUpscaleWithModel",
"pos": [12900, 550],
"size": [250, 50],
"flags": {},
"order": 159,
"mode": 0,
"inputs": [
{
"localized_name": "upscale_model",
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 1290
},
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1394
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [1598, 3002]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "ImageUpscaleWithModel",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 980,
"type": "SetNode",
"pos": [12980, 1180],
"size": [210, 60],
"flags": { "collapsed": true },
"order": 258,
"mode": 0,
"inputs": [{ "name": "IMAGE", "type": "IMAGE", "link": 1839 }],
"outputs": [{ "name": "*", "type": "*", "links": null }],
"title": "Set_upscaledVideo",
"properties": {
"previousName": "upscaledVideo",
"widget_ue_connectable": {}
},
"widgets_values": ["upscaledVideo"],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 668,
"type": "DF_Image_scale_by_ratio",
"pos": [12900, 1020],
"size": [250, 106],
"flags": {},
"order": 233,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 3002
},
{
"localized_name": "upscale_by",
"name": "upscale_by",
"type": "FLOAT",
"widget": { "name": "upscale_by" },
"link": 1307
},
{
"localized_name": "upscale_method",
"name": "upscale_method",
"type": "COMBO",
"widget": { "name": "upscale_method" },
"link": null
},
{
"localized_name": "crop",
"name": "crop",
"type": "COMBO",
"widget": { "name": "crop" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [1298]
}
],
"title": "Downscale by ratio",
"properties": {
"cnr_id": "derfuu_comfyui_moddednodes",
"ver": "d0905bed31249f2bd0814c67585cf4fe3c77c015",
"Node name for S&R": "DF_Image_scale_by_ratio",
"widget_ue_connectable": {}
},
"widgets_values": [0.5, "lanczos", "disabled"]
},
{
"id": 679,
"type": "MathExpression|pysssss",
"pos": [12900, 820],
"size": [260, 130],
"flags": {},
"order": 214,
"mode": 0,
"inputs": [
{
"label": "a",
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 1305
},
{
"label": "b",
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": 1818
},
{
"localized_name": "c",
"name": "c",
"shape": 7,
"type": "INT,FLOAT,IMAGE,LATENT",
"link": null
},
{
"localized_name": "expression",
"name": "expression",
"type": "INT,FLOAT,IMAGE,LATENT",
"widget": { "name": "expression" },
"link": null
}
],
"outputs": [
{ "localized_name": "INT", "name": "INT", "type": "INT", "links": [] },
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": [1307]
}
],
"title": "Downscale math ratio",
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.4",
"widget_ue_connectable": {}
},
"widgets_values": ["a / b"]
},
{
"id": 676,
"type": "GetImageSizeAndCount",
"pos": [12900, 670],
"size": [250, 86],
"flags": {},
"order": 188,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 1598
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": []
},
{
"label": "3392 width",
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"label": "1920 height",
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [1818]
},
{
"label": "60 count",
"localized_name": "count",
"name": "count",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "c3dc82108a2a86c17094107ead61d63f8c76200e",
"Node name for S&R": "GetImageSizeAndCount",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 669,
"type": "UpscaleModelLoader",
"pos": [12890, 430],
"size": [300, 58],
"flags": {},
"order": 113,
"mode": 0,
"inputs": [
{
"localized_name": "model_name",
"name": "model_name",
"type": "COMBO",
"widget": { "name": "model_name" },
"link": null
}
],
"outputs": [
{
"localized_name": "UPSCALE_MODEL",
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"slot_index": 0,
"links": [1290]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "UpscaleModelLoader",
"widget_ue_connectable": {}
},
"widgets_values": ["4x_NMKD-Superscale-SP_178000_G.pth"]
},
{
"id": 1373,
"type": "Note",
"pos": [13910, 1230],
"size": [210, 110],
"flags": { "collapsed": false },
"order": 114,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"Automatically set offset X/Y to place the upscaled video in the correct position on the original video. This is due values being divisible by 16 on previous steps."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 1692,
"type": "Label (rgthree)",
"pos": [3590, 1230],
"size": [342.873046875, 12],
"flags": { "allow_interaction": true },
"order": 115,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Hey there! Looks like you found a hidden label here. Congrats! :)",
"properties": {
"fontSize": 12,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 1691,
"type": "Label (rgthree)",
"pos": [3590, 1250],
"size": [564.3046875, 12],
"flags": { "allow_interaction": true },
"order": 116,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Take a screenshot and share that find with the person that created this workflow: https://linktr.ee/dezoomer",
"properties": {
"fontSize": 12,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 1693,
"type": "Label (rgthree)",
"pos": [10890, 580],
"size": [200.00927734375, 7],
"flags": { "allow_interaction": true },
"order": 117,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Hey there! Looks like you found a hidden label here. Congrats! :)",
"properties": {
"fontSize": 7,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 1186,
"type": "VHS_VideoCombine",
"pos": [11380, 660],
"size": [260, 483.84906005859375],
"flags": {},
"order": 175,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 2307
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "frame_rate",
"name": "frame_rate",
"type": "FLOAT",
"widget": { "name": "frame_rate" },
"link": 2405
},
{
"localized_name": "loop_count",
"name": "loop_count",
"type": "INT",
"widget": { "name": "loop_count" },
"link": null
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": { "name": "filename_prefix" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"type": "COMBO",
"widget": { "name": "format" },
"link": null
},
{
"localized_name": "pingpong",
"name": "pingpong",
"type": "BOOLEAN",
"widget": { "name": "pingpong" },
"link": null
},
{
"localized_name": "save_output",
"name": "save_output",
"type": "BOOLEAN",
"widget": { "name": "save_output" },
"link": null
}
],
"outputs": [
{
"localized_name": "Filenames",
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "c9dcc3a229437df232d61da4f9697c87c1f22428",
"Node name for S&R": "VHS_VideoCombine",
"widget_ue_connectable": {
"frame_rate": true,
"loop_count": true,
"filename_prefix": true,
"format": true,
"pingpong": true,
"save_output": true
}
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": true,
"trim_to_audio": false,
"pingpong": false,
"save_output": false,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "._00004.mp4",
"subfolder": "",
"type": "temp",
"format": "video/h264-mp4",
"frame_rate": 25,
"workflow": "._00004.png",
"fullpath": "c:\\Temp\\latentsync_cbaea19e\\._00004.mp4"
}
}
}
},
{
"id": 1694,
"type": "Label (rgthree)",
"pos": [10890, 590],
"size": [166.15771484375, 7],
"flags": { "allow_interaction": true },
"order": 118,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Take a screenshot and share that find with the person",
"properties": {
"fontSize": 7,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 1695,
"type": "Label (rgthree)",
"pos": [10890, 600],
"size": [161.0751953125, 7],
"flags": { "allow_interaction": true },
"order": 119,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "that created this workflow: https://linktr.ee/dezoomer",
"properties": {
"fontSize": 7,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 738,
"type": "GetNode",
"pos": [10010, 530],
"size": [218.10604858398438, 58],
"flags": { "collapsed": true },
"order": 120,
"mode": 0,
"inputs": [],
"outputs": [
{ "name": "MASK", "type": "MASK", "links": [2323, 2831, 2930] }
],
"title": "Get_croppedCombinedMask",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["croppedCombinedMask"],
"color": "#1c5715",
"bgcolor": "#1f401b"
},
{
"id": 994,
"type": "Bookmark (rgthree)",
"pos": [5150, 230],
"size": [210, 62],
"flags": { "collapsed": true },
"order": 121,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "🔖",
"properties": { "widget_ue_connectable": {} },
"widgets_values": ["2", 0.7]
},
{
"id": 968,
"type": "easy positive",
"pos": [3490, 1140],
"size": [780, 200],
"flags": { "collapsed": false },
"order": 122,
"mode": 0,
"inputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "STRING",
"widget": { "name": "positive" },
"link": null
}
],
"outputs": [
{
"localized_name": "positive",
"name": "positive",
"type": "STRING",
"links": [1828]
}
],
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "44f067632352c449263e11f0d9b708c9fd30e989",
"Node name for S&R": "easy positive",
"widget_ue_connectable": { "positive": true }
},
"widgets_values": ["5chw4223n39932"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1696,
"type": "Label (rgthree)",
"pos": [2730, 180],
"size": [563.150390625, 54],
"flags": { "allow_interaction": false, "pinned": true },
"order": 123,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Workflow by DeZoomer",
"properties": {
"fontSize": 54,
"fontFamily": "Arial",
"fontColor": "#0c57d0",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 402,
"type": "WanVideoSampler",
"pos": [10830, 450],
"size": [300, 903.5789184570312],
"flags": { "collapsed": false },
"order": 248,
"mode": 0,
"inputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "WANVIDEOMODEL",
"link": 1832
},
{
"label": "text_embeds",
"localized_name": "text_embeds",
"name": "text_embeds",
"type": "WANVIDEOTEXTEMBEDS",
"link": 1831
},
{
"label": "image_embeds",
"localized_name": "image_embeds",
"name": "image_embeds",
"type": "WANVIDIMAGE_EMBEDS",
"link": 2993
},
{
"localized_name": "samples",
"name": "samples",
"shape": 7,
"type": "LATENT",
"link": null
},
{
"localized_name": "feta_args",
"name": "feta_args",
"shape": 7,
"type": "FETAARGS",
"link": null
},
{
"localized_name": "context_options",
"name": "context_options",
"shape": 7,
"type": "WANVIDCONTEXT",
"link": 2990
},
{
"localized_name": "teacache_args",
"name": "teacache_args",
"shape": 7,
"type": "TEACACHEARGS",
"link": null
},
{
"localized_name": "flowedit_args",
"name": "flowedit_args",
"shape": 7,
"type": "FLOWEDITARGS",
"link": null
},
{
"localized_name": "slg_args",
"name": "slg_args",
"shape": 7,
"type": "SLGARGS",
"link": null
},
{
"localized_name": "loop_args",
"name": "loop_args",
"shape": 7,
"type": "LOOPARGS",
"link": null
},
{
"localized_name": "experimental_args",
"name": "experimental_args",
"shape": 7,
"type": "EXPERIMENTALARGS",
"link": null
},
{
"localized_name": "sigmas",
"name": "sigmas",
"shape": 7,
"type": "SIGMAS",
"link": null
},
{
"localized_name": "unianimate_poses",
"name": "unianimate_poses",
"shape": 7,
"type": "UNIANIMATE_POSE",
"link": null
},
{
"localized_name": "fantasytalking_embeds",
"name": "fantasytalking_embeds",
"shape": 7,
"type": "FANTASYTALKING_EMBEDS",
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": { "name": "steps" },
"link": null
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": { "name": "cfg" },
"link": null
},
{
"localized_name": "shift",
"name": "shift",
"type": "FLOAT",
"widget": { "name": "shift" },
"link": null
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": { "name": "seed" },
"link": null
},
{
"localized_name": "force_offload",
"name": "force_offload",
"type": "BOOLEAN",
"widget": { "name": "force_offload" },
"link": null
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": { "name": "scheduler" },
"link": null
},
{
"localized_name": "riflex_freq_index",
"name": "riflex_freq_index",
"type": "INT",
"widget": { "name": "riflex_freq_index" },
"link": null
},
{
"localized_name": "denoise_strength",
"name": "denoise_strength",
"shape": 7,
"type": "FLOAT",
"widget": { "name": "denoise_strength" },
"link": null
},
{
"localized_name": "batched_cfg",
"name": "batched_cfg",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "batched_cfg" },
"link": null
},
{
"localized_name": "rope_function",
"name": "rope_function",
"shape": 7,
"type": "COMBO",
"widget": { "name": "rope_function" },
"link": null
}
],
"outputs": [
{
"label": "samples",
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"slot_index": 0,
"links": [698]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "209c65ba41993c7a9425697f217990df9d13d6d2",
"Node name for S&R": "WanVideoSampler",
"widget_ue_connectable": {
"steps": true,
"cfg": true,
"shift": true,
"seed": true,
"force_offload": true,
"scheduler": true,
"riflex_freq_index": true,
"denoise_strength": true,
"batched_cfg": true,
"rope_function": true
}
},
"widgets_values": [
6,
1.0000000000000002,
10.000000000000002,
8819,
"fixed",
true,
"euler",
0,
1,
false,
"comfy",
""
]
},
{
"id": 394,
"type": "VHS_LoadVideo",
"pos": [3750, 450],
"size": [252.056640625, 455.031982421875],
"flags": {},
"order": 162,
"mode": 0,
"inputs": [
{
"localized_name": "meta_batch",
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "video",
"name": "video",
"type": "COMBO",
"widget": { "name": "video" },
"link": null
},
{
"localized_name": "force_rate",
"name": "force_rate",
"type": "FLOAT",
"widget": { "name": "force_rate" },
"link": 1228
},
{
"localized_name": "custom_width",
"name": "custom_width",
"type": "INT",
"widget": { "name": "custom_width" },
"link": null
},
{
"localized_name": "custom_height",
"name": "custom_height",
"type": "INT",
"widget": { "name": "custom_height" },
"link": null
},
{
"localized_name": "frame_load_cap",
"name": "frame_load_cap",
"type": "INT",
"widget": { "name": "frame_load_cap" },
"link": null
},
{
"localized_name": "skip_first_frames",
"name": "skip_first_frames",
"type": "INT",
"widget": { "name": "skip_first_frames" },
"link": null
},
{
"localized_name": "select_every_nth",
"name": "select_every_nth",
"type": "INT",
"widget": { "name": "select_every_nth" },
"link": null
},
{
"localized_name": "format",
"name": "format",
"shape": 7,
"type": "COMBO",
"widget": { "name": "format" },
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [1259]
},
{
"localized_name": "frame_count",
"name": "frame_count",
"type": "INT",
"links": [1413]
},
{
"localized_name": "audio",
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"localized_name": "video_info",
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "1.5.18",
"Node name for S&R": "VHS_LoadVideo",
"widget_ue_connectable": {
"video": true,
"force_rate": true,
"custom_width": true,
"custom_height": true,
"frame_load_cap": true,
"skip_first_frames": true,
"select_every_nth": true,
"format": true
}
},
"widgets_values": {
"video": "3209176-uhd_3840_2160_25fps.mp4",
"force_rate": 23.976,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 60,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "3209176-uhd_3840_2160_25fps.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 23.976,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 60,
"skip_first_frames": 0,
"select_every_nth": 1
},
"muted": true
}
},
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1054,
"type": "PointsEditor",
"pos": [5210, 710],
"size": [893, 780],
"flags": {},
"order": 170,
"mode": 0,
"inputs": [
{
"localized_name": "bg_image",
"name": "bg_image",
"shape": 7,
"type": "IMAGE",
"link": 1951
},
{
"localized_name": "points_store",
"name": "points_store",
"type": "STRING",
"widget": { "name": "points_store" },
"link": null
},
{
"localized_name": "coordinates",
"name": "coordinates",
"type": "STRING",
"widget": { "name": "coordinates" },
"link": null
},
{
"localized_name": "neg_coordinates",
"name": "neg_coordinates",
"type": "STRING",
"widget": { "name": "neg_coordinates" },
"link": null
},
{
"localized_name": "bbox_store",
"name": "bbox_store",
"type": "STRING",
"widget": { "name": "bbox_store" },
"link": null
},
{
"localized_name": "bboxes",
"name": "bboxes",
"type": "STRING",
"widget": { "name": "bboxes" },
"link": null
},
{
"localized_name": "bbox_format",
"name": "bbox_format",
"type": "COMBO",
"widget": { "name": "bbox_format" },
"link": null
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": { "name": "width" },
"link": 1952
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": { "name": "height" },
"link": 1953
},
{
"localized_name": "normalize",
"name": "normalize",
"type": "BOOLEAN",
"widget": { "name": "normalize" },
"link": null
}
],
"outputs": [
{
"localized_name": "positive_coords",
"name": "positive_coords",
"type": "STRING",
"links": [1949]
},
{
"localized_name": "negative_coords",
"name": "negative_coords",
"type": "STRING",
"links": [1950]
},
{
"localized_name": "bbox",
"name": "bbox",
"type": "BBOX",
"links": []
},
{
"localized_name": "bbox_mask",
"name": "bbox_mask",
"type": "MASK",
"links": []
},
{
"localized_name": "cropped_image",
"name": "cropped_image",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "402124d5c4154c29a9c44f73315044bc02702d71",
"Node name for S&R": "PointsEditor",
"widget_ue_connectable": {
"points_store": true,
"coordinates": true,
"neg_coordinates": true,
"bbox_store": true,
"bboxes": true,
"bbox_format": true,
"width": true,
"height": true,
"normalize": true
},
"points": "PointsEditor",
"neg_points": "PointsEditor",
"imgData": {
"name": "bg_image",
"base64": [""]
}
},
"widgets_values": [
"{\"positive\":[{\"x\":437.9864640766116,\"y\":184.5919963541275},{\"x\":465.6752635297307,\"y\":234.93526808707136},{\"x\":463.9971544719659,\"y\":275.2098854734264},{\"x\":496.7202810983794,\"y\":291.151921522192},{\"x\":523.5700260226162,\"y\":261.7850130113081},{\"x\":556.2931526490297,\"y\":234.09621355818896},{\"x\":552.9369345335001,\"y\":182.9138872963627},{\"x\":559.6493707645593,\"y\":120.82385215906527},{\"x\":515.1794807337922,\"y\":91.45694364818135},{\"x\":470.7095907030251,\"y\":100.68654346588772},{\"x\":443.8598457787884,\"y\":139.283051794478},{\"x\":490.8468993962027,\"y\":160.25941501653796}],\"negative\":[{\"x\":438.825518605494,\"y\":286.1175943488976},{\"x\":531.9605713114402,\"y\":305.41584851319277},{\"x\":603.280206266444,\"y\":189.62632352742187},{\"x\":500.9155537427914,\"y\":32.72312662641351},{\"x\":364.988720063843,\"y\":159.42036048765556}]}",
"[{\"x\":437.9864640766116,\"y\":184.5919963541275},{\"x\":465.6752635297307,\"y\":234.93526808707136},{\"x\":463.9971544719659,\"y\":275.2098854734264},{\"x\":496.7202810983794,\"y\":291.151921522192},{\"x\":523.5700260226162,\"y\":261.7850130113081},{\"x\":556.2931526490297,\"y\":234.09621355818896},{\"x\":552.9369345335001,\"y\":182.9138872963627},{\"x\":559.6493707645593,\"y\":120.82385215906527},{\"x\":515.1794807337922,\"y\":91.45694364818135},{\"x\":470.7095907030251,\"y\":100.68654346588772},{\"x\":443.8598457787884,\"y\":139.283051794478},{\"x\":490.8468993962027,\"y\":160.25941501653796}]",
"[{\"x\":438.825518605494,\"y\":286.1175943488976},{\"x\":531.9605713114402,\"y\":305.41584851319277},{\"x\":603.280206266444,\"y\":189.62632352742187},{\"x\":500.9155537427914,\"y\":32.72312662641351},{\"x\":364.988720063843,\"y\":159.42036048765556}]",
"[{}]",
"[{}]",
"xyxy",
848,
480,
false,
null,
"",
null
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1051,
"type": "LayerUtility: QueueStop",
"pos": [5210, 600],
"size": [210, 82],
"flags": {},
"order": 221,
"mode": 0,
"inputs": [
{ "localized_name": "any", "name": "any", "type": "*", "link": 1945 },
{
"localized_name": "mode",
"name": "mode",
"type": "COMBO",
"widget": { "name": "mode" },
"link": null
},
{
"localized_name": "stop",
"name": "stop",
"type": "BOOLEAN",
"widget": { "name": "stop" },
"link": null
}
],
"outputs": [
{ "localized_name": "any", "name": "any", "type": "*", "links": [2434] }
],
"properties": {
"cnr_id": "comfyui_layerstyle",
"ver": "1.0.90",
"Node name for S&R": "LayerUtility: QueueStop",
"widget_ue_connectable": {}
},
"widgets_values": ["stop", false],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1055,
"type": "WanVideoLoraSelect",
"pos": [3510, 1940],
"size": [350, 126],
"flags": {},
"order": 156,
"mode": 0,
"inputs": [
{
"localized_name": "prev_lora",
"name": "prev_lora",
"shape": 7,
"type": "WANVIDLORA",
"link": 1956
},
{
"localized_name": "blocks",
"name": "blocks",
"shape": 7,
"type": "SELECTEDBLOCKS",
"link": null
},
{
"localized_name": "lora",
"name": "lora",
"type": "COMBO",
"widget": { "name": "lora" },
"link": null
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": { "name": "strength" },
"link": null
},
{
"localized_name": "low_mem_load",
"name": "low_mem_load",
"shape": 7,
"type": "BOOLEAN",
"widget": { "name": "low_mem_load" },
"link": null
}
],
"outputs": [
{
"localized_name": "lora",
"name": "lora",
"type": "WANVIDLORA",
"slot_index": 0,
"links": [1955]
}
],
"properties": {
"cnr_id": "ComfyUI-WanVideoWrapper",
"ver": "778765ba2a444ab43024318dffd5b9805d44c6f6",
"Node name for S&R": "WanVideoLoraSelect",
"widget_ue_connectable": {
"lora": true,
"strength": true,
"low_mem_load": true
}
},
"widgets_values": [
"wanvideo\\Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
0.4000000000000001,
false
]
},
{
"id": 641,
"type": "INTConstant",
"pos": [3500, 440],
"size": [210, 58],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"widget": { "name": "value" },
"link": null
}
],
"outputs": [
{
"localized_name": "value",
"name": "value",
"type": "INT",
"links": [1326]
}
],
"title": "Width",
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "366b866f8ebf501e84f316ab313d489e3f5cd94d",
"Node name for S&R": "INTConstant",
"widget_ue_connectable": { "value": true }
},
"widgets_values": [853],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 645,
"type": "Float",
"pos": [3500, 690],
"size": [210, 58],
"flags": {},
"order": 124,
"mode": 0,
"inputs": [
{
"localized_name": "Number",
"name": "Number",
"type": "STRING",
"widget": { "name": "Number" },
"link": null
}
],
"outputs": [
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": [1228, 1346]
}
],
"title": "Framerate",
"properties": {
"cnr_id": "ComfyLiterals",
"ver": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
"Node name for S&R": "Float",
"widget_ue_connectable": { "Number": true }
},
"widgets_values": ["25"],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 1686,
"type": "MarkdownNote",
"pos": [2730, 380],
"size": [570, 960],
"flags": { "pinned": true },
"order": 125,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Readme",
"properties": { "widget_ue_connectable": {} },
"widgets_values": [
"# How It Works\n\nThis workflow create videos by conditioning on masked facial regions, pose, and depth data, then blending the result back into the original footage with dynamic processing and upscaling.\n\n## Overview\n\n- It uses the **Wan T2V 14B** model, combined with **VACE 14B** + **CausVid 14B** LoRA. I also created a LoRA for the person I'm face-swapping. If you need help creating a LoRA, check the link in the Disclaimer below.\n- As the **initial step**, it creates a face mask and dynamically applies blur based on size.\n- A **\"bounds mask\"** is also created to ensure the crop node always respects maximum dimensions.\n- It runs preprocessors for:\n - **Pose**: `MediaPipe` + `DWPose` (combined)\n - **Depth**: `DepthCrafter` + `NormalCrafter` (combined)\n- These preprocessed outputs, along with the masked video, are prepared for the sampler.\n- The **Wan sampler** processes these, using separate encodes for the reference image, depth, and pose.\n- Optionally, you can enable **Extended Mode** if you need to generate longer videos.\n- Once the sampler is done:\n - The result is stitched back into the original video,\n - Frames are trimmed,\n - Colors are matched for seamless integration.\n- As the final step, the result is **upscaled to the original resolution** and the original masked video is overlaid.\n\n---\n\n# Resources\n\n- To use the LoRA I used in this example (Arnold Schwarzenegger), I uploaded [here on TensorArt](https://tensor.art/models/868726416928189131). If you need help with a custom LoRA, check the link in the Disclaimer below.\n- The \"walking man\" video in the \"Original Video Input\" node can be found [here](https://www.pexels.com/video/a-man-walking-inside-a-production-plant-3209176/).\n- The reference image can be found [here](https://assets.mycast.io/actor_images/actor-arnold-schwarzenegger-316334_large.jpg?1638682103).\n\n⚠️ Please note that in the **\"Original Video Input\"** I limited the **\"frame_load_cap\"** to 60 since the video is quite long. ⚠️\n\n\n---\n\n\n# Custom Nodes Used\n\nAll nodes can be installed through **ComfyUI Manager**:\n\n- [comfyui_controlnet_aux](https://github.com/Fannovel16/comfyui_controlnet_aux)\n- [ComfyUI-Custom-Scripts](https://github.com/pythongosssss/ComfyUI-Custom-Scripts)\n- [ComfyUI_LayerStyle](https://github.com/chflame163/ComfyUI_LayerStyle)\n- [ComfyUI-Easy-Use](https://github.com/yolain/ComfyUI-Easy-Use)\n- [was-node-suite-comfyui](https://github.com/WASasquatch/was-node-suite-comfyui)\n- [ComfyUI-KJNodes](https://github.com/kijai/ComfyUI-KJNodes)\n- [ComfyUI-VideoHelperSuite](https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite)\n- [ComfyUI_Comfyroll_CustomNodes](https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes)\n- [ComfyUI_essentials](https://github.com/cubiq/ComfyUI_essentials)\n- [ComfyUI-Inpaint-CropAndStitch](https://github.com/lquesada/ComfyUI-Inpaint-CropAndStitch)\n- [Derfuu_ComfyUI_ModdedNodes](https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes)\n- [ComfyUI-Allor](https://github.com/Nourepide/ComfyUI-Allor)\n- [ComfyUI-DepthCrafter-Nodes](https://github.com/akatz-ai/ComfyUI-DepthCrafter-Nodes)\n- [comfyui-various](https://github.com/jamesWalker55/comfyui-various)\n- [ComfyLiterals](https://github.com/M1kep/ComfyLiterals)\n- [ComfyUI-WanVideoWrapper](https://github.com/kijai/ComfyUI-WanVideoWrapper)\n- [ComfyUI-NormalCrafterWrapper](https://github.com/AIWarper/ComfyUI-NormalCrafterWrapper)\n\n---\n\n# General Rules\n\n- **Green nodes** are the ones you should look for and tweak if necessary.\n- **Getters** are usually located at the top left of each group, and **setters** at the bottom.\n- Look out for **\"Note\"** comments for additional guidance.\n- Pressing the numbers **1 to 7** on your keyboard will focus on the corresponding step group for easier navigation.\n\n---\n\n# Disclaimer\n\n- This workflow was built and tested on a machine with **64GB RAM** and **32GB VRAM**.\n- I can't troubleshoot issues on different setups.\n- Have questions? Feel free to **DM or tag me** on Discord: `dezoomer`.\n- You can also find me via my socials: [https://linktr.ee/dezoomer](https://linktr.ee/dezoomer)\n"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
}
],
"links": [
[665, 382, 0, 380, 0, "WANTEXTENCODER"],
[666, 384, 0, 383, 0, "WANCOMPILEARGS"],
[698, 402, 0, 407, 1, "LATENT"],
[993, 523, 0, 383, 1, "BLOCKSWAPARGS"],
[1056, 557, 0, 564, 0, "IMAGE"],
[1057, 559, 0, 564, 1, "IMAGE"],
[1228, 645, 0, 394, 3, "FLOAT"],
[1259, 394, 0, 648, 0, "IMAGE"],
[1290, 669, 0, 670, 0, "UPSCALE_MODEL"],
[1298, 668, 0, 675, 0, "IMAGE"],
[1302, 675, 0, 677, 0, "IMAGE"],
[1305, 672, 2, 679, 0, "INT,FLOAT,IMAGE,LATENT"],
[1307, 679, 1, 668, 1, "FLOAT"],
[1326, 641, 0, 658, 1, "INT"],
[1327, 642, 0, 658, 2, "INT"],
[1346, 645, 0, 693, 0, "*"],
[1349, 648, 2, 696, 0, "*"],
[1382, 385, 0, 721, 0, "*"],
[1384, 723, 0, 407, 0, "WANVAE"],
[1391, 728, 0, 557, 0, "IMAGE"],
[1394, 731, 0, 670, 1, "IMAGE"],
[1395, 732, 0, 672, 0, "IMAGE"],
[1408, 742, 0, 562, 4, "FLOAT"],
[1409, 743, 0, 460, 4, "FLOAT"],
[1413, 394, 1, 747, 0, "*"],
[1419, 750, 0, 574, 0, "IMAGE"],
[1427, 574, 0, 729, 0, "IMAGE"],
[1428, 574, 0, 575, 0, "IMAGE"],
[1436, 759, 0, 758, 3, "INT"],
[1438, 761, 0, 760, 0, "IMAGE"],
[1439, 759, 0, 760, 3, "INT"],
[1451, 761, 0, 767, 0, "IMAGE"],
[1452, 759, 0, 767, 3, "INT"],
[1453, 767, 0, 766, 0, "IMAGE"],
[1455, 766, 0, 755, 1, "IMAGE"],
[1465, 756, 0, 758, 1, "MASK"],
[1466, 755, 0, 762, 0, "IMAGE"],
[1468, 760, 0, 755, 0, "IMAGE"],
[1488, 658, 1, 691, 0, "INT"],
[1489, 658, 2, 692, 0, "INT"],
[1491, 648, 0, 658, 0, "IMAGE"],
[1492, 648, 0, 695, 0, "IMAGE"],
[1516, 758, 1, 784, 0, "MASK"],
[1519, 784, 0, 755, 2, "MASK"],
[1526, 761, 0, 791, 0, "IMAGE"],
[1530, 791, 1, 790, 0, "INT,FLOAT,IMAGE,LATENT"],
[1532, 790, 0, 755, 3, "INT"],
[1593, 658, 0, 694, 0, "*"],
[1598, 670, 0, 676, 0, "IMAGE"],
[1713, 903, 0, 380, 2, "STRING"],
[1818, 676, 2, 679, 1, "INT,FLOAT,IMAGE,LATENT"],
[1828, 968, 0, 969, 0, "*"],
[1829, 383, 0, 970, 0, "*"],
[1830, 380, 0, 971, 0, "*"],
[1831, 973, 0, 402, 1, "WANVIDEOTEXTEMBEDS"],
[1832, 972, 0, 402, 0, "WANVIDEOMODEL"],
[1839, 675, 0, 980, 0, "*"],
[1840, 675, 1, 981, 0, "*"],
[1841, 675, 2, 982, 0, "*"],
[1842, 983, 0, 766, 1, "IMAGE"],
[1843, 985, 0, 784, 2, "INT"],
[1844, 984, 0, 784, 1, "INT"],
[1845, 985, 0, 790, 1, "INT,FLOAT,IMAGE,LATENT"],
[1846, 755, 0, 986, 0, "*"],
[1848, 990, 0, 988, 1, "INT"],
[1849, 989, 0, 988, 2, "INT"],
[1850, 987, 0, 988, 0, "IMAGE"],
[1851, 988, 0, 559, 0, "IMAGE"],
[1852, 997, 0, 383, 4, "VACEPATH"],
[1854, 723, 0, 998, 0, "WANVAE"],
[1862, 716, 0, 998, 7, "INT"],
[1863, 1011, 0, 1006, 0, "IMAGE"],
[1864, 1003, 0, 1006, 4, "FLOAT"],
[1867, 1007, 0, 1009, 0, "IMAGE"],
[1869, 1010, 0, 1009, 2, "MASK"],
[1870, 1009, 0, 1011, 0, "IMAGE"],
[1943, 1050, 0, 1044, 4, "FLOAT"],
[1944, 1049, 0, 1048, 0, "IMAGE"],
[1945, 1053, 0, 1051, 0, "*"],
[1947, 1042, 0, 1053, 0, "SAM2MODEL"],
[1948, 1049, 0, 1053, 1, "IMAGE"],
[1949, 1054, 0, 1053, 2, "STRING"],
[1950, 1054, 1, 1053, 3, "STRING"],
[1951, 1048, 0, 1054, 0, "IMAGE"],
[1952, 1047, 0, 1054, 7, "INT"],
[1953, 1046, 0, 1054, 8, "INT"],
[1954, 1052, 0, 735, 0, "MASK"],
[1955, 1055, 0, 383, 2, "WANVIDLORA"],
[1956, 595, 0, 1055, 0, "WANVIDLORA"],
[1970, 706, 0, 395, 0, "IMAGE"],
[1972, 706, 0, 476, 0, "IMAGE"],
[2015, 1011, 0, 1103, 0, "*"],
[2022, 1111, 0, 1109, 0, "IMAGE"],
[2025, 1113, 0, 1110, 0, "REMBG_SESSION"],
[2027, 1110, 0, 1111, 0, "IMAGE"],
[2029, 1108, 0, 1114, 0, "IMAGE"],
[2133, 407, 0, 1187, 0, "IMAGE"],
[2134, 1189, 0, 749, 0, "IMAGE"],
[2135, 749, 0, 574, 1, "IMAGE"],
[2144, 1194, 0, 1195, 0, "*"],
[2163, 1202, 0, 1188, 0, "IMAGE"],
[2173, 1201, 2, 1183, 0, "MASK"],
[2178, 1203, 0, 1205, 0, "MASK"],
[2208, 1176, 0, 1201, 0, "IMAGE"],
[2212, 1201, 1, 1182, 0, "IMAGE"],
[2214, 1221, 0, 750, 0, "IMAGE"],
[2215, 1222, 0, 749, 3, "INT"],
[2216, 1222, 0, 750, 3, "INT"],
[2217, 1223, 0, 575, 4, "FLOAT"],
[2218, 1201, 0, 1224, 0, "*"],
[2219, 1225, 0, 1202, 0, "STITCHER"],
[2295, 1185, 0, 1202, 1, "IMAGE"],
[2307, 1202, 0, 1186, 0, "IMAGE"],
[2320, 1114, 0, 1110, 1, "IMAGE"],
[2323, 738, 0, 998, 3, "MASK"],
[2362, 984, 0, 1348, 1, "INT,FLOAT,IMAGE,LATENT"],
[2363, 791, 2, 1348, 0, "INT,FLOAT,IMAGE,LATENT"],
[2364, 1348, 0, 755, 4, "INT"],
[2374, 1352, 0, 775, 1, "INT"],
[2375, 1354, 0, 775, 2, "INT"],
[2376, 1355, 0, 1011, 1, "INT"],
[2377, 1356, 0, 1011, 2, "INT"],
[2379, 1357, 0, 998, 5, "INT"],
[2381, 1358, 0, 998, 6, "INT"],
[2382, 1349, 0, 1360, 0, "INT,FLOAT,IMAGE,LATENT"],
[2383, 1350, 0, 1360, 1, "INT,FLOAT,IMAGE,LATENT"],
[2384, 1350, 0, 1359, 0, "INT,FLOAT,IMAGE,LATENT"],
[2385, 1349, 0, 1359, 1, "INT,FLOAT,IMAGE,LATENT"],
[2386, 1196, 0, 1361, 0, "INT,FLOAT,IMAGE,LATENT"],
[2387, 1361, 0, 1360, 2, "INT,FLOAT,IMAGE,LATENT"],
[2388, 1361, 0, 1359, 2, "INT,FLOAT,IMAGE,LATENT"],
[2389, 1360, 0, 1351, 0, "INT"],
[2390, 1359, 0, 1353, 0, "INT"],
[2393, 1362, 0, 1114, 1, "INT"],
[2394, 1363, 0, 1114, 2, "INT"],
[2395, 1362, 0, 1109, 2, "INT"],
[2396, 1363, 0, 1109, 3, "INT"],
[2398, 1368, 0, 1367, 1, "MASK"],
[2399, 1367, 1, 1340, 0, "MASK"],
[2401, 1369, 0, 1201, 23, "INT"],
[2402, 1370, 0, 1201, 24, "INT"],
[2405, 1374, 0, 1186, 4, "FLOAT"],
[2407, 1376, 0, 677, 4, "FLOAT"],
[2408, 1377, 0, 762, 4, "FLOAT"],
[2423, 1012, 0, 1009, 1, "IMAGE"],
[2434, 1051, 0, 1399, 0, "MASK"],
[2435, 1399, 0, 1397, 0, "*"],
[2436, 1399, 0, 1052, 0, "MASK"],
[2438, 1375, 0, 1401, 4, "FLOAT"],
[2443, 1201, 1, 1405, 0, "IMAGE"],
[2444, 1201, 2, 1405, 1, "MASK"],
[2445, 1405, 0, 1401, 0, "IMAGE"],
[2446, 1049, 0, 1406, 0, "IMAGE"],
[2447, 1052, 0, 1406, 1, "MASK"],
[2448, 1406, 0, 1044, 0, "IMAGE"],
[2449, 1049, 0, 1407, 0, "IMAGE"],
[2451, 1407, 0, 1408, 0, "IMAGE"],
[2452, 1050, 0, 1408, 4, "FLOAT"],
[2453, 1399, 0, 1407, 1, "MASK"],
[2454, 1411, 0, 1409, 0, "INT,FLOAT,IMAGE,LATENT"],
[2455, 1411, 0, 1410, 0, "INT,FLOAT,IMAGE,LATENT"],
[2460, 1053, 0, 1415, 1, "MASK"],
[2461, 1415, 1, 1412, 0, "MASK"],
[2462, 1412, 0, 1417, 0, "IMAGE"],
[2463, 1415, 1, 1417, 1, "MASK"],
[2464, 1417, 0, 1413, 0, "IMAGE"],
[2465, 1413, 1, 1411, 0, "INT,FLOAT,IMAGE,LATENT"],
[2466, 1413, 2, 1411, 1, "INT,FLOAT,IMAGE,LATENT"],
[2467, 1409, 0, 1399, 1, "INT"],
[2468, 1410, 0, 1052, 1, "INT"],
[2469, 1410, 1, 1052, 5, "FLOAT"],
[2470, 1419, 0, 1418, 0, "INT,FLOAT,IMAGE,LATENT"],
[2471, 1418, 0, 1201, 14, "INT"],
[2472, 1424, 0, 1425, 0, "INT,FLOAT,IMAGE,LATENT"],
[2473, 1425, 0, 1415, 2, "INT"],
[2509, 1421, 0, 1449, 0, "MASK"],
[2530, 1451, 0, 1461, 0, "IMAGE"],
[2617, 1498, 0, 1499, 0, "STITCHER"],
[2624, 1499, 0, 1503, 0, "IMAGE"],
[2626, 1449, 0, 1498, 0, "IMAGE"],
[2631, 1498, 1, 1507, 0, "IMAGE"],
[2633, 1507, 1, 1451, 0, "INT"],
[2634, 1507, 2, 1451, 1, "INT"],
[2651, 1507, 3, 1461, 1, "INT"],
[2671, 1460, 0, 1521, 1, "INT"],
[2679, 1521, 0, 1498, 1, "MASK"],
[2684, 1520, 2, 1529, 0, "INT,FLOAT,IMAGE,LATENT"],
[2688, 1520, 3, 1530, 0, "INT,FLOAT,IMAGE,LATENT"],
[2689, 1530, 0, 1521, 3, "INT"],
[2690, 1529, 0, 1521, 2, "INT"],
[2691, 1520, 4, 1529, 1, "INT,FLOAT,IMAGE,LATENT"],
[2692, 1520, 5, 1530, 1, "INT,FLOAT,IMAGE,LATENT"],
[2703, 1520, 4, 1521, 7, "INT"],
[2704, 1520, 5, 1521, 8, "INT"],
[2705, 1430, 0, 1521, 5, "INT"],
[2706, 1429, 0, 1521, 6, "INT"],
[2707, 1520, 4, 1498, 23, "INT"],
[2708, 1520, 5, 1498, 24, "INT"],
[2725, 1507, 0, 1505, 0, "IMAGE"],
[2727, 1505, 0, 1499, 1, "IMAGE"],
[2728, 1499, 0, 1535, 0, "IMAGE"],
[2740, 1461, 0, 1537, 1, "IMAGE"],
[2743, 1540, 0, 1541, 0, "IMAGE"],
[2746, 1541, 0, 1537, 0, "IMAGE"],
[2747, 1537, 0, 1505, 1, "IMAGE"],
[2758, 1544, 0, 1503, 4, "FLOAT"],
[2760, 1535, 0, 1547, 0, "*"],
[2761, 1548, 0, 1201, 1, "MASK"],
[2762, 1367, 1, 1549, 0, "MASK"],
[2763, 1340, 0, 1549, 1, "IMAGE"],
[2764, 1549, 4, 1349, 0, "INT,FLOAT,IMAGE,LATENT"],
[2765, 1549, 5, 1350, 0, "INT,FLOAT,IMAGE,LATENT"],
[2766, 1421, 0, 1203, 0, "MASK"],
[2767, 1460, 0, 1205, 1, "INT"],
[2768, 1205, 0, 1520, 0, "MASK"],
[2769, 1205, 0, 1540, 0, "MASK"],
[2770, 1205, 0, 1541, 1, "MASK"],
[2806, 1582, 0, 1569, 0, "IMAGE"],
[2807, 1575, 0, 1569, 1, "INT"],
[2808, 1576, 0, 1569, 2, "INT"],
[2811, 1569, 0, 1578, 0, "IMAGE"],
[2812, 1570, 0, 1578, 4, "FLOAT"],
[2815, 1579, 0, 1582, 0, "IMAGE"],
[2817, 1571, 0, 1582, 2, "MASK"],
[2829, 723, 0, 1592, 0, "WANVAE"],
[2831, 738, 0, 1592, 3, "MASK"],
[2833, 1357, 0, 1592, 5, "INT"],
[2834, 1358, 0, 1592, 6, "INT"],
[2835, 716, 0, 1592, 7, "INT"],
[2839, 1596, 0, 1595, 1, "IMAGE"],
[2840, 1597, 0, 1595, 0, "IMAGE"],
[2842, 1598, 0, 1600, 0, "STITCHER"],
[2844, 1603, 0, 1601, 0, "IMAGE"],
[2845, 1602, 0, 1601, 2, "MASK"],
[2846, 1601, 0, 1604, 0, "IMAGE"],
[2847, 1606, 0, 1604, 1, "INT"],
[2848, 1605, 0, 1604, 2, "INT"],
[2849, 1595, 0, 1601, 1, "IMAGE"],
[2850, 1604, 0, 1600, 1, "IMAGE"],
[2853, 1610, 0, 1611, 1, "MASK"],
[2855, 1600, 0, 1615, 0, "IMAGE"],
[2856, 1611, 0, 1616, 0, "IMAGE"],
[2857, 1615, 0, 1617, 0, "IMAGE"],
[2858, 1616, 0, 1617, 1, "IMAGE"],
[2859, 1617, 0, 1618, 0, "IMAGE"],
[2860, 564, 0, 1618, 1, "IMAGE"],
[2861, 1618, 0, 562, 0, "IMAGE"],
[2862, 728, 0, 1611, 0, "IMAGE"],
[2870, 1580, 0, 1582, 1, "IMAGE"],
[2871, 1592, 0, 998, 4, "WANVIDIMAGE_EMBEDS"],
[2873, 1593, 0, 1592, 1, "IMAGE"],
[2886, 1104, 0, 998, 1, "IMAGE"],
[2901, 1630, 0, 1631, 1, "IMAGE"],
[2902, 775, 0, 1631, 0, "IMAGE"],
[2909, 1631, 0, 460, 0, "IMAGE"],
[2910, 1631, 0, 978, 0, "IMAGE"],
[2925, 1109, 0, 1112, 0, "IMAGE"],
[2926, 1109, 0, 1115, 0, "IMAGE"],
[2928, 723, 0, 1639, 0, "WANVAE"],
[2930, 738, 0, 1639, 3, "MASK"],
[2931, 1357, 0, 1639, 5, "INT"],
[2932, 1358, 0, 1639, 6, "INT"],
[2933, 716, 0, 1639, 7, "INT"],
[2934, 1015, 0, 1639, 2, "IMAGE"],
[2935, 1639, 0, 1592, 4, "WANVIDIMAGE_EMBEDS"],
[2937, 706, 0, 1644, 0, "IMAGE"],
[2939, 1352, 0, 1645, 1, "INT"],
[2940, 1354, 0, 1645, 2, "INT"],
[2945, 1645, 0, 1630, 0, "IMAGE"],
[2947, 476, 0, 775, 0, "IMAGE"],
[2949, 395, 0, 1655, 1, "*"],
[2950, 1644, 0, 1655, 0, "*"],
[2951, 1655, 0, 1645, 0, "IMAGE"],
[2952, 1666, 0, 1656, 0, "IMAGE"],
[2953, 1656, 0, 1657, 0, "IMAGE"],
[2954, 1657, 0, 1658, 0, "IMAGE"],
[2955, 1658, 0, 1659, 0, "IMAGE"],
[2957, 1666, 0, 1662, 0, "IMAGE"],
[2959, 1662, 0, 1664, 0, "IMAGE"],
[2960, 1667, 0, 1664, 1, "IMAGE"],
[2962, 1661, 0, 1666, 0, "DEPTHCRAFTER_MODEL"],
[2963, 1659, 0, 1667, 0, "IMAGE"],
[2964, 1668, 0, 1666, 1, "IMAGE"],
[2965, 1670, 0, 1662, 1, "INT"],
[2966, 1671, 0, 1662, 2, "INT"],
[2968, 1670, 0, 1667, 1, "INT"],
[2969, 1671, 0, 1667, 2, "INT"],
[2971, 1669, 0, 1665, 4, "FLOAT"],
[2973, 1668, 0, 1657, 1, "IMAGE"],
[2977, 1673, 0, 1674, 1, "IMAGE"],
[2978, 1670, 0, 1673, 0, "INT"],
[2979, 1671, 0, 1673, 1, "INT"],
[2980, 1664, 0, 1674, 0, "IMAGE"],
[2981, 1674, 0, 1665, 0, "IMAGE"],
[2982, 1674, 0, 1590, 0, "IMAGE"],
[2983, 1569, 0, 1591, 0, "IMAGE"],
[2987, 1680, 0, 1681, 0, "IMAGE"],
[2988, 1681, 0, 1682, 0, "MASK"],
[2989, 723, 0, 1683, 0, "WANVAE"],
[2990, 1683, 0, 402, 5, "WANVIDCONTEXT"],
[2991, 1682, 0, 1684, 3, "MASK"],
[2992, 998, 0, 1684, 4, "WANVIDIMAGE_EMBEDS"],
[2993, 1684, 0, 402, 2, "WANVIDIMAGE_EMBEDS"],
[2994, 723, 0, 1684, 0, "WANVAE"],
[2995, 1015, 0, 1684, 2, "IMAGE"],
[2996, 1357, 0, 1684, 5, "INT"],
[2997, 1358, 0, 1684, 6, "INT"],
[2998, 716, 0, 1684, 7, "INT"],
[2999, 1357, 0, 1680, 0, "INT"],
[3000, 1358, 0, 1680, 1, "INT"],
[3001, 716, 0, 1682, 1, "INT"],
[3002, 670, 0, 668, 0, "IMAGE"]
],
"groups": [
{
"id": 5,
"title": "Pose",
"bounding": [7950, 340, 1130, 1060],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 7,
"title": "Model Setup",
"bounding": [3470, 1440, 1500, 940],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 10,
"title": "Original Video Input",
"bounding": [3470, 340, 840, 690],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 13,
"title": "Comparison",
"bounding": [14990, 340, 2150, 2480],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 14,
"title": "Render",
"bounding": [9980, 340, 1190, 1590],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 23,
"title": "Upscale to original size",
"bounding": [12580, 340, 930, 940],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 24,
"title": "Add original masked video",
"bounding": [13530, 340, 1300, 1140],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 27,
"title": "Prompt",
"bounding": [3470, 1050, 840, 370],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 28,
"title": "1. Setup",
"bounding": [3470, 230, 1500, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 29,
"title": "2. Video Mask + Crop Mask (Trim)",
"bounding": [5150, 230, 2650, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 30,
"title": "3. Pre-processors",
"bounding": [7950, 230, 1870, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 31,
"title": "4. Render",
"bounding": [9980, 230, 1190, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 32,
"title": "6. Upscale + Mask Original Video",
"bounding": [12580, 230, 2250, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 33,
"title": "7. Comparisons",
"bounding": [14990, 230, 2150, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 35,
"title": "Merge Original Video + Control Pose Video",
"bounding": [9100, 340, 720, 1060],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 36,
"title": "SAM2 Points Editor",
"bounding": [5150, 340, 1630, 1790],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 37,
"title": "Reference Image",
"bounding": [4330, 340, 640, 1080],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 38,
"title": "Stitch",
"bounding": [11340, 340, 340, 890],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 39,
"title": "Crop",
"bounding": [6800, 340, 1000, 910],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 40,
"title": "Trim Frames + Color Match",
"bounding": [11700, 340, 740, 820],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 41,
"title": "5. Stitch + Trim Frames + Color Match",
"bounding": [11340, 230, 1100, 90],
"color": "#b06634",
"font_size": 64,
"flags": {}
},
{
"id": 42,
"title": "Calculate Crop Dimensions",
"bounding": [6800, 1270, 1000, 860],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 43,
"title": "Calculate Mask Expand/Blur Ratios",
"bounding": [5210, 1520, 890, 560],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 44,
"title": "Create Bounds Mask",
"bounding": [5150, 2150, 1460, 1240],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 45,
"title": "Depth + NormalCrafter",
"bounding": [7950, 1420, 1130, 1140],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 47,
"title": "Merge Original Video + Control Depth Video",
"bounding": [9100, 1420, 720, 1140],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 48,
"title": "Extended mode",
"bounding": [10010, 610, 380, 1220],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 49,
"title": "README",
"bounding": [2730, 240, 570, 90],
"color": "#b06634",
"font_size": 64,
"flags": { "pinned": true }
}
],
"config": {},
"extra": {
"controller_panel": {
"controllers": {},
"hidden": true,
"highlight": true,
"version": 2,
"default_order": []
},
"node_versions": {
"ComfyUI-Fluxtapoz": "17c71bea20e932945e9c1be0586cfd4b7e51cbf6",
"comfy-core": "0.3.14",
"ComfyUI-VideoHelperSuite": "c36626c6028faca912eafcedbc71f1d342fb4d2a",
"ComfyUI-KJNodes": "f653a8e45e72e5d7af9a91a2ff66c75ec44639f9",
"ComfyUI_essentials": "33ff89fd354d8ec3ab6affb605a79a931b445d99",
"rgthree-comfy": "31b784bac495160436a8cd91bf1a856cf01a738e"
},
"ue_links": [],
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 1.3109994191500145,
"offset": [-2306.0327700584394, -430.0599261733961]
},
"workspace_info": { "id": "xAO5RuhASETKmTET5xcc5" },
"frontendVersion": "1.18.10",
"links_added_by_ue": []
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment