{ "last_node_id": 167, "last_link_id": 214, "nodes": [ { "id": 45, "type": "PreviewImage", "pos": [ 5860, 430 ], "size": { "0": 210, "1": 250 }, "flags": {}, "order": 65, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 104 } ], "title": "Original Image", "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 28, "type": "PreviewImage", "pos": [ 6140, 420 ], "size": { "0": 210, "1": 250 }, "flags": { "collapsed": false }, "order": 96, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 106 } ], "title": "Output Image", "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 68, "type": "VHS_SplitImages", "pos": [ 6160, 380 ], "size": { "0": 320, "1": 120 }, "flags": { "collapsed": true }, "order": 94, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 105 } ], "outputs": [ { "name": "IMAGE_A", "type": "IMAGE", "links": [ 106 ], "shape": 3, "slot_index": 0 }, { "name": "A_count", "type": "INT", "links": null, "shape": 3 }, { "name": "IMAGE_B", "type": "IMAGE", "links": null, "shape": 3 }, { "name": "B_count", "type": "INT", "links": null, "shape": 3 } ], "title": "Preview Only 5 Images", "properties": { "Node name for S&R": "VHS_SplitImages" }, "widgets_values": { "split_index": 5 } }, { "id": 23, "type": "Reroute", "pos": [ 1970, 1770 ], "size": [ 75, 26 ], "flags": {}, "order": 55, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 23 } ], "outputs": [ { "name": "", "type": "VAE", "links": [ 89 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 56, "type": "SEGSPaste", "pos": [ 5870, 940 ], "size": { "0": 300, "1": 120 }, "flags": { "collapsed": false }, "order": 92, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 201 }, { "name": "segs", "type": "SEGS", "link": 76 }, { "name": "ref_image_opt", "type": "IMAGE", "link": null, "slot_index": 2 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 97 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "SEGSPaste" }, "widgets_values": [ 5, 255 ], "color": "#322", "bgcolor": "#533" }, { "id": 79, "type": "VAELoader", "pos": [ 360, 1600 ], "size": { "0": 320, "1": 70 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 145 ], "shape": 3, "slot_index": 0 } ], "title": "Optional VAE", "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "vae-ft-mse-840000-ema-pruned.ckpt" ] }, { "id": 4, "type": "Text Multiline", "pos": [ 380, 650 ], "size": { "0": 430, "1": 160 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 1 ], "shape": 3, "slot_index": 0 } ], "title": "Positive Prompts for Face ", "properties": { "Node name for S&R": "Text Multiline" }, "widgets_values": [ "masterpiece, beautiful, aesthetic, sharp details, focused , hd, 8k , 4k , sharp, highly detailed, eyes half closed, teeth, mouth, talking" ], "color": "#1a571a", "bgcolor": "#2e6b2e" }, { "id": 92, "type": "ControlNetLoader", "pos": [ 3900, 1440 ], "size": { "0": 320, "1": 60 }, "flags": {}, "order": 2, "mode": 2, "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 137 ], "shape": 3 } ], "properties": { "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "control_v11p_sd15_softedge.pth" ], "color": "#322", "bgcolor": "#533" }, { "id": 101, "type": "ControlNetLoader", "pos": [ 4540, 1440 ], "size": { "0": 320, "1": 60 }, "flags": {}, "order": 3, "mode": 2, "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 146 ], "shape": 3 } ], "properties": { "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "control_v11p_sd15_softedge.pth" ], "color": "#322", "bgcolor": "#533" }, { "id": 104, "type": "Reroute", "pos": [ 4930, 1140 ], "size": [ 75, 26 ], "flags": {}, "order": 85, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 149 } ], "outputs": [ { "name": "", "type": "SEGS", "links": [], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false }, "color": "#232", "bgcolor": "#353" }, { "id": 103, "type": "ImpactControlNetApplyAdvancedSEGS", "pos": [ 4540, 1230 ], "size": { "0": 320, "1": 170 }, "flags": {}, "order": 77, "mode": 2, "inputs": [ { "name": "segs", "type": "SEGS", "link": 148 }, { "name": "control_net", "type": "CONTROL_NET", "link": 146 }, { "name": "segs_preprocessor", "type": "SEGS_PREPROCESSOR", "link": null }, { "name": "control_image", "type": "IMAGE", "link": 147 } ], "outputs": [ { "name": "SEGS", "type": "SEGS", "links": [ 149 ], "shape": 3, "slot_index": 0 } ], "title": "ControlNetApplyAdvanced 2", "properties": { "Node name for S&R": "ImpactControlNetApplyAdvancedSEGS" }, "widgets_values": [ 0, 0, 1 ] }, { "id": 10, "type": "CR LoRA Stack", "pos": [ 360, 1720 ], "size": { "0": 320, "1": 340 }, "flags": { "collapsed": false }, "order": 4, "mode": 0, "inputs": [ { "name": "lora_stack", "type": "LORA_STACK", "link": null } ], "outputs": [ { "name": "LORA_STACK", "type": "LORA_STACK", "links": [ 10 ], "shape": 3, "slot_index": 0 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "title": "LoRA Stack", "properties": { "Node name for S&R": "CR LoRA Stack" }, "widgets_values": [ "Off", "None", 0.35000000000000003, 1, "Off", "None", 0.33, 1, "Off", "None", 0.24, 1 ], "color": "#0034a9", "bgcolor": "#0048bd" }, { "id": 105, "type": "Reroute", "pos": [ 4930, 1060 ], "size": [ 75, 26 ], "flags": {}, "order": 86, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 155 } ], "outputs": [ { "name": "", "type": "SEGS", "links": [ 158 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 107, "type": "Reroute", "pos": [ 5100, 1140 ], "size": [ 75, 26 ], "flags": {}, "order": 89, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 158 } ], "outputs": [ { "name": "", "type": "SEGS", "links": [ 157 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false }, "color": "#232", "bgcolor": "#353" }, { "id": 110, "type": "VHS_SplitImages", "pos": [ 3810, 1530 ], "size": { "0": 320, "1": 120 }, "flags": { "collapsed": true }, "order": 58, "mode": 2, "inputs": [ { "name": "images", "type": "IMAGE", "link": 160 } ], "outputs": [ { "name": "IMAGE_A", "type": "IMAGE", "links": [ 159 ], "shape": 3, "slot_index": 0 }, { "name": "A_count", "type": "INT", "links": null, "shape": 3 }, { "name": "IMAGE_B", "type": "IMAGE", "links": null, "shape": 3 }, { "name": "B_count", "type": "INT", "links": null, "shape": 3 } ], "title": " ", "properties": { "Node name for S&R": "VHS_SplitImages" }, "widgets_values": { "split_index": 2 } }, { "id": 109, "type": "PreviewImage", "pos": [ 3670, 1570 ], "size": { "0": 220, "1": 250 }, "flags": {}, "order": 74, "mode": 2, "inputs": [ { "name": "images", "type": "IMAGE", "link": 159 } ], "title": "Preview", "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 102, "type": "LoadImagesFromDirectory", "pos": [ 4540, 1540 ], "size": { "0": 320, "1": 150 }, "flags": {}, "order": 48, "mode": 2, "inputs": [ { "name": "image_load_cap", "type": "INT", "link": 152, "widget": { "name": "image_load_cap" }, "slot_index": 0 }, { "name": "start_index", "type": "INT", "link": 153, "widget": { "name": "start_index" }, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 147, 164 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 }, { "name": "INT", "type": "INT", "links": null, "shape": 3 } ], "title": "SoftEdgePlus Or LineArt", "properties": { "Node name for S&R": "LoadImagesFromDirectory" }, "widgets_values": [ "F:\\#Projects\\1) SD Animation\\29) Face - love me\\9) SoftEdgePlus", 50, 0 ], "color": "#323", "bgcolor": "#535" }, { "id": 114, "type": "VHS_SplitImages", "pos": [ 4880, 1540 ], "size": { "0": 320, "1": 120 }, "flags": { "collapsed": true }, "order": 59, "mode": 2, "inputs": [ { "name": "images", "type": "IMAGE", "link": 164 } ], "outputs": [ { "name": "IMAGE_A", "type": "IMAGE", "links": [ 163 ], "shape": 3, "slot_index": 0 }, { "name": "A_count", "type": "INT", "links": null, "shape": 3 }, { "name": "IMAGE_B", "type": "IMAGE", "links": null, "shape": 3 }, { "name": "B_count", "type": "INT", "links": null, "shape": 3 } ], "title": " ", "properties": { "Node name for S&R": "VHS_SplitImages" }, "widgets_values": { "split_index": 2 } }, { "id": 113, "type": "PreviewImage", "pos": [ 4870, 1580 ], "size": { "0": 220, "1": 250 }, "flags": {}, "order": 75, "mode": 2, "inputs": [ { "name": "images", "type": "IMAGE", "link": 163 } ], "title": "Preview", "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 108, "type": "Note", "pos": [ 4090, 1760 ], "size": { "0": 530, "1": 170 }, "flags": {}, "order": 5, "mode": 0, "title": "Controlnets", "properties": { "text": "" }, "widgets_values": [ "- Use SoftedgePlus or LineArt with 0.6 - 0.9 weight to get good facial details. \n(Change CN Model accordingly)\n\n- Use Low Strength (0.1 - 0.25) for the face fix denoise\n\n\n*Do NOT use optional refiner, it messes the image by adding latent noise.\nIf you want to use a second controlnet, unmute the nodes and connect the green reroute nodes. " ], "color": "#8200e6", "bgcolor": "#9600fa" }, { "id": 96, "type": "ImpactControlNetApplyAdvancedSEGS", "pos": [ 3900, 1230 ], "size": { "0": 320, "1": 170 }, "flags": {}, "order": 63, "mode": 2, "inputs": [ { "name": "segs", "type": "SEGS", "link": 143 }, { "name": "control_net", "type": "CONTROL_NET", "link": 137 }, { "name": "segs_preprocessor", "type": "SEGS_PREPROCESSOR", "link": null }, { "name": "control_image", "type": "IMAGE", "link": 138 } ], "outputs": [ { "name": "SEGS", "type": "SEGS", "links": [ 148 ], "shape": 3, "slot_index": 0 } ], "title": "ControlNetApplyAdvanced 1", "properties": { "Node name for S&R": "ImpactControlNetApplyAdvancedSEGS" }, "widgets_values": [ 0.9, 0, 1 ] }, { "id": 58, "type": "UltralyticsDetectorProvider", "pos": [ 2920, 1240 ], "size": { "0": 320, "1": 80 }, "flags": { "collapsed": true }, "order": 6, "mode": 0, "outputs": [ { "name": "BBOX_DETECTOR", "type": "BBOX_DETECTOR", "links": [ 77 ], "shape": 3 }, { "name": "SEGM_DETECTOR", "type": "SEGM_DETECTOR", "links": [], "shape": 3, "slot_index": 1 } ], "properties": { "Node name for S&R": "UltralyticsDetectorProvider" }, "widgets_values": [ "bbox/face_yolov8m.pt" ], "color": "#322", "bgcolor": "#533" }, { "id": 59, "type": "SAMLoader", "pos": [ 2920, 1300 ], "size": { "0": 320, "1": 80 }, "flags": { "collapsed": true }, "order": 7, "mode": 0, "outputs": [ { "name": "SAM_MODEL", "type": "SAM_MODEL", "links": [ 78 ], "shape": 3 } ], "properties": { "Node name for S&R": "SAMLoader" }, "widgets_values": [ "sam_vit_b_01ec64.pth", "AUTO" ], "color": "#322", "bgcolor": "#533" }, { "id": 33, "type": "Reroute", "pos": [ 2710, 790 ], "size": [ 75, 26 ], "flags": {}, "order": 88, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 211 } ], "outputs": [ { "name": "", "type": "MODEL", "links": [ 86 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 119, "type": "Text String", "pos": [ 6280, 960 ], "size": { "0": 320, "1": 190 }, "flags": { "collapsed": true }, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 165 ], "shape": 3, "slot_index": 0 }, { "name": "STRING", "type": "STRING", "links": [], "shape": 3, "slot_index": 1 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 } ], "title": "Name", "properties": { "Node name for S&R": "Text String" }, "widgets_values": [ "Batch_", "", "", "" ] }, { "id": 120, "type": "Text Concatenate", "pos": [ 6490, 960 ], "size": { "0": 320, "1": 180 }, "flags": { "collapsed": true }, "order": 87, "mode": 0, "inputs": [ { "name": "text_a", "type": "STRING", "link": 165, "widget": { "name": "text_a" } }, { "name": "text_b", "type": "STRING", "link": 166, "widget": { "name": "text_b" } }, { "name": "text_c", "type": "STRING", "link": null, "widget": { "name": "text_c" } }, { "name": "text_d", "type": "STRING", "link": null, "widget": { "name": "text_d" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 168 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "Text Concatenate" }, "widgets_values": [ "", "true", "false", "", "", "" ] }, { "id": 121, "type": "GetNode", "pos": [ 6340, 1320 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 9, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 172 ], "slot_index": 0 } ], "title": "Get_Lap", "properties": {}, "widgets_values": [ "Lap" ] }, { "id": 124, "type": "MathExpression|pysssss", "pos": [ 6320, 1160 ], "size": { "0": 400, "1": 200 }, "flags": { "collapsed": true }, "order": 56, "mode": 0, "inputs": [ { "name": "a", "type": "INT,FLOAT,IMAGE,LATENT", "link": 169 }, { "name": "b", "type": "INT,FLOAT,IMAGE,LATENT", "link": null }, { "name": "c", "type": "INT,FLOAT,IMAGE,LATENT", "link": null } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 170 ], "shape": 3, "slot_index": 0 }, { "name": "FLOAT", "type": "FLOAT", "links": [], "shape": 3, "slot_index": 1 } ], "title": "Padding_Math", "properties": { "Node name for S&R": "MathExpression|pysssss" }, "widgets_values": [ "a+10000" ], "color": "#222", "bgcolor": "#000" }, { "id": 125, "type": "LogicUtil_ConvertAny2String", "pos": [ 6340, 1100 ], "size": { "0": 210, "1": 30 }, "flags": { "collapsed": true }, "order": 67, "mode": 0, "inputs": [ { "name": "input1", "type": "*", "link": 170 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 171 ], "shape": 3, "slot_index": 0 } ], "title": " ", "properties": { "Node name for S&R": "LogicUtil_ConvertAny2String" } }, { "id": 126, "type": "Text String Truncate", "pos": [ 6280, 1030 ], "size": { "0": 320, "1": 260 }, "flags": { "collapsed": true }, "order": 80, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 171, "widget": { "name": "text" } }, { "name": "text_b", "type": "STRING", "link": null, "widget": { "name": "text_b" } }, { "name": "text_c", "type": "STRING", "link": null, "widget": { "name": "text_c" } }, { "name": "text_d", "type": "STRING", "link": null, "widget": { "name": "text_d" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 166 ], "shape": 3, "slot_index": 0 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 }, { "name": "STRING", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "Text String Truncate" }, "widgets_values": [ "", "characters", "beginning", -4, "", "", "" ] }, { "id": 127, "type": "LogicUtil_ConvertAny2Int", "pos": [ 6370, 1230 ], "size": { "0": 210, "1": 30 }, "flags": { "collapsed": true }, "order": 45, "mode": 0, "inputs": [ { "name": "input1", "type": "*", "link": 172 } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 169 ], "shape": 3, "slot_index": 0 } ], "title": " ", "properties": { "Node name for S&R": "LogicUtil_ConvertAny2Int" } }, { "id": 133, "type": "LogicUtil_ConvertAny2String", "pos": [ 823.3446421739083, 172.49777521217004 ], "size": { "0": 210, "1": 30 }, "flags": { "collapsed": true }, "order": 71, "mode": 0, "inputs": [ { "name": "input1", "type": "*", "link": 181 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 188 ], "shape": 3, "slot_index": 0 } ], "title": " ", "properties": { "Node name for S&R": "LogicUtil_ConvertAny2String" }, "color": "#222", "bgcolor": "#000" }, { "id": 134, "type": "LogicUtil_ConvertAny2String", "pos": [ 823.3446421739083, 82.49777521217005 ], "size": { "0": 210, "1": 30 }, "flags": { "collapsed": true }, "order": 68, "mode": 0, "inputs": [ { "name": "input1", "type": "*", "link": 182 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 183 ], "shape": 3, "slot_index": 0 } ], "title": " ", "properties": { "Node name for S&R": "LogicUtil_ConvertAny2String" }, "color": "#222", "bgcolor": "#000" }, { "id": 135, "type": "SetNode", "pos": [ 823.3446421739083, 132.49777521217004 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 81, "mode": 0, "inputs": [ { "name": "STRING", "type": "STRING", "link": 183 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": " ", "properties": { "previousName": "" }, "widgets_values": [ "Lap_Number" ], "color": "#222", "bgcolor": "#000" }, { "id": 136, "type": "JDCN_AnyFileList", "pos": [ 793.3446421739081, 2.4977752121700503 ], "size": { "0": 320, "1": 170 }, "flags": { "collapsed": true }, "order": 46, "mode": 0, "inputs": [ { "name": "folder_path", "type": "STRING", "link": 184, "widget": { "name": "folder_path" }, "slot_index": 0 } ], "outputs": [ { "name": "PathList", "type": "STRING", "links": null, "shape": 6 }, { "name": "NameList", "type": "STRING", "links": null, "shape": 6 }, { "name": "Total", "type": "INT", "links": [ 179 ], "shape": 3, "slot_index": 2 } ], "title": "Total Frames", "properties": { "Node name for S&R": "JDCN_AnyFileList" }, "widgets_values": [ "F:\\#Projects\\1) SD Animation\\38) Korean Sing\\8) Mask", "*", "*", false ], "color": "#1b3393", "bgcolor": "#2f47a7" }, { "id": 138, "type": "SetNode", "pos": [ 1011.6320751674859, -5.5982780429991195 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 70, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 186 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": "Set_Batch_Range", "properties": { "previousName": "" }, "widgets_values": [ "Batch_Range" ], "color": "#222", "bgcolor": "#000" }, { "id": 143, "type": "ShowText|pysssss", "pos": [ 733.3446421739078, 232.49777521217032 ], "size": { "0": 210, "1": 80 }, "flags": {}, "order": 82, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 188, "widget": { "name": "text" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null, "shape": 6 } ], "title": "Laps_Needed", "properties": { "Node name for S&R": "ShowText|pysssss" }, "widgets_values": [ "", "23" ], "color": "#960e0e", "bgcolor": "#aa2222" }, { "id": 130, "type": "Seed Generator", "pos": [ 383.3446421739073, -107.5022247878299 ], "size": { "0": 240, "1": 80 }, "flags": { "pinned": false }, "order": 10, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 177 ], "shape": 3, "slot_index": 0 } ], "title": "Lap Counter", "properties": { "Node name for S&R": "Seed Generator" }, "widgets_values": [ 0, "fixed" ], "color": "#8e0101", "bgcolor": "#a21515" }, { "id": 137, "type": "SetNode", "pos": [ 1001.6320751674859, 54.401721957000845 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 72, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 185 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": "Set_Skip_Frames", "properties": { "previousName": "" }, "widgets_values": [ "Skip_Frames" ], "color": "#222", "bgcolor": "#000" }, { "id": 132, "type": "JDCN_BatchCounterAdvance", "pos": [ 741.6320751674859, 34.401721957000866 ], "size": { "0": 320, "1": 290 }, "flags": { "collapsed": true }, "order": 57, "mode": 0, "inputs": [ { "name": "Lap", "type": "INT", "link": 177, "widget": { "name": "Lap" } }, { "name": "Range", "type": "INT", "link": 178, "widget": { "name": "Range" } }, { "name": "Frames", "type": "INT", "link": 179, "widget": { "name": "Frames" } }, { "name": "Overlap", "type": "INT", "link": 180, "widget": { "name": "Overlap" } } ], "outputs": [ { "name": "Lap", "type": "INT", "links": [ 182, 187 ], "shape": 3, "slot_index": 0 }, { "name": "Range", "type": "INT", "links": null, "shape": 3, "slot_index": 1 }, { "name": "FinalRange", "type": "INT", "links": [ 186 ], "shape": 3, "slot_index": 2 }, { "name": "Overlap", "type": "INT", "links": null, "shape": 3 }, { "name": "TotalLapsNeeded", "type": "INT", "links": [ 181 ], "shape": 3, "slot_index": 4 }, { "name": "Frames", "type": "INT", "links": null, "shape": 3 }, { "name": "SkipFrame", "type": "INT", "links": [], "shape": 3, "slot_index": 6 }, { "name": "WithoutSkipFrame", "type": "INT", "links": [ 185, 190 ], "shape": 3, "slot_index": 7 } ], "properties": { "Node name for S&R": "JDCN_BatchCounterAdvance" }, "widgets_values": [ 1, "fixed", 1, 6, 1 ] }, { "id": 141, "type": "SetNode", "pos": [ 1021.6320751674862, -75.5982780429991 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 69, "mode": 0, "inputs": [ { "name": "INT", "type": "INT", "link": 187 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": "Set_Lap", "properties": { "previousName": "" }, "widgets_values": [ "Lap" ], "color": "#222", "bgcolor": "#000" }, { "id": 145, "type": "LogicUtil_ConvertAny2String", "pos": [ 1051.6320751674866, 104.40172195700082 ], "size": { "0": 210, "1": 30 }, "flags": { "collapsed": true }, "order": 73, "mode": 0, "inputs": [ { "name": "input1", "type": "*", "link": 190 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 189 ], "shape": 3, "slot_index": 0 } ], "title": " ", "properties": { "Node name for S&R": "LogicUtil_ConvertAny2String" }, "color": "#222", "bgcolor": "#000" }, { "id": 144, "type": "ShowText|pysssss", "pos": [ 961.6320751674859, 234.40172195700094 ], "size": { "0": 210, "1": 80 }, "flags": {}, "order": 83, "mode": 0, "inputs": [ { "name": "text", "type": "STRING", "link": 189, "widget": { "name": "text" } } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": null, "shape": 6 } ], "title": "Skip Frame Display", "properties": { "Node name for S&R": "ShowText|pysssss" }, "widgets_values": [ "", "0" ], "color": "#2d1d59", "bgcolor": "#41316d" }, { "id": 142, "type": "GetNode", "pos": [ 771.6320751674859, -45.598278042999105 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 11, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 184 ] } ], "title": "Get_Input_Folder", "properties": {}, "widgets_values": [ "Input_Folder" ], "color": "#222", "bgcolor": "#000" }, { "id": 140, "type": "Int Literal", "pos": [ 393.3446421739073, 242.49777521217032 ], "size": { "0": 240, "1": 70 }, "flags": {}, "order": 12, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 180 ], "shape": 3, "slot_index": 0 } ], "title": "Overlap", "properties": { "Node name for S&R": "Int Literal" }, "widgets_values": [ 0 ], "color": "#0c8183", "bgcolor": "#209597" }, { "id": 139, "type": "Int Literal", "pos": [ 393.3446421739073, 62.49777521217001 ], "size": { "0": 240, "1": 70 }, "flags": {}, "order": 13, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 178 ], "shape": 3, "slot_index": 0 } ], "title": "Batch Range", "properties": { "Node name for S&R": "Int Literal" }, "widgets_values": [ 10 ], "color": "#5a04a0", "bgcolor": "#6e18b4" }, { "id": 147, "type": "Note", "pos": [ -200, 60 ], "size": { "0": 520, "1": 160 }, "flags": {}, "order": 14, "mode": 0, "title": "Batch Range Note", "properties": { "text": "" }, "widgets_values": [ "Set The Max Frames your PC can handle at a time. This value should be same throughout the Batches.\n\n*IMP If you use overlap then Batch Range and Overlap will add up to give Final Range\n\nFor Example: \nBatch Range = 50\nOverlap = 10\n\nFinal Range = 60 (50+10) \n-------------------------------------------------------------\n\nThis Final Range will be changed in the last batch, it may increase or decrease during the last batch. This Auto Adjusting is to prevent last batch becoming too small (min 10) for AnimateDiff to render. \n\n\n\n " ], "color": "#5a04a0", "bgcolor": "#6e18b4" }, { "id": 148, "type": "Note", "pos": [ -200, -210 ], "size": { "0": 520, "1": 220 }, "flags": {}, "order": 15, "mode": 0, "title": "Lap Counter Node", "properties": { "text": "" }, "widgets_values": [ "Lap Needed Box will show how much Times you need to click the \"Queue Prompt\". \nChange the Lap Counter to Increment for Final Rendering.\n\nThe Rendering System is Now Automated like CN Passes Extractor File. \nIt will calculate skip frames value automatically, no need to enter now. \nAlso, it will automatically Stop with the \"Out of Frames\" Error when Done rendering. \n\nIt is calculated like this: \n\n*Skip Frame = Lap Counter x Range\n\n\nIMP: The Last Lap will adjust automatically decrease or increase the remaining Frames.\nThe \"Total Frames (T.F.) \" is equal to the Images in CN 2 Directory \n\nFor Example: You have total Frames of 152, Range = 50, Overlap = 0,\nSo, it will run 4 Times \n\n[Math.Ceil(TF/Range) which will give 4 laps] \n\nLap 1: Skip = 000 | Range = 50\nLap 2: Skip = 050 | Range = 50\nLap 3: Skip = 100 | Range = 52 <- 02 Remaining frames are auto adjusted here\nLap 4: Skip = 150 | Range = 00 <- It will give Out of Frame error and Stop\n\n\n--------------------------------------\n\n\nIf somehow, A batch is skipped due to out of frame error, you can easily render it. \nGo to the explorer and check all the batch naming, if you found some missing, Change the Lap Counter to Fixed. \n\nSuppose my Batch_0005 is missing from the raw folder, then I'll set it to 5 and render ... easy as that. \n\n \n\n\n\n\n" ], "color": "#8e0101", "bgcolor": "#a21515" }, { "id": 5, "type": "Text Multiline", "pos": [ 380, 850 ], "size": { "0": 430, "1": 130 }, "flags": {}, "order": 16, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 2 ], "shape": 3, "slot_index": 0 } ], "title": "Negative Prompts for Face", "properties": { "Node name for S&R": "Text Multiline" }, "widgets_values": [ "ugly, deformed, bad lighting, blurry, text, watermark, extra hands, bad quality, deformed hands, deformed fingers, nostalgic, drawing, painting, bad anatomy, worst quality, blurry, blurred, normal quality, bad focus, tripod, three legs, weird legs, short legs, bag, handbag, 3 hands, 4 hands, three hands\n\n(embedding:BadDream:1) boy, man, male,\n(embedding:ng_deepnegative_v1_75t:1), \n(embedding:epiCNegative:1), \n(embedding:bad-picture-chill-75v:1), \n(embedding:AS-YoungV2-neg:1), \n(embedding:ERA09NEGV2:1) " ], "color": "#571a1a", "bgcolor": "#6b2e2e" }, { "id": 95, "type": "GetNode", "pos": [ 4280, 1570 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 17, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 135, 152 ], "slot_index": 0 } ], "title": "Get_Batch_Range", "properties": {}, "widgets_values": [ "Batch_Range" ], "color": "#222", "bgcolor": "#000" }, { "id": 94, "type": "GetNode", "pos": [ 4280, 1610 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 18, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 136, 153 ], "slot_index": 0 } ], "title": "Get_Skip_Frames", "properties": {}, "widgets_values": [ "Skip_Frames" ], "color": "#222", "bgcolor": "#000" }, { "id": 152, "type": "GetNode", "pos": [ 890, -320 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 19, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 194 ] } ], "title": "Get_Input_Folder", "properties": {}, "widgets_values": [ "Input_Folder" ], "color": "#222", "bgcolor": "#000" }, { "id": 93, "type": "LoadImagesFromDirectory", "pos": [ 3900, 1540 ], "size": { "0": 320, "1": 150 }, "flags": {}, "order": 47, "mode": 2, "inputs": [ { "name": "image_load_cap", "type": "INT", "link": 135, "widget": { "name": "image_load_cap" }, "slot_index": 0 }, { "name": "start_index", "type": "INT", "link": 136, "widget": { "name": "start_index" }, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 138, 160 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 }, { "name": "INT", "type": "INT", "links": null, "shape": 3 } ], "title": "SoftEdgePlus Or LineArt", "properties": { "Node name for S&R": "LoadImagesFromDirectory" }, "widgets_values": [ "F:\\#Projects\\1) SD Animation\\30) Fatan Stick\\CN\\9) SoftEdgePlus", 50, 0 ], "color": "#323", "bgcolor": "#535" }, { "id": 6, "type": "smZ CLIPTextEncode", "pos": [ 1420, 740 ], "size": { "0": 220, "1": 160 }, "flags": { "collapsed": true }, "order": 62, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 59 }, { "name": "text", "type": "STRING", "link": 2, "widget": { "name": "text" } } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 85 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "smZ CLIPTextEncode" }, "widgets_values": [ "", "full", true, false, false, false, 6, 1024, 1024, 0, 0, 1024, 1024, "", "", 1 ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 3, "type": "smZ CLIPTextEncode", "pos": [ 1420, 660 ], "size": { "0": 220, "1": 160 }, "flags": { "collapsed": true }, "order": 61, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 58 }, { "name": "text", "type": "STRING", "link": 1, "widget": { "name": "text" } } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 84 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "smZ CLIPTextEncode" }, "widgets_values": [ "", "full", true, true, false, false, 6, 1024, 1024, 0, 0, 1024, 1024, "", "", 1 ], "color": "#2a363b", "bgcolor": "#3f5159" }, { "id": 1, "type": "CheckpointLoaderSimple", "pos": [ 360, 1460 ], "size": { "0": 320, "1": 100 }, "flags": { "collapsed": false }, "order": 20, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 8 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 9 ], "shape": 3, "slot_index": 1 }, { "name": "VAE", "type": "VAE", "links": [], "shape": 3, "slot_index": 2 } ], "title": "Load AD Checkpoint", "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "animerge_v27.safetensors" ], "color": "#0034a9", "bgcolor": "#0048bd" }, { "id": 57, "type": "ImpactSimpleDetectorSEGS_for_AD", "pos": [ 3370, 1210 ], "size": { "0": 320, "1": 330 }, "flags": { "collapsed": false }, "order": 52, "mode": 0, "inputs": [ { "name": "bbox_detector", "type": "BBOX_DETECTOR", "link": 77, "slot_index": 0 }, { "name": "image_frames", "type": "IMAGE", "link": 198 }, { "name": "sam_model_opt", "type": "SAM_MODEL", "link": 78, "slot_index": 2 }, { "name": "segm_detector_opt", "type": "SEGM_DETECTOR", "link": null } ], "outputs": [ { "name": "SEGS", "type": "SEGS", "links": [ 143, 195 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ImpactSimpleDetectorSEGS_for_AD" }, "widgets_values": [ 0.5, 10, 2.5, 50, 0.5, 10, 0, 0.5, "Pivot SEGS", "Combined mask" ], "color": "#322", "bgcolor": "#533" }, { "id": 76, "type": "String to Text", "pos": [ 400, -710 ], "size": { "0": 430, "1": 60 }, "flags": {}, "order": 21, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 175 ], "shape": 3, "slot_index": 0 } ], "title": "Output Images Folder", "properties": { "Node name for S&R": "String to Text" }, "widgets_values": [ "F:\\#Projects\\1) SD Animation\\30) Fatan Stick\\Render\\3) LipSync\\4_Swapped_B" ], "color": "#450075", "bgcolor": "#590189" }, { "id": 153, "type": "Reroute", "pos": [ 3900, 1060 ], "size": [ 75, 26 ], "flags": {}, "order": 64, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 195 } ], "outputs": [ { "name": "", "type": "SEGS", "links": [ 196 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 106, "type": "Reroute", "pos": [ 4440, 1060 ], "size": [ 75, 26 ], "flags": {}, "order": 78, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 196 } ], "outputs": [ { "name": "", "type": "SEGS", "links": [ 155 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 154, "type": "Note", "pos": [ 4340, 980 ], "size": [ 300, 60 ], "flags": {}, "order": 22, "mode": 0, "title": "Bypass Controlnet", "properties": { "text": "" }, "widgets_values": [ "Connect these and mute controlnet to bypass" ], "color": "#37773e", "bgcolor": "#4b8b52" }, { "id": 78, "type": "String to Text", "pos": [ 400, -820 ], "size": { "0": 430, "1": 70 }, "flags": {}, "order": 23, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 191 ], "shape": 3, "slot_index": 0 } ], "title": "Input Images Folder", "properties": { "Node name for S&R": "String to Text" }, "widgets_values": [ "F:\\#Projects\\1) SD Animation\\30) Fatan Stick\\Render\\3) LipSync\\4_Swapped_B" ], "color": "#003376", "bgcolor": "#00478a" }, { "id": 21, "type": "LoadImagesFromDirectory", "pos": [ 870, -470 ], "size": { "0": 320, "1": 140 }, "flags": { "collapsed": true }, "order": 54, "mode": 0, "inputs": [ { "name": "image_load_cap", "type": "INT", "link": 192, "widget": { "name": "image_load_cap" }, "slot_index": 0 }, { "name": "start_index", "type": "INT", "link": 193, "widget": { "name": "start_index" }, "slot_index": 1 }, { "name": "directory", "type": "STRING", "link": 194, "widget": { "name": "directory" }, "slot_index": 2 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 82 ], "shape": 3, "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 }, { "name": "INT", "type": "INT", "links": null, "shape": 3 } ], "title": "Input Refined Images", "properties": { "Node name for S&R": "LoadImagesFromDirectory" }, "widgets_values": [ "F:\\#Projects\\1) SD Animation\\15) Anime Tell me\\LCM_Raw_Refined", 10, 0 ], "color": "#323", "bgcolor": "#535" }, { "id": 150, "type": "GetNode", "pos": [ 880, -380 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 24, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 193 ], "slot_index": 0 } ], "title": "Get_Skip_Frames", "properties": {}, "widgets_values": [ "Skip_Frames" ], "color": "#222", "bgcolor": "#000" }, { "id": 36, "type": "ImageScaleBy", "pos": [ 860, -510 ], "size": { "0": 260, "1": 80 }, "flags": { "collapsed": true }, "order": 66, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 82, "slot_index": 0 }, { "name": "scale_by", "type": "FLOAT", "link": 83, "widget": { "name": "scale_by" }, "slot_index": 1 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 197 ], "shape": 3, "slot_index": 0 } ], "title": "Upscale/Downscale Image", "properties": { "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "nearest-exact", 0.35000000000000003 ], "color": "#223", "bgcolor": "#335" }, { "id": 39, "type": "FloatConstant", "pos": [ 400, -540 ], "size": { "0": 240, "1": 60 }, "flags": {}, "order": 25, "mode": 0, "outputs": [ { "name": "value", "type": "FLOAT", "links": [ 83 ], "shape": 3, "slot_index": 0 } ], "title": "[Optional] Upscale/Downscale", "properties": { "Node name for S&R": "FloatConstant" }, "widgets_values": [ 1 ], "color": "#151515", "bgcolor": "#292929" }, { "id": 156, "type": "GetNode", "pos": [ 3080, 1130 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 26, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 198 ], "slot_index": 0 } ], "title": "Get_Input_Images", "properties": {}, "widgets_values": [ "Input_Images" ] }, { "id": 157, "type": "GetNode", "pos": [ 5120, 710 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 27, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 199 ], "slot_index": 0 } ], "title": "Get_Input_Images", "properties": {}, "widgets_values": [ "Input_Images" ] }, { "id": 158, "type": "GetNode", "pos": [ 5930, 760 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 28, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 200 ], "slot_index": 0 } ], "title": "Get_Input_Images", "properties": {}, "widgets_values": [ "Input_Images" ] }, { "id": 159, "type": "GetNode", "pos": [ 5880, 890 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 29, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 201 ], "slot_index": 0 } ], "title": "Get_Input_Images", "properties": {}, "widgets_values": [ "Input_Images" ] }, { "id": 27, "type": "ColorMatch", "pos": [ 6140, 760 ], "size": { "0": 300, "1": 80 }, "flags": { "collapsed": true }, "order": 93, "mode": 0, "inputs": [ { "name": "image_ref", "type": "IMAGE", "link": 200 }, { "name": "image_target", "type": "IMAGE", "link": 97 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 105, 173 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ColorMatch" }, "widgets_values": [ "mkl" ] }, { "id": 67, "type": "VHS_SplitImages", "pos": [ 5870, 380 ], "size": { "0": 320, "1": 120 }, "flags": { "collapsed": true }, "order": 53, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 202 } ], "outputs": [ { "name": "IMAGE_A", "type": "IMAGE", "links": [ 104 ], "shape": 3, "slot_index": 0 }, { "name": "A_count", "type": "INT", "links": null, "shape": 3 }, { "name": "IMAGE_B", "type": "IMAGE", "links": null, "shape": 3 }, { "name": "B_count", "type": "INT", "links": null, "shape": 3 } ], "title": "Preview Only 5 Images", "properties": { "Node name for S&R": "VHS_SplitImages" }, "widgets_values": { "split_index": 5 } }, { "id": 160, "type": "GetNode", "pos": [ 5880, 330 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 30, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 202 ], "slot_index": 0 } ], "title": "Get_Input_Images", "properties": {}, "widgets_values": [ "Input_Images" ] }, { "id": 123, "type": "GetNode", "pos": [ 6320, 840 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 31, "mode": 0, "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 167 ] } ], "title": "Get_Output_Path", "properties": {}, "widgets_values": [ "Output_Path" ] }, { "id": 122, "type": "JDCN_ImageSaver", "pos": [ 6770, 730 ], "size": { "0": 320, "1": 110 }, "flags": {}, "order": 95, "mode": 0, "inputs": [ { "name": "Images", "type": "IMAGE", "link": 173 }, { "name": "Directory", "type": "STRING", "link": 167, "widget": { "name": "Directory" }, "slot_index": 1 }, { "name": "FilenamePrefix", "type": "STRING", "link": 168, "widget": { "name": "FilenamePrefix" } } ], "properties": { "Node name for S&R": "JDCN_ImageSaver" }, "widgets_values": [ "", "Image", false ], "color": "#002498", "bgcolor": "#1138ac" }, { "id": 146, "type": "SetNode", "pos": [ 850, -790 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 51, "mode": 0, "inputs": [ { "name": "STRING", "type": "STRING", "link": 191 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": "Set_Input_Folder", "properties": { "previousName": "Input_Folder" }, "widgets_values": [ "Input_Folder" ], "color": "#222", "bgcolor": "#000" }, { "id": 129, "type": "SetNode", "pos": [ 860, -680 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 50, "mode": 0, "inputs": [ { "name": "STRING", "type": "STRING", "link": 175, "slot_index": 0 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": "Set_Output_Path", "properties": { "previousName": "" }, "widgets_values": [ "Output_Path" ], "color": "#222", "bgcolor": "#000" }, { "id": 151, "type": "GetNode", "pos": [ 880, -420 ], "size": { "0": 210, "1": 58 }, "flags": { "collapsed": true }, "order": 32, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 192 ], "slot_index": 0 } ], "title": "Get_Batch_Range", "properties": {}, "widgets_values": [ "Batch_Range" ], "color": "#222", "bgcolor": "#000" }, { "id": 155, "type": "SetNode", "pos": [ 1110, -510 ], "size": { "0": 210, "1": 60 }, "flags": { "collapsed": true }, "order": 79, "mode": 0, "inputs": [ { "name": "IMAGE", "type": "IMAGE", "link": 197 } ], "outputs": [ { "name": "*", "type": "*", "links": null } ], "title": "Set_Input_Images", "properties": { "previousName": "Input_Images" }, "widgets_values": [ "Input_Images" ], "color": "#222", "bgcolor": "#000" }, { "id": 24, "type": "FloatConstant", "pos": [ 380, 520 ], "size": { "0": 210, "1": 60 }, "flags": {}, "order": 33, "mode": 0, "outputs": [ { "name": "value", "type": "FLOAT", "links": [ 101 ], "shape": 3, "slot_index": 0 } ], "title": "Face Fix Denoise", "properties": { "Node name for S&R": "FloatConstant" }, "widgets_values": [ 0.55 ], "color": "#50006c", "bgcolor": "#640080" }, { "id": 117, "type": "Note", "pos": [ 20, 520 ], "size": { "0": 330, "1": 130 }, "flags": {}, "order": 34, "mode": 0, "title": "Denoising", "properties": { "text": "" }, "widgets_values": [ "* Use value 0.1 - 0.5 for Normal Face Fix\n\n* Use value 0.1 - 0.3 for Swapper Face Fix to preserve lip sync. " ], "color": "#560070", "bgcolor": "#6a0b84", "shape": 4 }, { "id": 91, "type": "Note", "pos": [ 1340, 1950 ], "size": { "0": 410, "1": 200 }, "flags": {}, "order": 35, "mode": 0, "title": "AnimateDiff", "properties": { "text": "" }, "widgets_values": [ "Model - motionModel_v01 and Temporaldiff-v1-animatediff was seen to produce best results.\n\nContext Length to 16\n----------------------------\n\nmotionModel_v01 - https://civitai.com/models/139237?modelVersionId=154097\n\nTemporaldiff - https://huggingface.co/CiaraRowles/TemporalDiff/tree/main\n* Temporal Diff can sometime give yellow tint to the final image, which can be fixed in post using curves>playing with the blue channel or use 2.5 - 4 cfg.\n\n\nFeel free to test out other motion models. \n" ], "color": "#233", "bgcolor": "#355" }, { "id": 22, "type": "Reroute", "pos": [ 900, 1780 ], "size": [ 75, 26 ], "flags": {}, "order": 44, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 145 } ], "outputs": [ { "name": "", "type": "VAE", "links": [ 23 ], "slot_index": 0 } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 60, "type": "ToBasicPipe", "pos": [ 2920, 750 ], "size": { "0": 240, "1": 110 }, "flags": { "collapsed": true }, "order": 90, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 86, "slot_index": 0 }, { "name": "clip", "type": "CLIP", "link": 204, "slot_index": 1 }, { "name": "vae", "type": "VAE", "link": 89, "slot_index": 2 }, { "name": "positive", "type": "CONDITIONING", "link": 84, "slot_index": 3 }, { "name": "negative", "type": "CONDITIONING", "link": 85, "slot_index": 4 } ], "outputs": [ { "name": "basic_pipe", "type": "BASIC_PIPE", "links": [ 94 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ToBasicPipe" } }, { "id": 161, "type": "Note", "pos": [ 2712.114460381807, 2040.043773791398 ], "size": { "0": 410, "1": 150 }, "flags": {}, "order": 36, "mode": 0, "title": "AnimateDiff", "properties": { "text": "" }, "widgets_values": [ "Model - motionModel_v01 and Temporaldiff-v1-animatediff was seen to produce best results.\nContext Length to 16\n----------------------------\nmotionModel_v01 - https://civitai.com/models/139237?modelVersionId=154097\n\nTemporaldiff - https://huggingface.co/CiaraRowles/TemporalDiff/tree/main\n* Temporal Diff can sometime give yellow tint to the final image, which can be fixed in post using curves>playing with the blue channel.\n\n\nFeel free to test out other motion models. \n" ], "color": "#754816", "bgcolor": "#895c2a" }, { "id": 164, "type": "FreeU_V2", "pos": [ 2390, 1090 ], "size": { "0": 320, "1": 130 }, "flags": { "collapsed": false }, "order": 84, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 207 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 211 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "FreeU_V2" }, "widgets_values": [ 1.3, 1.4, 0.9, 0.2 ] }, { "id": 163, "type": "DynamicThresholdingFull", "pos": [ 1470, 1570 ], "size": { "0": 320, "1": 300 }, "flags": { "collapsed": true }, "order": 60, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 214, "slot_index": 0 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 208 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "DynamicThresholdingFull" }, "widgets_values": [ 7, 1, "Half Cosine Up", 5, "Half Cosine Up", 5, 1, "enable", "MEAN", "AD", 1 ] }, { "id": 165, "type": "ADE_AnimateDiffLoaderWithContext", "pos": [ 1770, 1270 ], "size": { "0": 340, "1": 230 }, "flags": {}, "order": 76, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 208 }, { "name": "context_options", "type": "CONTEXT_OPTIONS", "link": 212, "slot_index": 1 }, { "name": "motion_lora", "type": "MOTION_LORA", "link": null }, { "name": "ad_settings", "type": "AD_SETTINGS", "link": null }, { "name": "sample_settings", "type": "SAMPLE_SETTINGS", "link": null }, { "name": "ad_keyframes", "type": "AD_KEYFRAMES", "link": null } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 207 ], "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "ADE_AnimateDiffLoaderWithContext" }, "widgets_values": [ "motionModel_v01.ckpt", "autoselect", 1, true ] }, { "id": 167, "type": "ADE_LoopedUniformContextOptions", "pos": [ 1380, 1320 ], "size": { "0": 320, "1": 250 }, "flags": { "collapsed": true }, "order": 37, "mode": 0, "inputs": [ { "name": "prev_context", "type": "CONTEXT_OPTIONS", "link": null }, { "name": "view_opts", "type": "VIEW_OPTS", "link": null } ], "outputs": [ { "name": "CONTEXT_OPTS", "type": "CONTEXT_OPTIONS", "links": [ 212 ], "shape": 3 } ], "properties": { "Node name for S&R": "ADE_LoopedUniformContextOptions" }, "widgets_values": [ 16, 1, 4, false, "pyramid", false, 0, 1 ] }, { "id": 14, "type": "CR Apply LoRA Stack", "pos": [ 950, 1310 ], "size": { "0": 210, "1": 70 }, "flags": { "collapsed": true }, "order": 49, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 8 }, { "name": "clip", "type": "CLIP", "link": 9 }, { "name": "lora_stack", "type": "LORA_STACK", "link": 10 } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 214 ], "shape": 3, "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 58, 59, 204 ], "shape": 3, "slot_index": 1 }, { "name": "show_help", "type": "STRING", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "CR Apply LoRA Stack" } }, { "id": 73, "type": "Cfg Literal", "pos": [ 380, 1170 ], "size": { "0": 210, "1": 60 }, "flags": {}, "order": 38, "mode": 0, "outputs": [ { "name": "FLOAT", "type": "FLOAT", "links": [ 116 ], "shape": 3, "slot_index": 0 } ], "title": "Sampler Cfg ", "properties": { "Node name for S&R": "Cfg Literal" }, "widgets_values": [ 6 ], "color": "#00699f", "bgcolor": "#007db3" }, { "id": 74, "type": "Int Literal", "pos": [ 380, 1050 ], "size": { "0": 210, "1": 60 }, "flags": {}, "order": 39, "mode": 0, "outputs": [ { "name": "INT", "type": "INT", "links": [ 115 ], "shape": 3, "slot_index": 0 } ], "title": "Sampler Steps", "properties": { "Node name for S&R": "Int Literal" }, "widgets_values": [ 20 ], "color": "#00699f", "bgcolor": "#007db3" }, { "id": 55, "type": "SEGSDetailerForAnimateDiff", "pos": [ 5380, 760 ], "size": { "0": 340, "1": 580 }, "flags": {}, "order": 91, "mode": 0, "inputs": [ { "name": "image_frames", "type": "IMAGE", "link": 199, "slot_index": 0 }, { "name": "segs", "type": "SEGS", "link": 157 }, { "name": "basic_pipe", "type": "BASIC_PIPE", "link": 94, "slot_index": 2 }, { "name": "refiner_basic_pipe_opt", "type": "BASIC_PIPE", "link": null }, { "name": "denoise", "type": "FLOAT", "link": 101, "widget": { "name": "denoise" } }, { "name": "steps", "type": "INT", "link": 115, "widget": { "name": "steps" } }, { "name": "cfg", "type": "FLOAT", "link": 116, "widget": { "name": "cfg" } } ], "outputs": [ { "name": "segs", "type": "SEGS", "links": [ 76 ], "shape": 3, "slot_index": 0 }, { "name": "cnet_images", "type": "IMAGE", "links": null, "shape": 6 } ], "properties": { "Node name for S&R": "SEGSDetailerForAnimateDiff" }, "widgets_values": [ 256, true, 768, 615841318308138, "fixed", 25, 8, "euler_ancestral", "normal", 0.5, 0 ], "color": "#322", "bgcolor": "#533" }, { "id": 118, "type": "Note", "pos": [ -230, -830 ], "size": { "0": 560, "1": 60 }, "flags": { "collapsed": false }, "order": 40, "mode": 0, "title": "File Name + Special Feature", "properties": { "text": "" }, "widgets_values": [ "#4_1 - Face Fix + ControlNets " ], "color": "#84116b", "bgcolor": "#98257f", "shape": 4 }, { "id": 116, "type": "Note", "pos": [ -230, -720 ], "size": { "0": 557.23828125, "1": 363.5209045410156 }, "flags": {}, "order": 41, "mode": 0, "title": "#4 AnimateDiff Face Fix - NoLCM v4.0", "properties": { "text": "" }, "widgets_values": [ "\nHOW TO USE: \n\nAfter you have refined the Images in #3 AnimateDiff Refiner, \n\n1) Enter the Paths in Purple Directory Nodes of the Refined Images from #3 and Controlnet(s) directory (See note)\n2) Enter the Output path for saving them \n\n3) Enter Batch Range for face fix, you can try to put all images (Enter the total number of input images), in one go as only face area will be rendered so Ram will be free. (took only about 6gb vram for 350 images, 2GB free but took 2 hours to render)\n\n4) Skip Frame Handled by AutoFeature\n5) Batch Number Naming Handled by Auto Feature.\n6) Enter Overlapping if doing in multiple batches.\n7) Enter Face Fix Denoise value\n\n8) Enter Prompts for face only, for more accuracy. \n9) Choose Model checkpoint you want to use.\n\nIf you see face flicker in your refiner pass, you can use this workflow again to reduce the flickering just update the input and output folders.\n\n\n________________________________________\n\nWorkflows Download Folder Link : https://drive.google.com/drive/folders/1HoZxKUX7WAg7ObqP00R4oIv48sXCEryQ?usp=sharing\n_________________________________________\n\n\nVideo Tutorials On my Channel - AnimateDiff ControlNet Animation\n\nhttps://www.youtube.com/channel/UCUoTFmdvUaNQe3P2Rgwx0yQ\n\n\nI post my workflows, tutorials and secret techniques without any cost on my Patreon, just click \"join for free\" and sign up click \"skip the payment\" and you will be part of my journey for free.\n\nPatreon link: patreon.com/jerrydavos\n\nNode Workflow By \ndavos.jerry+contactai@gmail.com \nJerry Davos\n" ], "color": "#8c4913", "bgcolor": "#a05d27", "shape": 4 }, { "id": 149, "type": "Note", "pos": [ -200, 280 ], "size": { "0": 520, "1": 160 }, "flags": {}, "order": 42, "mode": 0, "title": "Overlap Note", "properties": { "text": "" }, "widgets_values": [ "Set Overlapping Frames. This value should be same throughout the Batches. \n\n*IMP: It should NOT be Greater than Batch Range. \n\nIt can be 0 if you don't want any overlapping. \n\nUse values - 5, 10 or 20 to have a smooth Transition between two Batches. \n\n*IMP --- > If using overlap, Please Use Seam Fixer Workflow before Refining. " ], "color": "#0c8183", "bgcolor": "#209597" }, { "id": 80, "type": "Note", "pos": [ -80, 1070 ], "size": [ 390, 120 ], "flags": {}, "order": 43, "mode": 0, "title": "Sampler Step and CFG", "properties": { "text": "" }, "widgets_values": [ "Sampler Steps - Use Steps between 20-30. Default is 20.\n\nSampler CFG - Use Between 4-8, You can try higher values up to 6 for good results. You can also test out with different animatediff motion models for different results.\n" ], "color": "#00699f", "bgcolor": "#007db3" } ], "links": [ [ 1, 4, 0, 3, 1, "STRING" ], [ 2, 5, 0, 6, 1, "STRING" ], [ 8, 1, 0, 14, 0, "MODEL" ], [ 9, 1, 1, 14, 1, "CLIP" ], [ 10, 10, 0, 14, 2, "LORA_STACK" ], [ 23, 22, 0, 23, 0, "*" ], [ 58, 14, 1, 3, 0, "CLIP" ], [ 59, 14, 1, 6, 0, "CLIP" ], [ 76, 55, 0, 56, 1, "SEGS" ], [ 77, 58, 0, 57, 0, "BBOX_DETECTOR" ], [ 78, 59, 0, 57, 2, "SAM_MODEL" ], [ 82, 21, 0, 36, 0, "IMAGE" ], [ 83, 39, 0, 36, 1, "FLOAT" ], [ 84, 3, 0, 60, 3, "CONDITIONING" ], [ 85, 6, 0, 60, 4, "CONDITIONING" ], [ 86, 33, 0, 60, 0, "MODEL" ], [ 89, 23, 0, 60, 2, "VAE" ], [ 94, 60, 0, 55, 2, "BASIC_PIPE" ], [ 97, 56, 0, 27, 1, "IMAGE" ], [ 101, 24, 0, 55, 4, "FLOAT" ], [ 104, 67, 0, 45, 0, "IMAGE" ], [ 105, 27, 0, 68, 0, "IMAGE" ], [ 106, 68, 0, 28, 0, "IMAGE" ], [ 115, 74, 0, 55, 5, "INT" ], [ 116, 73, 0, 55, 6, "FLOAT" ], [ 135, 95, 0, 93, 0, "INT" ], [ 136, 94, 0, 93, 1, "INT" ], [ 137, 92, 0, 96, 1, "CONTROL_NET" ], [ 138, 93, 0, 96, 3, "IMAGE" ], [ 143, 57, 0, 96, 0, "SEGS" ], [ 145, 79, 0, 22, 0, "*" ], [ 146, 101, 0, 103, 1, "CONTROL_NET" ], [ 147, 102, 0, 103, 3, "IMAGE" ], [ 148, 96, 0, 103, 0, "SEGS" ], [ 149, 103, 0, 104, 0, "*" ], [ 152, 95, 0, 102, 0, "INT" ], [ 153, 94, 0, 102, 1, "INT" ], [ 155, 106, 0, 105, 0, "*" ], [ 157, 107, 0, 55, 1, "SEGS" ], [ 158, 105, 0, 107, 0, "*" ], [ 159, 110, 0, 109, 0, "IMAGE" ], [ 160, 93, 0, 110, 0, "IMAGE" ], [ 163, 114, 0, 113, 0, "IMAGE" ], [ 164, 102, 0, 114, 0, "IMAGE" ], [ 165, 119, 0, 120, 0, "STRING" ], [ 166, 126, 0, 120, 1, "STRING" ], [ 167, 123, 0, 122, 1, "STRING" ], [ 168, 120, 0, 122, 2, "STRING" ], [ 169, 127, 0, 124, 0, "INT,FLOAT,IMAGE,LATENT" ], [ 170, 124, 0, 125, 0, "*" ], [ 171, 125, 0, 126, 0, "STRING" ], [ 172, 121, 0, 127, 0, "*" ], [ 173, 27, 0, 122, 0, "IMAGE" ], [ 175, 76, 0, 129, 0, "*" ], [ 177, 130, 0, 132, 0, "INT" ], [ 178, 139, 0, 132, 1, "INT" ], [ 179, 136, 2, 132, 2, "INT" ], [ 180, 140, 0, 132, 3, "INT" ], [ 181, 132, 4, 133, 0, "*" ], [ 182, 132, 0, 134, 0, "*" ], [ 183, 134, 0, 135, 0, "*" ], [ 184, 142, 0, 136, 0, "STRING" ], [ 185, 132, 7, 137, 0, "*" ], [ 186, 132, 2, 138, 0, "*" ], [ 187, 132, 0, 141, 0, "*" ], [ 188, 133, 0, 143, 0, "STRING" ], [ 189, 145, 0, 144, 0, "STRING" ], [ 190, 132, 7, 145, 0, "*" ], [ 191, 78, 0, 146, 0, "*" ], [ 192, 151, 0, 21, 0, "INT" ], [ 193, 150, 0, 21, 1, "INT" ], [ 194, 152, 0, 21, 2, "STRING" ], [ 195, 57, 0, 153, 0, "*" ], [ 196, 153, 0, 106, 0, "*" ], [ 197, 36, 0, 155, 0, "*" ], [ 198, 156, 0, 57, 1, "IMAGE" ], [ 199, 157, 0, 55, 0, "IMAGE" ], [ 200, 158, 0, 27, 0, "IMAGE" ], [ 201, 159, 0, 56, 0, "IMAGE" ], [ 202, 160, 0, 67, 0, "IMAGE" ], [ 204, 14, 1, 60, 1, "CLIP" ], [ 207, 165, 0, 164, 0, "MODEL" ], [ 208, 163, 0, 165, 0, "MODEL" ], [ 211, 164, 0, 33, 0, "*" ], [ 212, 167, 0, 165, 1, "CONTEXT_OPTIONS" ], [ 214, 14, 0, 163, 0, "MODEL" ] ], "groups": [ { "title": "AutoFeature V4!!", "bounding": [ 367, -212, 824, 570 ], "color": "#03bf23", "font_size": 24, "locked": false } ], "config": {}, "extra": { "groupNodes": {}, "ds": { "scale": 0.8390545288824101, "offset": [ 121.20043322396492, 1001.5720897248581 ] } }, "version": 0.4 }