Files

1013 lines
18 KiB
JSON

{
"id": "b97ba031-d866-4f4e-baf5-3017bd4ef4b5",
"revision": 0,
"last_node_id": 54,
"last_link_id": 161,
"nodes": [
{
"id": 4,
"type": "PreviewAudio",
"pos": [
921.59326171875,
350.4112548828125
],
"size": [
300,
100
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "audio",
"type": "AUDIO",
"link": 155
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAudio"
},
"widgets_values": []
},
{
"id": 46,
"type": "HunyuanVideoFoleyDependenciesLoader",
"pos": [
-27.89164924621582,
-151.19898986816406
],
"size": [
323.7906188964844,
102
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "FOLEY_MODEL",
"link": 114
}
],
"outputs": [
{
"name": "dependencies",
"type": "FOLEY_DEPS",
"links": [
112
]
},
{
"name": "status",
"type": "STRING",
"links": [
113
]
}
],
"properties": {
"Node name for S&R": "HunyuanVideoFoleyDependenciesLoader"
},
"widgets_values": [
true,
true
]
},
{
"id": 45,
"type": "HunyuanVideoFoleyModelLoader",
"pos": [
-53.97630310058594,
-385.1184387207031
],
"size": [
358.7837829589844,
150
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "FOLEY_MODEL",
"links": [
114
]
},
{
"name": "status",
"type": "STRING",
"links": [
111
]
}
],
"properties": {
"Node name for S&R": "HunyuanVideoFoleyModelLoader"
},
"widgets_values": [
"fp8_e5m2",
true,
"",
""
]
},
{
"id": 39,
"type": "PreviewAny",
"pos": [
378.24151611328125,
-248.34585571289062
],
"size": [
553.4520874023438,
162.60964965820312
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 113
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 40,
"type": "PreviewAny",
"pos": [
377.71527099609375,
-461.8883361816406
],
"size": [
527.3197631835938,
145.1881561279297
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 111
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 14,
"type": "PreviewAny",
"pos": [
928.9979248046875,
573.163330078125
],
"size": [
257.9618835449219,
212.5326690673828
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 157
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 19,
"type": "VHS_VideoInfo",
"pos": [
153.88050842285156,
465.0361328125
],
"size": [
225.59765625,
206
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"link": 34
}
],
"outputs": [
{
"name": "source_fps🟨",
"type": "FLOAT",
"links": []
},
{
"name": "source_frame_count🟨",
"type": "INT",
"links": null
},
{
"name": "source_duration🟨",
"type": "FLOAT",
"links": null
},
{
"name": "source_width🟨",
"type": "INT",
"links": null
},
{
"name": "source_height🟨",
"type": "INT",
"links": null
},
{
"name": "loaded_fps🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_frame_count🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_duration🟦",
"type": "FLOAT",
"links": null
},
{
"name": "loaded_width🟦",
"type": "INT",
"links": null
},
{
"name": "loaded_height🟦",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoInfo"
},
"widgets_values": {}
},
{
"id": 16,
"type": "VHS_VideoCombine",
"pos": [
1264.0029296875,
-165.54879760742188
],
"size": [
543.3397827148438,
871.3397827148438
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 154
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 156
},
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "frame_rate",
"type": "FLOAT",
"widget": {
"name": "frame_rate"
},
"link": 141
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 24,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"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": "AnimateDiff_00076-audio.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 24,
"workflow": "AnimateDiff_00076.png",
"fullpath": "D:\\ComfyUI\\output\\AnimateDiff_00076-audio.mp4"
}
}
}
},
{
"id": 38,
"type": "PreviewAny",
"pos": [
962.1494750976562,
-490.24896240234375
],
"size": [
706.5121459960938,
228.56236267089844
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 109
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 22,
"type": "Reroute",
"pos": [
305.7832336425781,
370.6668701171875
],
"size": [
75,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"widget": {
"name": "value"
},
"link": 160
}
],
"outputs": [
{
"name": "",
"type": "FLOAT",
"links": [
141,
150
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 17,
"type": "VHS_LoadVideo",
"pos": [
-193.213134765625,
310.60101318359375
],
"size": [
247.455078125,
726.805908203125
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
161
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": [
34
]
}
],
"properties": {
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "HMB.mp4",
"force_rate": 15.09088134765625,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "HMB.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 15.09088134765625,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 44,
"type": "HunyuanVideoFoleyTorchCompile",
"pos": [
356.644775390625,
-29.190650939941406
],
"size": [
323.7564392089844,
126
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "dependencies",
"type": "FOLEY_DEPS",
"link": 112
}
],
"outputs": [
{
"name": "compiled_model",
"type": "FOLEY_COMPILED",
"links": []
},
{
"name": "status",
"type": "STRING",
"links": [
109
]
}
],
"properties": {
"Node name for S&R": "HunyuanVideoFoleyTorchCompile"
},
"widgets_values": [
true,
"default",
"inductor"
]
},
{
"id": 1,
"type": "LoadVideo",
"pos": [
-711.3980102539062,
-282.9766540527344
],
"size": [
608.2183227539062,
531.0863037109375
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"slot_index": 0,
"links": [
44,
68
]
}
],
"properties": {
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"bytedance-seedance-v1-pro-i2v-720p_fdae546de47b4ca19f9bfa960f637812_0.mp4",
"image"
]
},
{
"id": 18,
"type": "Reroute",
"pos": [
207.6395721435547,
81.23222351074219
],
"size": [
75,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 68
}
],
"outputs": [
{
"name": "",
"type": "VIDEO",
"links": [
159
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 21,
"type": "GetVideoComponents",
"pos": [
127.95492553710938,
242.7381591796875
],
"size": [
185.17733764648438,
66
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 44
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": []
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "fps",
"type": "FLOAT",
"links": [
160
]
}
],
"properties": {
"Node name for S&R": "GetVideoComponents"
},
"widgets_values": []
},
{
"id": 54,
"type": "Reroute",
"pos": [
202.6948699951172,
153.18223571777344
],
"size": [
75,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 161
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 53,
"type": "HunyuanVideoFoleyGeneratorAdvanced",
"pos": [
458.6698913574219,
209.922119140625
],
"size": [
400,
586
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "video",
"shape": 7,
"type": "VIDEO",
"link": 159
},
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "compiled_model",
"shape": 7,
"type": "FOLEY_COMPILED",
"link": null
},
{
"name": "fps",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 150
}
],
"outputs": [
{
"name": "video_path",
"type": "STRING",
"links": [
153
]
},
{
"name": "video_frames",
"type": "IMAGE",
"links": [
154
]
},
{
"name": "audio",
"type": "AUDIO",
"links": [
155,
156
]
},
{
"name": "status_message",
"type": "STRING",
"links": [
157
]
}
],
"properties": {
"Node name for S&R": "HunyuanVideoFoleyGeneratorAdvanced"
},
"widgets_values": [
"A 2woman walks through the medieval town. Quick footsteps, clothing swish, sharp motion whooshes, faint object contact clicks, ambient air with low background hum",
4.5,
50,
1,
2567082733,
"randomize",
24,
"",
"both",
"hunyuan_foley",
"foley_",
0,
8,
false,
false,
true,
true,
true
]
},
{
"id": 3,
"type": "PreviewVideo",
"pos": [
930.8189086914062,
29.436723709106445
],
"size": [
300,
239.23077392578125
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "video_path",
"type": "STRING",
"widget": {
"name": "video_path"
},
"link": 153
},
{
"name": "video",
"type": "VIDEO",
"link": null
}
],
"outputs": [
{
"name": "video",
"type": "VIDEO",
"links": null
},
{
"name": "video_path",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "PreviewVideo"
},
"widgets_values": [
""
]
}
],
"links": [
[
34,
17,
3,
19,
0,
"VHS_VIDEOINFO"
],
[
44,
1,
0,
21,
0,
"VIDEO"
],
[
68,
1,
0,
18,
0,
"*"
],
[
109,
44,
1,
38,
0,
"*"
],
[
111,
45,
1,
40,
0,
"*"
],
[
112,
46,
0,
44,
0,
"FOLEY_DEPS"
],
[
113,
46,
1,
39,
0,
"*"
],
[
114,
45,
0,
46,
0,
"FOLEY_MODEL"
],
[
141,
22,
0,
16,
4,
"FLOAT"
],
[
150,
22,
0,
53,
3,
"FLOAT"
],
[
153,
53,
0,
3,
0,
"STRING"
],
[
154,
53,
1,
16,
0,
"IMAGE"
],
[
155,
53,
2,
4,
0,
"AUDIO"
],
[
156,
53,
2,
16,
1,
"AUDIO"
],
[
157,
53,
3,
14,
0,
"*"
],
[
159,
18,
0,
53,
0,
"VIDEO"
],
[
160,
21,
2,
22,
0,
"*"
],
[
161,
17,
0,
54,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8643224816983618,
"offset": [
645.8098203915833,
371.1403235157687
]
},
"frontendVersion": "1.25.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}