{ "last_node_id": 139, "last_link_id": 90, "nodes": [ { "id": 116, "type": "VHS_LoadVideoPath", "pos": { "0": -314, "1": 279, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 358.1507873535156, 238 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "name": "meta_batch", "type": "VHS_BatchManager", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 73, 80, 85 ], "slot_index": 0, "shape": 3 }, { "name": "frame_count", "type": "INT", "links": null, "shape": 3 }, { "name": "audio", "type": "AUDIO", "links": null, "shape": 3 }, { "name": "video_info", "type": "VHS_VIDEOINFO", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "VHS_LoadVideoPath" }, "widgets_values": { "video": "D:\\AIRes\\video\\hhou-test1.mp4", "force_rate": 0, "force_size": "Disabled", "custom_width": 512, "custom_height": 512, "frame_load_cap": 0, "skip_first_frames": 0, "select_every_nth": 2, "videopreview": { "hidden": false, "paused": false, "params": { "frame_load_cap": 0, "skip_first_frames": 0, "force_rate": 0, "filename": "D:\\AIRes\\video\\hhou-test1.mp4", "type": "path", "format": "video/mp4", "select_every_nth": 2 }, "muted": false } } }, { "id": 137, "type": "Reroute", "pos": { "0": 103, "1": 186, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 75, 26 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 85 } ], "outputs": [ { "name": "", "type": "IMAGE", "links": [ 86 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 127, "type": "VHS_VideoCombine", "pos": { "0": -324, "1": 629, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 588.8154907226562, 643.9587135314941 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 73 }, { "name": "audio", "type": "AUDIO", "link": null }, { "name": "meta_batch", "type": "VHS_BatchManager", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 15, "loop_count": 0, "filename_prefix": "orig", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "orig_00035.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 15 }, "muted": false } } }, { "id": 122, "type": "VHS_VideoCombine", "pos": { "0": 306, "1": 637, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 578.6887817382812, 638.2624397277832 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 71 }, { "name": "audio", "type": "AUDIO", "link": null }, { "name": "meta_batch", "type": "VHS_BatchManager", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 15, "loop_count": 0, "filename_prefix": "sam2", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "sam2_00033.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 15 }, "muted": false } } }, { "id": 133, "type": "MaskToImage", "pos": { "0": 1192, "1": 539, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": { "0": 264.5999755859375, "1": 26 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "mask", "type": "MASK", "link": 78 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 79 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "MaskToImage" } }, { "id": 132, "type": "VHS_VideoCombine", "pos": { "0": 914, "1": 638, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 571.5888671875, 634.2687377929688 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 79 }, { "name": "audio", "type": "AUDIO", "link": null }, { "name": "meta_batch", "type": "VHS_BatchManager", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": [], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 15, "loop_count": 0, "filename_prefix": "mask", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "mask_00005.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 15 }, "muted": false } } }, { "id": 135, "type": "LayerUtility: BatchSelector", "pos": { "0": 99, "1": 275, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": { "0": 263.46063232421875, "1": 79.99906921386719 }, "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 80 }, { "name": "masks", "type": "MASK", "link": null } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 87 ], "slot_index": 0, "shape": 3 }, { "name": "mask", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LayerUtility: BatchSelector" }, "widgets_values": [ "0," ] }, { "id": 136, "type": "LayerMask: LoadFlorence2Model", "pos": { "0": 93, "1": 439, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": { "0": 269.74298095703125, "1": 58.20575714111328 }, "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "florence2_model", "type": "FLORENCE2", "links": [ 88 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "LayerMask: LoadFlorence2Model" }, "widgets_values": [ "base" ] }, { "id": 139, "type": "PreviewImage", "pos": { "0": 798, "1": -111, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 343.80730263450573, 225.6595587048399 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 90 } ], "outputs": [], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 126, "type": "LayerMask: SAM2VideoUltra", "pos": { "0": 798, "1": 166, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": { "0": 340.20001220703125, "1": 406 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 86 }, { "name": "bboxes", "type": "BBOXES", "link": 89 }, { "name": "pre_mask", "type": "MASK", "link": null }, { "name": "first_frame_mask", "type": "MASK", "link": null } ], "outputs": [ { "name": "mask", "type": "MASK", "links": [ 78 ], "slot_index": 0, "shape": 3 }, { "name": "preview", "type": "IMAGE", "links": [ 71 ], "slot_index": 1, "shape": 3 } ], "properties": { "Node name for S&R": "LayerMask: SAM2VideoUltra" }, "widgets_values": [ "sam2_hiera_base_plus.safetensors", "fp16", false, false, "#FF0080", "VITMatte", 6, 6, 0.15, 0.99, true, "cuda", 0.5 ] }, { "id": 138, "type": "LayerMask: ObjectDetectorFL2", "pos": { "0": 421, "1": 326, "2": 0, "3": 0, "4": 0, "5": 0, "6": 0, "7": 0, "8": 0, "9": 0 }, "size": [ 318.99998647724385, 150 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 87 }, { "name": "florence2_model", "type": "FLORENCE2", "link": 88 } ], "outputs": [ { "name": "bboxes", "type": "BBOXES", "links": [ 89 ], "shape": 3, "slot_index": 0 }, { "name": "preview", "type": "IMAGE", "links": [ 90 ], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "LayerMask: ObjectDetectorFL2" }, "widgets_values": [ "main subject", "top_to_bottom", "by_index", "1,2" ] } ], "links": [ [ 71, 126, 1, 122, 0, "IMAGE" ], [ 73, 116, 0, 127, 0, "IMAGE" ], [ 78, 126, 0, 133, 0, "MASK" ], [ 79, 133, 0, 132, 0, "IMAGE" ], [ 80, 116, 0, 135, 0, "IMAGE" ], [ 85, 116, 0, 137, 0, "*" ], [ 86, 137, 0, 126, 0, "IMAGE" ], [ 87, 135, 0, 138, 0, "IMAGE" ], [ 88, 136, 0, 138, 1, "FLORENCE2" ], [ 89, 138, 0, 126, 1, "BBOXES" ], [ 90, 138, 1, 139, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7513148009015777, "offset": [ 996.1918474342962, 133.300244699258 ] } }, "version": 0.4 }