Files
smthemex-ComfyUI_FlashVSR/example_workflows/flashvsr.json
T
2026-02-23 11:28:32 +08:00

1537 lines
28 KiB
JSON

{
"id": "9c750e57-c31b-48bb-892b-6750cd511e79",
"revision": 0,
"last_node_id": 63,
"last_link_id": 64,
"nodes": [
{
"id": 17,
"type": "FlashVSR_SM_Decoder",
"pos": [
1768.610298053057,
906.6925211901843
],
"size": [
270,
150
],
"flags": {},
"order": 27,
"mode": 2,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 30
},
{
"name": "latent",
"type": "LATENT",
"link": 28
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
26
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Decoder"
},
"widgets_values": [
true,
true,
"wavelet"
]
},
{
"id": 10,
"type": "CreateVideo",
"pos": [
2067.622758398437,
790.0636204687504
],
"size": [
270,
78
],
"flags": {},
"order": 30,
"mode": 2,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 18
},
{
"name": "fps",
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 17
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
16
]
}
],
"properties": {
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
30
]
},
{
"id": 8,
"type": "GetVideoComponents",
"pos": [
1298.5997617187502,
872.5251904296873
],
"size": [
140,
66
],
"flags": {},
"order": 21,
"mode": 2,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 14
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
29
]
},
{
"name": "audio",
"type": "AUDIO",
"links": [
18
]
},
{
"name": "fps",
"type": "FLOAT",
"links": [
17
]
}
],
"properties": {
"Node name for S&R": "GetVideoComponents"
},
"widgets_values": []
},
{
"id": 20,
"type": "FlashVSR_SM_Vae",
"pos": [
1450.7755438192564,
589.5462319237856
],
"size": [
270,
106
],
"flags": {},
"order": 0,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "VAE",
"links": [
30
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Vae"
},
"widgets_values": [
"none",
"TCDecoder.ckpt",
"none"
]
},
{
"id": 25,
"type": "FlashVSR_SM_Decoder",
"pos": [
4541.637813532731,
911.0588352278538
],
"size": [
270,
150
],
"flags": {},
"order": 28,
"mode": 2,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 32
},
{
"name": "latent",
"type": "LATENT",
"link": 33
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
34
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Decoder"
},
"widgets_values": [
true,
true,
"wavelet"
]
},
{
"id": 26,
"type": "CreateVideo",
"pos": [
4840.650273878111,
794.42993450642
],
"size": [
270,
78
],
"flags": {},
"order": 31,
"mode": 2,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 34
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 35
},
{
"name": "fps",
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 36
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
38
]
}
],
"properties": {
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
30
]
},
{
"id": 30,
"type": "Note",
"pos": [
4551.715587339679,
607.0186885116868
],
"size": [
360.33508640120203,
139.6373403456048
],
"flags": {},
"order": 1,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Multiple VAEs can be used to decode videos, with the fastest being 'light', followed by 'tcd', then 'vae.safetensor', and finally 'pth'. You can also use the official VAE decoder from comfyUI\n\n可以使用多种vae解码视频,最快是light,其次tcd 其次vae.safetensor 其次pth,也可以使用comfyUI官方的vae解码"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 32,
"type": "FlashVSR_SM_Vae",
"pos": [
4223.803059298931,
593.9125459614554
],
"size": [
270,
106
],
"flags": {},
"order": 2,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "VAE",
"links": [
32
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Vae"
},
"widgets_values": [
"none",
"TCDecoder.ckpt",
"none"
]
},
{
"id": 29,
"type": "GetVideoComponents",
"pos": [
4084.9372771984254,
862.3715044673572
],
"size": [
140,
66
],
"flags": {},
"order": 22,
"mode": 2,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 41
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
40
]
},
{
"name": "audio",
"type": "AUDIO",
"links": [
35
]
},
{
"name": "fps",
"type": "FLOAT",
"links": [
36
]
}
],
"properties": {
"Node name for S&R": "GetVideoComponents"
},
"widgets_values": []
},
{
"id": 33,
"type": "FlashVSR_SM_KSampler",
"pos": [
4246.774013532729,
981.3006352278525
],
"size": [
271,
297
],
"flags": {},
"order": 25,
"mode": 2,
"inputs": [
{
"name": "model",
"type": "FlashVSR_SM_Model",
"link": 39
},
{
"name": "image",
"type": "IMAGE",
"link": 40
},
{
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 42
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
33
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_KSampler"
},
"widgets_values": [
512,
512,
1161955395,
"fixed",
1,
3.5,
9,
1,
1,
2
]
},
{
"id": 11,
"type": "SaveVideo",
"pos": [
2370.4610272093755,
582.4926182117186
],
"size": [
751.2999877929688,
1350.1666463216147
],
"flags": {},
"order": 33,
"mode": 2,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 16
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI",
"mp4",
"h264"
]
},
{
"id": 9,
"type": "LoadVideo",
"pos": [
807.6338615625,
1024.540337265625
],
"size": [
577.9476318359375,
844.5968627929688
],
"flags": {},
"order": 3,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
14
]
}
],
"properties": {
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"微信视频2025-10-20_193643_186.mp4",
"image"
]
},
{
"id": 15,
"type": "FlashVSR_SM_Model",
"pos": [
867.1832876826306,
798.0079617016663
],
"size": [
357.72727272727275,
178
],
"flags": {},
"order": 4,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "FlashVSR_SM_Model",
"type": "FlashVSR_SM_Model",
"links": [
27
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Model"
},
"widgets_values": [
"diffusion_pytorch_model_streaming_dmd_v11.safetensors",
"LQ_proj_in_v11.ckpt",
"posi_prompt.pth",
"1.1",
false,
true
]
},
{
"id": 19,
"type": "FlashVSR_SM_KSampler",
"pos": [
1462.746498053055,
996.9343211901835
],
"size": [
271,
297
],
"flags": {},
"order": 24,
"mode": 2,
"inputs": [
{
"name": "model",
"type": "FlashVSR_SM_Model",
"link": 27
},
{
"name": "image",
"type": "IMAGE",
"link": 29
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
28
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_KSampler"
},
"widgets_values": [
768,
1024,
1161955395,
"fixed",
1,
3.5,
9,
1,
1,
2
]
},
{
"id": 22,
"type": "Note",
"pos": [
1778.6880718600046,
602.6523744740175
],
"size": [
360.33508640120203,
139.6373403456048
],
"flags": {},
"order": 5,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Multiple VAEs can be used to decode videos, with the fastest being 'light', followed by 'tcd', then 'vae.safetensor', and finally 'pth'. You can also use the official VAE decoder from comfyUI\n\n可以使用多种vae解码视频,最快是light,其次tcd 其次vae.safetensor 其次pth,也可以使用comfyUI官方的vae解码"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 38,
"type": "Note",
"pos": [
1777.2460318600047,
1193.878014474017
],
"size": [
360.33508640120203,
139.6373403456048
],
"flags": {},
"order": 6,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"The video is cropped by the height and width of the meeting center. \"Scale\" refers to the magnification factor. It is recommended to use a small size and magnify it by 4 times, if your video memory is sufficient\n\n高宽会中心裁切视频,scale 是放大倍数,推荐使用小尺寸放大4倍,如果你的显存够大"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 21,
"type": "Note",
"pos": [
861.8430718600047,
601.8873744740181
],
"size": [
388.43425995492066,
108.23238166791873
],
"flags": {},
"order": 7,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"v1.1 dit need use v1.1 LQ_proj_pt to get better quality,v1.0 like to..\n\n注意,1.1版的dit 要对应使用1.1版的proj_pt ,否则会劣化画质,1.0版本也一样,不建议版本混用.\n小显存开启offload\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 28,
"type": "Note",
"pos": [
3674.800587339683,
611.5776885116875
],
"size": [
383.47558226897036,
95.83568745304274
],
"flags": {},
"order": 8,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"v1.1 dit need use v1.1 LQ_proj_pt to get better quality,v1.0 like to..\n\n注意,1.1版的dit 要对应使用1.1版的proj_pt ,否则会劣化画质,1.0版本也一样,不建议版本混用.\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 31,
"type": "SaveVideo",
"pos": [
5148.81254268905,
670.7119322493882
],
"size": [
754.8431097929688,
852.8431097929688
],
"flags": {},
"order": 34,
"mode": 2,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 38
},
{
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": 43
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI",
"mp4",
"h264"
]
},
{
"id": 34,
"type": "FlashVSR_SM_Model",
"pos": [
3672.8808031623066,
801.164275739336
],
"size": [
357.72727272727275,
178
],
"flags": {},
"order": 9,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "FlashVSR_SM_Model",
"type": "FlashVSR_SM_Model",
"links": [
39
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Model"
},
"widgets_values": [
"diffusion_pytorch_model_streaming_dmd_v11.safetensors",
"LQ_proj_in_v11.ckpt",
"posi_prompt.pth",
"1.1",
false,
true
]
},
{
"id": 36,
"type": "FlashVSR_SM_VideoPathLoop",
"pos": [
3668.535001407255,
1052.1328404729131
],
"size": [
353.15800312500085,
214
],
"flags": {},
"order": 10,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
41
]
},
{
"name": "number",
"type": "NUMBER",
"links": null
},
{
"name": "seed",
"type": "INT",
"links": [
42
]
},
{
"name": "filename",
"type": "STRING",
"links": [
43
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_VideoPathLoop"
},
"widgets_values": [
"F:\\ComfyUI311\\ComfyUI\\input\\1232",
127497109,
"fixed",
"none",
0
]
},
{
"id": 37,
"type": "Note",
"pos": [
3679.8268873396823,
1325.6189885116867
],
"size": [
390.05095280376963,
96.84176627279544
],
"flags": {},
"order": 11,
"mode": 2,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"注意,循环节点需要输入包含分割视频的路径,分割视频使用插件目录下的分割bat文件获取,\n输入路径后,运行位置输入目录下文件的数量作为批次数\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 27,
"type": "VAELoader",
"pos": [
4227.24161353273,
757.9798352278525
],
"size": [
270,
58
],
"flags": {},
"order": 12,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": []
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"Wan2.1_VAE.pth"
]
},
{
"id": 18,
"type": "VAELoader",
"pos": [
1454.2140980530557,
753.6135211901834
],
"size": [
270,
58
],
"flags": {},
"order": 13,
"mode": 2,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": []
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"Wan2.1_VAE.pth"
]
},
{
"id": 39,
"type": "FlashVSR_SM_Decoder",
"pos": [
1771.7078152870195,
2657.476390716368
],
"size": [
270,
150
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 44
},
{
"name": "latent",
"type": "LATENT",
"link": 45
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
46
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Decoder"
},
"widgets_values": [
true,
true,
"wavelet"
]
},
{
"id": 42,
"type": "FlashVSR_SM_Vae",
"pos": [
1453.8730610532189,
2340.330101449969
],
"size": [
270,
106
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "vae",
"type": "VAE",
"links": [
44
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Vae"
},
"widgets_values": [
"none",
"TCDecoder.ckpt",
"none"
]
},
{
"id": 49,
"type": "SaveVideo",
"pos": [
2373.5585444433373,
2333.2764877379022
],
"size": [
751.2999877929688,
1350.1666463216147
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 59
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI",
"mp4",
"h264"
]
},
{
"id": 51,
"type": "FlashVSR_SM_Model",
"pos": [
870.2808049165927,
2548.79183122785
],
"size": [
357.72727272727275,
178
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "FlashVSR_SM_Model",
"type": "FlashVSR_SM_Model",
"links": [
60
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_Model"
},
"widgets_values": [
"diffusion_pytorch_model_streaming_dmd_v11.safetensors",
"LQ_proj_in_v11.ckpt",
"posi_prompt.pth",
"1.1",
false,
true
]
},
{
"id": 53,
"type": "Note",
"pos": [
1781.7855890939677,
2353.436244000201
],
"size": [
360.33508640120203,
139.6373403456048
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Multiple VAEs can be used to decode videos, with the fastest being 'light', followed by 'tcd', then 'vae.safetensor', and finally 'pth'. You can also use the official VAE decoder from comfyUI\n\n可以使用多种vae解码视频,最快是light,其次tcd 其次vae.safetensor 其次pth,也可以使用comfyUI官方的vae解码"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 55,
"type": "Note",
"pos": [
864.9405890939669,
2352.6712440002016
],
"size": [
388.43425995492066,
108.23238166791873
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"v1.1 dit need use v1.1 LQ_proj_pt to get better quality,v1.0 like to..\n\n注意,1.1版的dit 要对应使用1.1版的proj_pt ,否则会劣化画质,1.0版本也一样,不建议版本混用.\n小显存开启offload\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 62,
"type": "VAELoader",
"pos": [
1457.3116152870184,
2504.3973907163668
],
"size": [
270,
58
],
"flags": {},
"order": 18,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": []
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"Wan2.1_VAE.pth"
]
},
{
"id": 52,
"type": "FlashVSR_SM_KSampler",
"pos": [
1465.8440152870176,
2747.718190716367
],
"size": [
271,
297
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "FlashVSR_SM_Model",
"link": 60
},
{
"name": "image",
"type": "IMAGE",
"link": 64
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
45
]
}
],
"properties": {
"Node name for S&R": "FlashVSR_SM_KSampler"
},
"widgets_values": [
512,
512,
1161955395,
"fixed",
2,
3.5,
9,
1,
1,
2
]
},
{
"id": 54,
"type": "Note",
"pos": [
1771.543549093968,
2864.361884000202
],
"size": [
360.33508640120203,
139.6373403456048
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"The video is cropped by the height and width of the meeting center. \"Scale\" refers to the magnification factor. It is recommended to use a small size and magnify it by 4 times, if your video memory is sufficient\n\n高宽会中心裁切视频,scale 是放大倍数,推荐使用小尺寸放大4倍,如果你的显存够大"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 63,
"type": "LoadImage",
"pos": [
1150.375819783609,
2793.3667162146194
],
"size": [
270,
314
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
64
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"000000000019.jpg",
"image"
]
},
{
"id": 40,
"type": "CreateVideo",
"pos": [
2070.720275632401,
2540.8474899949338
],
"size": [
270,
78
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 46
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
59
]
}
],
"properties": {
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
25
]
}
],
"links": [
[
14,
9,
0,
8,
0,
"VIDEO"
],
[
16,
10,
0,
11,
0,
"VIDEO"
],
[
17,
8,
2,
10,
2,
"FLOAT"
],
[
18,
8,
1,
10,
1,
"AUDIO"
],
[
26,
17,
0,
10,
0,
"IMAGE"
],
[
27,
15,
0,
19,
0,
"FlashVSR_SM_Model"
],
[
28,
19,
0,
17,
1,
"LATENT"
],
[
29,
8,
0,
19,
1,
"IMAGE"
],
[
30,
20,
0,
17,
0,
"VAE"
],
[
32,
32,
0,
25,
0,
"VAE"
],
[
33,
33,
0,
25,
1,
"LATENT"
],
[
34,
25,
0,
26,
0,
"IMAGE"
],
[
35,
29,
1,
26,
1,
"AUDIO"
],
[
36,
29,
2,
26,
2,
"FLOAT"
],
[
38,
26,
0,
31,
0,
"VIDEO"
],
[
39,
34,
0,
33,
0,
"FlashVSR_SM_Model"
],
[
40,
29,
0,
33,
1,
"IMAGE"
],
[
41,
36,
0,
29,
0,
"VIDEO"
],
[
42,
36,
2,
33,
2,
"INT"
],
[
43,
36,
3,
31,
1,
"STRING"
],
[
44,
42,
0,
39,
0,
"VAE"
],
[
45,
52,
0,
39,
1,
"LATENT"
],
[
46,
39,
0,
40,
0,
"IMAGE"
],
[
59,
40,
0,
49,
0,
"VIDEO"
],
[
60,
51,
0,
52,
0,
"FlashVSR_SM_Model"
],
[
64,
63,
0,
52,
1,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "normal",
"bounding": [
552.7654405415005,
500.28378714470324,
2646.0501906000004,
1613.6403577
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "path loop",
"bounding": [
3325.7929560211787,
504.650101182373,
2608.8474096,
1223.8969377
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "single image",
"bounding": [
555.8629577754626,
2251.0676566708867,
2646.0501906000004,
1613.6403577
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650726,
"offset": [
-769.9170318835592,
-2208.414686516552
]
},
"frontendVersion": "1.37.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}