{ "last_node_id": 33, "last_link_id": 62, "nodes": [ { "id": 2, "type": "LoadImage", "pos": [ 243, 405 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 8 ], "slot_index": 0, "shape": 3 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "image1.jpg", "image" ] }, { "id": 8, "type": "ConstrainImage|pysssss", "pos": [ 615, 416 ], "size": { "0": 315, "1": 154 }, "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 8 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 9, 10, 11 ], "slot_index": 0, "shape": 6 } ], "properties": { "Node name for S&R": "ConstrainImage|pysssss" }, "widgets_values": [ 512, 10000, 512, 0, "no" ] }, { "id": 14, "type": "VHS_VideoCombine", "pos": [ 1931, 1123 ], "size": [ 392.17938232421875, 661.2875652313232 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 42 }, { "name": "audio", "type": "AUDIO", "link": 21, "slot_index": 1 }, { "name": "meta_batch", "type": "VHS_BatchManager", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 25, "loop_count": 0, "filename_prefix": "DREAM", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "DREAM_00008-audio.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 25 } } } }, { "id": 10, "type": "ImageCrop+", "pos": [ 620, 687 ], "size": { "0": 315, "1": 194 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 11 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 12, 18 ], "slot_index": 0, "shape": 3 }, { "name": "x", "type": "INT", "links": null, "shape": 3 }, { "name": "y", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImageCrop+" }, "widgets_values": [ 512, 512, "top-left", 0, 0 ] }, { "id": 18, "type": "EmptyImage", "pos": [ 113, 1308 ], "size": { "0": 315, "1": 130 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 28 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "EmptyImage" }, "widgets_values": [ 512, 512, 1, 0 ] }, { "id": 21, "type": "PreviewImage", "pos": [ 863, 1744 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 35 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 19, "type": "ImageCompositeMasked", "pos": [ 799, 1537 ], "size": { "0": 315, "1": 146 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "destination", "type": "IMAGE", "link": 28 }, { "name": "source", "type": "IMAGE", "link": 62 }, { "name": "mask", "type": "MASK", "link": null }, { "name": "x", "type": "INT", "link": 33, "widget": { "name": "x" } }, { "name": "y", "type": "INT", "link": 34, "widget": { "name": "y" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 35, 36 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ImageCompositeMasked" }, "widgets_values": [ 0, 0, false ] }, { "id": 23, "type": "ImageToMask", "pos": [ 1150, 1535 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 36 } ], "outputs": [ { "name": "MASK", "type": "MASK", "links": [ 37 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ImageToMask" }, "widgets_values": [ "red" ] }, { "id": 13, "type": "RepeatImageBatch", "pos": [ 1021, 962 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 18 }, { "name": "amount", "type": "INT", "link": 17, "widget": { "name": "amount" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 19, 39 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "RepeatImageBatch" }, "widgets_values": [ 1 ] }, { "id": 24, "type": "ImageCompositeMasked", "pos": [ 1154, 1653 ], "size": { "0": 315, "1": 146 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "destination", "type": "IMAGE", "link": 39 }, { "name": "source", "type": "IMAGE", "link": 38 }, { "name": "mask", "type": "MASK", "link": 37 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 41 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ImageCompositeMasked" }, "widgets_values": [ 0, 0, false ] }, { "id": 12, "type": "ImageCompositeMasked", "pos": [ 1484, 1267 ], "size": { "0": 315, "1": 146 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "destination", "type": "IMAGE", "link": 19 }, { "name": "source", "type": "IMAGE", "link": 48 }, { "name": "mask", "type": "MASK", "link": null }, { "name": "x", "type": "INT", "link": 46, "widget": { "name": "x" } }, { "name": "y", "type": "INT", "link": 27, "widget": { "name": "y" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 38 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ImageCompositeMasked" }, "widgets_values": [ 0, 0, false ] }, { "id": 28, "type": "ImageScaleBy", "pos": [ 1489, 1116 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 47 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 48, 49 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ImageScaleBy" }, "widgets_values": [ "nearest-exact", 1 ] }, { "id": 15, "type": "SimpleMath+", "pos": [ 1489, 849 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "a", "type": "INT,FLOAT", "link": 24 }, { "name": "b", "type": "INT,FLOAT", "link": null }, { "name": "c", "type": "*", "link": null } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 33, 46 ], "slot_index": 0, "shape": 3 }, { "name": "FLOAT", "type": "FLOAT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "SimpleMath+" }, "widgets_values": [ "a" ] }, { "id": 25, "type": "ImageCrop+", "pos": [ 1522, 1531 ], "size": { "0": 315, "1": 194 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 41 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 42 ], "slot_index": 0, "shape": 3 }, { "name": "x", "type": "INT", "links": null, "shape": 3 }, { "name": "y", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImageCrop+" }, "widgets_values": [ 512, 512, "top-left", 0, 50 ] }, { "id": 16, "type": "SimpleMath+", "pos": [ 1494, 973 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "a", "type": "INT,FLOAT", "link": 25 }, { "name": "b", "type": "INT,FLOAT", "link": null }, { "name": "c", "type": "*", "link": null } ], "outputs": [ { "name": "INT", "type": "INT", "links": [ 27, 34 ], "slot_index": 0, "shape": 3 }, { "name": "FLOAT", "type": "FLOAT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "SimpleMath+" }, "widgets_values": [ "a+10" ] }, { "id": 5, "type": "VHS_LoadAudio", "pos": [ 1020, 810 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "audio_file", "type": "STRING", "link": 52, "widget": { "name": "audio_file" } } ], "outputs": [ { "name": "audio", "type": "AUDIO", "links": [ 3, 21 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "VHS_LoadAudio" }, "widgets_values": { "audio_file": "input/lesserafim_victory_sound1.mp3", "seek_seconds": 0 } }, { "id": 11, "type": "PreviewImage", "pos": [ 382, 989 ], "size": { "0": 228.0509033203125, "1": 246 }, "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 12 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 9, "type": "PreviewImage", "pos": [ 133, 980 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 9 } ], "properties": { "Node name for S&R": "PreviewImage" } }, { "id": 3, "type": "DD_LoadAudio", "pos": [ 245, 760 ], "size": [ 314.0777099999999, 145.96083999999996 ], "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "audio", "type": "*", "links": null, "shape": 3 }, { "name": "sample_rate", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "DD_LoadAudio" }, "widgets_values": [ "DreamTalk 노드에 직접 audio 파일 경로를 입력해주세요\neg.\ninpainting.mp3 (상대 경로는 input 기준)\nD:\\webui\\memo\\comfyui_dreamtalk\\inpainting.mp3" ] }, { "id": 1, "type": "DD_DreamTalk", "pos": [ 1020, 410 ], "size": { "0": 315, "1": 318 }, "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 10 } ], "outputs": [ { "name": "images", "type": "IMAGE", "links": [ 53 ], "slot_index": 0, "shape": 3 }, { "name": "count", "type": "INT", "links": [ 17 ], "slot_index": 1, "shape": 3 }, { "name": "frame_rate", "type": "FLOAT", "links": null, "shape": 3 }, { "name": "audio_path", "type": "STRING", "links": [ 52 ], "slot_index": 3, "shape": 3 }, { "name": "crop_width", "type": "INT", "links": [ 54 ], "slot_index": 4, "shape": 3 }, { "name": "crop_height", "type": "INT", "links": [ 55 ], "slot_index": 5, "shape": 3 }, { "name": "crop_x", "type": "INT", "links": [ 24 ], "slot_index": 6, "shape": 3 }, { "name": "crop_y", "type": "INT", "links": [ 25 ], "slot_index": 7, "shape": 3 } ], "properties": { "Node name for S&R": "DD_DreamTalk" }, "widgets_values": [ "inpainting.mp3", "W011_front_neutral_level1_001.mat", "RichardShelby_front_neutral_level1_001.mat", 1, 1000, true ] }, { "id": 4, "type": "VHS_VideoCombine", "pos": [ 1930, 410 ], "size": [ 344.4271240234375, 648.4271240234375 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 58 }, { "name": "audio", "type": "AUDIO", "link": 3, "slot_index": 1 }, { "name": "meta_batch", "type": "VHS_BatchManager", "link": null }, { "name": "vae", "type": "VAE", "link": null } ], "outputs": [ { "name": "Filenames", "type": "VHS_FILENAMES", "links": null, "shape": 3, "slot_index": 0 } ], "properties": { "Node name for S&R": "VHS_VideoCombine" }, "widgets_values": { "frame_rate": 25, "loop_count": 0, "filename_prefix": "DREAM", "format": "video/h264-mp4", "pix_fmt": "yuv420p", "crf": 19, "save_metadata": true, "pingpong": false, "save_output": true, "videopreview": { "hidden": false, "paused": false, "params": { "filename": "DREAM_00007-audio.mp4", "subfolder": "", "type": "output", "format": "video/h264-mp4", "frame_rate": 25 } } } }, { "id": 6, "type": "ReActorRestoreFace", "pos": [ 1488, 671 ], "size": { "0": 315, "1": 130 }, "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 56 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 47, 57 ], "slot_index": 0, "shape": 3 } ], "properties": { "Node name for S&R": "ReActorRestoreFace" }, "widgets_values": [ "retinaface_resnet50", "GFPGANv1.4.pth", 0.8, 0.5 ] }, { "id": 32, "type": "ImageResize+", "pos": [ 2331, 416 ], "size": { "0": 315, "1": 218 }, "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 57 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 58 ], "shape": 3, "slot_index": 0 }, { "name": "width", "type": "INT", "links": null, "shape": 3 }, { "name": "height", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImageResize+" }, "widgets_values": [ 256, 256, "nearest", "stretch", "always", 0 ] }, { "id": 30, "type": "ImageResize+", "pos": [ 1477, 406 ], "size": [ 315, 218 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 53 }, { "name": "width", "type": "INT", "link": 54, "widget": { "name": "width" } }, { "name": "height", "type": "INT", "link": 55, "widget": { "name": "height" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 56 ], "shape": 3, "slot_index": 0 }, { "name": "width", "type": "INT", "links": null, "shape": 3 }, { "name": "height", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImageResize+" }, "widgets_values": [ 512, 512, "nearest", "stretch", "always", 0 ] }, { "id": 17, "type": "LoadImage", "pos": [ 109, 1520 ], "size": { "0": 315, "1": 314.00006103515625 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 59 ], "slot_index": 0, "shape": 3 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "mask.png", "image" ] }, { "id": 29, "type": "GetImageSize+", "pos": [ 500, 1342 ], "size": { "0": 210, "1": 66 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 49 } ], "outputs": [ { "name": "width", "type": "INT", "links": [ 60 ], "slot_index": 0, "shape": 3 }, { "name": "height", "type": "INT", "links": [ 61 ], "slot_index": 1, "shape": 3 }, { "name": "count", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "GetImageSize+" } }, { "id": 33, "type": "ImageResize+", "pos": [ 456, 1540 ], "size": { "0": 315, "1": 218 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 59 }, { "name": "width", "type": "INT", "link": 60, "widget": { "name": "width" } }, { "name": "height", "type": "INT", "link": 61, "widget": { "name": "height" } } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 62 ], "shape": 3, "slot_index": 0 }, { "name": "width", "type": "INT", "links": null, "shape": 3 }, { "name": "height", "type": "INT", "links": null, "shape": 3 } ], "properties": { "Node name for S&R": "ImageResize+" }, "widgets_values": [ 512, 512, "nearest", "stretch", "always", 0 ] } ], "links": [ [ 3, 5, 0, 4, 1, "VHS_AUDIO" ], [ 8, 2, 0, 8, 0, "IMAGE" ], [ 9, 8, 0, 9, 0, "IMAGE" ], [ 10, 8, 0, 1, 0, "IMAGE" ], [ 11, 8, 0, 10, 0, "IMAGE" ], [ 12, 10, 0, 11, 0, "IMAGE" ], [ 17, 1, 1, 13, 1, "INT" ], [ 18, 10, 0, 13, 0, "IMAGE" ], [ 19, 13, 0, 12, 0, "IMAGE" ], [ 21, 5, 0, 14, 1, "VHS_AUDIO" ], [ 24, 1, 6, 15, 0, "INT,FLOAT" ], [ 25, 1, 7, 16, 0, "INT,FLOAT" ], [ 27, 16, 0, 12, 4, "INT" ], [ 28, 18, 0, 19, 0, "IMAGE" ], [ 33, 15, 0, 19, 3, "INT" ], [ 34, 16, 0, 19, 4, "INT" ], [ 35, 19, 0, 21, 0, "IMAGE" ], [ 36, 19, 0, 23, 0, "IMAGE" ], [ 37, 23, 0, 24, 2, "MASK" ], [ 38, 12, 0, 24, 1, "IMAGE" ], [ 39, 13, 0, 24, 0, "IMAGE" ], [ 41, 24, 0, 25, 0, "IMAGE" ], [ 42, 25, 0, 14, 0, "IMAGE" ], [ 46, 15, 0, 12, 3, "INT" ], [ 47, 6, 0, 28, 0, "IMAGE" ], [ 48, 28, 0, 12, 1, "IMAGE" ], [ 49, 28, 0, 29, 0, "IMAGE" ], [ 52, 1, 3, 5, 0, "STRING" ], [ 53, 1, 0, 30, 0, "IMAGE" ], [ 54, 1, 4, 30, 1, "INT" ], [ 55, 1, 5, 30, 2, "INT" ], [ 56, 30, 0, 6, 0, "IMAGE" ], [ 57, 6, 0, 32, 0, "IMAGE" ], [ 58, 32, 0, 4, 0, "IMAGE" ], [ 59, 17, 0, 33, 0, "IMAGE" ], [ 60, 29, 0, 33, 1, "INT" ], [ 61, 29, 1, 33, 2, "INT" ], [ 62, 33, 0, 19, 1, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.6830134553650706, "offset": [ 181.91526664572086, -25.15197517041169 ] } }, "version": 0.4 }