909 lines
15 KiB
JSON
Executable File
909 lines
15 KiB
JSON
Executable File
{
|
|
"last_node_id": 34,
|
|
"last_link_id": 80,
|
|
"nodes": [
|
|
{
|
|
"id": 28,
|
|
"type": "Image Save",
|
|
"pos": {
|
|
"0": 1991,
|
|
"1": 45
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 626
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 4,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 69
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "files",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Image Save"
|
|
},
|
|
"widgets_values": [
|
|
"/home/zhouli/MagicDance/example_data/image/out-of-domain/",
|
|
"181020_crop_",
|
|
"_",
|
|
4,
|
|
"false",
|
|
"png",
|
|
300,
|
|
100,
|
|
"true",
|
|
"false",
|
|
"false",
|
|
"false",
|
|
"true",
|
|
"true",
|
|
"true"
|
|
]
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": "LoadImagesFromFolderKJ",
|
|
"pos": {
|
|
"0": -25,
|
|
"1": 25
|
|
},
|
|
"size": {
|
|
"0": 352.79998779296875,
|
|
"1": 166
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
69,
|
|
70
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "count",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "image_path",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"slot_index": 3,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImagesFromFolderKJ"
|
|
},
|
|
"widgets_values": [
|
|
"custom_nodes/ComfyUI-MagicDance/example_data/image/out-of-domain/",
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "PrimitiveNode",
|
|
"pos": {
|
|
"0": -23,
|
|
"1": 265
|
|
},
|
|
"size": [
|
|
243,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "INT",
|
|
"type": "INT",
|
|
"links": [
|
|
36,
|
|
37,
|
|
72,
|
|
73,
|
|
74,
|
|
75
|
|
],
|
|
"slot_index": 0,
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"Run widget replace on values": false
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
"fixed"
|
|
]
|
|
},
|
|
{
|
|
"id": 19,
|
|
"type": "VHS_VideoCombine",
|
|
"pos": {
|
|
"0": 1341,
|
|
"1": 371
|
|
},
|
|
"size": [
|
|
315,
|
|
619
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 29
|
|
},
|
|
{
|
|
"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": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VHS_VideoCombine"
|
|
},
|
|
"widgets_values": {
|
|
"frame_rate": 8,
|
|
"loop_count": 0,
|
|
"filename_prefix": "AnimateDiff",
|
|
"format": "video/h264-mp4",
|
|
"pix_fmt": "yuv420p",
|
|
"crf": 19,
|
|
"save_metadata": true,
|
|
"pingpong": false,
|
|
"save_output": true,
|
|
"videopreview": {
|
|
"hidden": false,
|
|
"paused": false,
|
|
"params": {
|
|
"filename": "AnimateDiff_00100.mp4",
|
|
"subfolder": "",
|
|
"type": "output",
|
|
"format": "video/h264-mp4",
|
|
"frame_rate": 5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 23,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 1344,
|
|
"1": 65
|
|
},
|
|
"size": {
|
|
"0": 210,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 43
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "LoadMagicDanceModel",
|
|
"pos": {
|
|
"0": 379,
|
|
"1": 222
|
|
},
|
|
"size": {
|
|
"0": 340.20001220703125,
|
|
"1": 130
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "pipe",
|
|
"type": "MAGICDANCEPIPE",
|
|
"links": [
|
|
4,
|
|
60,
|
|
61
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadMagicDanceModel"
|
|
},
|
|
"widgets_values": [
|
|
"model_lib/ControlNet/models/cldm_v15_reference_only_pose.yaml",
|
|
"pretrained_weights/model_state-110000.th"
|
|
]
|
|
},
|
|
{
|
|
"id": 33,
|
|
"type": "ImageScale",
|
|
"pos": {
|
|
"0": 394,
|
|
"1": 31
|
|
},
|
|
"size": [
|
|
315,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 70
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"link": 72,
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"link": 73,
|
|
"widget": {
|
|
"name": "height"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
71,
|
|
79
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageScale"
|
|
},
|
|
"widgets_values": [
|
|
"nearest-exact",
|
|
512,
|
|
512,
|
|
"center"
|
|
]
|
|
},
|
|
{
|
|
"id": 34,
|
|
"type": "ImageScale",
|
|
"pos": {
|
|
"0": 393,
|
|
"1": 568
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 130
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 76
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"link": 74,
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"link": 75,
|
|
"widget": {
|
|
"name": "height"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
77,
|
|
80
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageScale"
|
|
},
|
|
"widgets_values": [
|
|
"nearest-exact",
|
|
512,
|
|
512,
|
|
"center"
|
|
]
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "EmptyLatentImage",
|
|
"pos": {
|
|
"0": 476,
|
|
"1": 404
|
|
},
|
|
"size": {
|
|
"0": 210,
|
|
"1": 74
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"link": 36,
|
|
"widget": {
|
|
"name": "width"
|
|
}
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"link": 37,
|
|
"widget": {
|
|
"name": "height"
|
|
}
|
|
},
|
|
{
|
|
"name": "batch_size",
|
|
"type": "INT",
|
|
"link": 78,
|
|
"widget": {
|
|
"name": "batch_size"
|
|
}
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
65
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "EmptyLatentImage"
|
|
},
|
|
"widgets_values": [
|
|
512,
|
|
512,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 775,
|
|
"1": 447
|
|
},
|
|
"size": {
|
|
"0": 210,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 77
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 17,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 773,
|
|
"1": 124
|
|
},
|
|
"size": {
|
|
"0": 210,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 71
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "MagicDanceDecoder",
|
|
"pos": {
|
|
"0": 1062,
|
|
"1": 461
|
|
},
|
|
"size": {
|
|
"0": 239.40000915527344,
|
|
"1": 46
|
|
},
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipe",
|
|
"type": "MAGICDANCEPIPE",
|
|
"link": 4
|
|
},
|
|
{
|
|
"name": "latents",
|
|
"type": "LATENT",
|
|
"link": 66
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
29,
|
|
43
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MagicDanceDecoder"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 31,
|
|
"type": "MagicDanceSampler",
|
|
"pos": {
|
|
"0": 1053,
|
|
"1": 72
|
|
},
|
|
"size": {
|
|
"0": 239.40000915527344,
|
|
"1": 142
|
|
},
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipe",
|
|
"type": "MAGICDANCEPIPE",
|
|
"link": 60
|
|
},
|
|
{
|
|
"name": "reference",
|
|
"type": "LATENT",
|
|
"link": 63
|
|
},
|
|
{
|
|
"name": "poses",
|
|
"type": "IMAGE",
|
|
"link": 80
|
|
},
|
|
{
|
|
"name": "latents",
|
|
"type": "LATENT",
|
|
"link": 65
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "latents",
|
|
"type": "LATENT",
|
|
"links": [
|
|
66
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MagicDanceSampler"
|
|
},
|
|
"widgets_values": [
|
|
50,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"id": 32,
|
|
"type": "MagicDanceEncoder",
|
|
"pos": {
|
|
"0": 765,
|
|
"1": 29
|
|
},
|
|
"size": {
|
|
"0": 239.40000915527344,
|
|
"1": 46
|
|
},
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipe",
|
|
"type": "MAGICDANCEPIPE",
|
|
"link": 61
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 79
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "reference",
|
|
"type": "LATENT",
|
|
"links": [
|
|
63
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MagicDanceEncoder"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 24,
|
|
"type": "LoadImagesFromFolderKJ",
|
|
"pos": {
|
|
"0": -24,
|
|
"1": 523
|
|
},
|
|
"size": {
|
|
"0": 352.79998779296875,
|
|
"1": 166
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
76
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "count",
|
|
"type": "INT",
|
|
"links": [
|
|
78
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "image_path",
|
|
"type": "STRING",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImagesFromFolderKJ"
|
|
},
|
|
"widgets_values": [
|
|
"custom_nodes/ComfyUI-MagicDance/example_data/pose_sequence/001/",
|
|
0,
|
|
0
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
4,
|
|
6,
|
|
0,
|
|
8,
|
|
0,
|
|
"MAGICDANCEPIPE"
|
|
],
|
|
[
|
|
29,
|
|
8,
|
|
0,
|
|
19,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
36,
|
|
21,
|
|
0,
|
|
10,
|
|
0,
|
|
"INT"
|
|
],
|
|
[
|
|
37,
|
|
21,
|
|
0,
|
|
10,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
43,
|
|
8,
|
|
0,
|
|
23,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
60,
|
|
6,
|
|
0,
|
|
31,
|
|
0,
|
|
"MAGICDANCEPIPE"
|
|
],
|
|
[
|
|
61,
|
|
6,
|
|
0,
|
|
32,
|
|
0,
|
|
"MAGICDANCEPIPE"
|
|
],
|
|
[
|
|
63,
|
|
32,
|
|
0,
|
|
31,
|
|
1,
|
|
"LATENT"
|
|
],
|
|
[
|
|
65,
|
|
10,
|
|
0,
|
|
31,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
66,
|
|
31,
|
|
0,
|
|
8,
|
|
1,
|
|
"LATENT"
|
|
],
|
|
[
|
|
69,
|
|
26,
|
|
0,
|
|
28,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
70,
|
|
26,
|
|
0,
|
|
33,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
71,
|
|
33,
|
|
0,
|
|
17,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
72,
|
|
21,
|
|
0,
|
|
33,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
73,
|
|
21,
|
|
0,
|
|
33,
|
|
2,
|
|
"INT"
|
|
],
|
|
[
|
|
74,
|
|
21,
|
|
0,
|
|
34,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
75,
|
|
21,
|
|
0,
|
|
34,
|
|
2,
|
|
"INT"
|
|
],
|
|
[
|
|
76,
|
|
24,
|
|
0,
|
|
34,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
77,
|
|
34,
|
|
0,
|
|
22,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
78,
|
|
24,
|
|
2,
|
|
10,
|
|
2,
|
|
"INT"
|
|
],
|
|
[
|
|
79,
|
|
33,
|
|
0,
|
|
32,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
80,
|
|
34,
|
|
0,
|
|
31,
|
|
2,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1,
|
|
"offset": [
|
|
-70.80025863647461,
|
|
23.333518981933594
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |