Download RelayVSR/RelayVSR_Workflow.json from AiNinja94/RelayVSR-ComfyUI-Workflow: direct link, hf CLI and curl.
- Browser
- Download file 21.9 kB
-
https://huggingface.co/AiNinja94/RelayVSR-ComfyUI-Workflow/resolve/main/RelayVSR/RelayVSR_Workflow.json
- Command line
-
hf download hf://AiNinja94/RelayVSR-ComfyUI-Workflow/RelayVSR/RelayVSR_Workflow.json
-
curl -L -o RelayVSR_Workflow.json https://huggingface.co/AiNinja94/RelayVSR-ComfyUI-Workflow/resolve/main/RelayVSR/RelayVSR_Workflow.json
21.9 kB
{
"id": "6fce58e3-5712-414f-9fc8-daa030e61e1f",
"revision": 0,
"last_node_id": 144,
"last_link_id": 95,
"nodes": [
{
"id": 107,
"type": "LoadVideo",
"pos": [
77.42645834592275,
1573.9905980013166
],
"size": [
404,
680
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"49T09NST7VBMC1V0712RRGXGD0.mp4",
"image"
],
"widgets_values_named": {
"file": "49T09NST7VBMC1V0712RRGXGD0.mp4",
"upload": "image"
}
},
{
"id": 108,
"type": "GetVideoComponents",
"pos": [
544.5138940922607,
1577.0602447841432
],
"size": [
225,
120
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 30
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [
74
]
},
{
"name": "audio",
"type": "AUDIO",
"slot_index": 1,
"links": [
57
]
},
{
"name": "fps",
"type": "FLOAT",
"slot_index": 2,
"links": [
58
]
},
{
"name": "bit_depth",
"type": "COMBO",
"slot_index": 3,
"links": []
},
{
"name": "color_space",
"type": "COMBO",
"slot_index": 4,
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "GetVideoComponents"
}
},
{
"id": 109,
"type": "RelayVSRConditioning",
"pos": [
809.3571552485942,
1389.6445490463536
],
"size": [
260,
70
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 68
},
{
"name": "images",
"type": "IMAGE",
"link": 69
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
34,
35
]
},
{
"name": "latent",
"type": "LATENT",
"slot_index": 1,
"links": [
36
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "RelayVSRConditioning"
}
},
{
"id": 110,
"type": "KSampler",
"pos": [
1120.4437055182368,
1364.5578516259611
],
"size": [
300,
434.66666666666663
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 33
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 34
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 35
},
{
"name": "latent_image",
"type": "LATENT",
"link": 36
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
38
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"fixed",
1,
1,
"euler",
"simple",
1
],
"widgets_values_named": {
"seed": 0,
"control_after_generate": "fixed",
"steps": 1,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1
}
},
{
"id": 111,
"type": "VAELoader",
"pos": [
965.4323305565124,
1230.8413107539632
],
"size": [
370.8643076340492,
61.999974390174415
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
37
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"relayvsr_flash_vae_x2_fp32.safetensors"
],
"widgets_values_named": {
"vae_name": "relayvsr_flash_vae_x2_fp32.safetensors"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 112,
"type": "UNETLoader",
"pos": [
328.71424611438573,
1278.6845120442526
],
"size": [
447.1917667123853,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
33,
68
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"relayvsr_x2_lightx2v_int8_convrot.safetensors",
"default"
],
"widgets_values_named": {
"unet_name": "relayvsr_x2_lightx2v_int8_convrot.safetensors",
"weight_dtype": "default"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 113,
"type": "Note",
"pos": [
312.39078763747546,
1063.4322899230497
],
"size": [
420,
160
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"RelayVSR video upscaling. The video goes in at its native size: the checkpoint decides the factor. Sample with 1 step at cfg 1, the model only sees every 15th frame and the conditioning node holds the fixed prompt. VSR Decode restores all frames.\n\nhttps://huggingface.co/Comfy-Org/RelayVSR/tree/main"
],
"widgets_values_named": {
"text": "RelayVSR video upscaling. The video goes in at its native size: the checkpoint decides the factor. Sample with 1 step at cfg 1, the model only sees every 15th frame and the conditioning node holds the fixed prompt. VSR Decode restores all frames.\n\nhttps://huggingface.co/Comfy-Org/RelayVSR/tree/main"
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 114,
"type": "VSRDecode",
"pos": [
1462.0857271753657,
1327.945148812906
],
"size": [
220,
98
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 37
},
{
"name": "samples",
"type": "LATENT",
"link": 38
},
{
"name": "images",
"type": "IMAGE",
"link": 70
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
55
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "VSRDecode"
},
"widgets_values": [
1
],
"widgets_values_named": {
"detail": 1
}
},
{
"id": 121,
"type": "CreateVideo",
"pos": [
1490.2634040773385,
1567.8561059732758
],
"size": [
284.158203125,
174
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 55
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 57
},
{
"name": "fps",
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 58
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
54
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
30,
"auto",
"sRGB",
"auto",
"none"
],
"widgets_values_named": {
"fps": 30,
"bit_depth": "auto",
"color_space": "sRGB",
"chroma_subsampling": "auto",
"codec": "none"
}
},
{
"id": 122,
"type": "SaveVideo",
"pos": [
1451.8434975132136,
1828.7111983860889
],
"size": [
394.6656510886387,
689.998476632958
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 54
}
],
"outputs": [
{
"name": "video",
"type": "VIDEO",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "SaveVideo"
},
"widgets_values": [
"video/ComfyUI",
"auto",
"auto",
"auto"
],
"widgets_values_named": {
"filename_prefix": "video/ComfyUI",
"format": "auto",
"format.codec": "auto",
"codec": "auto"
}
},
{
"id": 123,
"type": "LoadImage",
"pos": [
131.42693373617686,
3095.854279568449
],
"size": [
725.7114874086167,
529.3275014928572
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
94
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"00007-2911801437.png",
"image"
],
"widgets_values_named": {
"image": "00007-2911801437.png",
"upload": "image"
}
},
{
"id": 128,
"type": "Reroute",
"pos": [
680.7021464480113,
1511.219791631363
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 74
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
69,
70
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 133,
"type": "UNETLoader",
"pos": [
363.0494864594552,
2830.6021164401864
],
"size": [
447.1917667123853,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
81,
83
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"relayvsr_x2_lightx2v_int8_convrot.safetensors",
"default"
],
"widgets_values_named": {
"unet_name": "relayvsr_x2_lightx2v_int8_convrot.safetensors",
"weight_dtype": "default"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 134,
"type": "Note",
"pos": [
346.7260279825448,
2615.3498943189834
],
"size": [
420,
160
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"RelayVSR video upscaling. The video goes in at its native size: the checkpoint decides the factor. Sample with 1 step at cfg 1, the model only sees every 15th frame and the conditioning node holds the fixed prompt. VSR Decode restores all frames.\n\nhttps://huggingface.co/Comfy-Org/RelayVSR/tree/main"
],
"widgets_values_named": {
"text": "RelayVSR video upscaling. The video goes in at its native size: the checkpoint decides the factor. Sample with 1 step at cfg 1, the model only sees every 15th frame and the conditioning node holds the fixed prompt. VSR Decode restores all frames.\n\nhttps://huggingface.co/Comfy-Org/RelayVSR/tree/main"
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 135,
"type": "Reroute",
"pos": [
753.0700468307016,
3013.3014242122904
],
"size": [
75,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 94
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
82,
89
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 138,
"type": "RelayVSRConditioning",
"pos": [
843.6923955936632,
2941.5621534422876
],
"size": [
260,
70
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 81
},
{
"name": "images",
"type": "IMAGE",
"link": 82
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
84,
85
]
},
{
"name": "latent",
"type": "LATENT",
"slot_index": 1,
"links": [
86
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "RelayVSRConditioning"
}
},
{
"id": 139,
"type": "VAELoader",
"pos": [
999.767570901581,
2782.758915149897
],
"size": [
370.8643076340492,
61.999974390174415
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
87
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"relayvsr_flash_vae_x2_fp32.safetensors"
],
"widgets_values_named": {
"vae_name": "relayvsr_flash_vae_x2_fp32.safetensors"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 140,
"type": "KSampler",
"pos": [
1154.7789458633063,
2916.475456021895
],
"size": [
300,
434.66666666666663
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 83
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 84
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 85
},
{
"name": "latent_image",
"type": "LATENT",
"link": 86
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
88
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "KSampler"
},
"widgets_values": [
0,
"fixed",
1,
1,
"euler",
"simple",
1
],
"widgets_values_named": {
"seed": 0,
"control_after_generate": "fixed",
"steps": 1,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1
}
},
{
"id": 141,
"type": "VSRDecode",
"pos": [
1496.4209675204352,
2879.86275320884
],
"size": [
220,
98
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "VAE",
"link": 87
},
{
"name": "samples",
"type": "LATENT",
"link": 88
},
{
"name": "images",
"type": "IMAGE",
"link": 89
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
95
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "VSRDecode"
},
"widgets_values": [
1
],
"widgets_values_named": {
"detail": 1
}
},
{
"id": 144,
"type": "SaveImage",
"pos": [
1483.894777488842,
3046.0579574285757
],
"size": [
353.3148681633304,
303.60212053408713
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 95
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
],
"widgets_values_named": {
"filename_prefix": "ComfyUI"
}
}
],
"links": [
[
30,
107,
0,
108,
0,
"VIDEO"
],
[
33,
112,
0,
110,
0,
"MODEL"
],
[
34,
109,
0,
110,
1,
"CONDITIONING"
],
[
35,
109,
0,
110,
2,
"CONDITIONING"
],
[
36,
109,
1,
110,
3,
"LATENT"
],
[
37,
111,
0,
114,
0,
"VAE"
],
[
38,
110,
0,
114,
1,
"LATENT"
],
[
55,
114,
0,
121,
0,
"IMAGE"
],
[
57,
108,
1,
121,
1,
"AUDIO"
],
[
58,
108,
2,
121,
2,
"FLOAT"
],
[
68,
112,
0,
109,
0,
"MODEL"
],
[
69,
128,
0,
109,
1,
"IMAGE"
],
[
70,
128,
0,
114,
2,
"IMAGE"
],
[
74,
108,
0,
128,
0,
"IMAGE"
],
[
54,
121,
0,
122,
0,
"VIDEO"
],
[
81,
133,
0,
138,
0,
"MODEL"
],
[
82,
135,
0,
138,
1,
"IMAGE"
],
[
83,
133,
0,
140,
0,
"MODEL"
],
[
84,
138,
0,
140,
1,
"CONDITIONING"
],
[
85,
138,
0,
140,
2,
"CONDITIONING"
],
[
86,
138,
1,
140,
3,
"LATENT"
],
[
87,
139,
0,
141,
0,
"VAE"
],
[
88,
140,
0,
141,
1,
"LATENT"
],
[
89,
135,
0,
141,
2,
"IMAGE"
],
[
94,
123,
0,
135,
0,
"IMAGE"
],
[
95,
141,
0,
144,
0,
"IMAGE"
]
],
"groups": [
{
"id": 2,
"title": "For Image",
"bounding": [
101.76169869099222,
2545.3498943189834,
1789.0826902559295,
1481.9375401910806
],
"color": "#3f789e",
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.31985612588214624,
"offset": [
1550.3374890606365,
-521.1230991585473
]
},
"frontendVersion": "1.58.5",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
{
"id": "6fce58e3-5712-414f-9fc8-daa030e61e1f",
"revision": 0,
"last_node_id": 144,
"last_link_id": 95,
"nodes": [
{
"id": 107,
"type": "LoadVideo",
"pos": [
77.42645834592275,
1573.9905980013166
],
"size": [
404,
680
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.44.0",
"Node name for S&R": "LoadVideo"
},
"widgets_values": [
"49T09NST7VBMC1V0712RRGXGD0.mp4",
"image"
],
"widgets_values_named": {
"file": "49T09NST7VBMC1V0712RRGXGD0.mp4",
"upload": "image"
}
},
{
"id": 108,
"type": "GetVideoComponents",
"pos": [
544.5138940922607,
1577.0602447841432
],
"size": [
225,
120
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 30
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"slot_index": 0,
"links": [
74
]
},
{
"name": "audio",
"type": "AUDIO",
"slot_index": 1,
"links": [
57
]
},
{
"name": "fps",
"type": "FLOAT",
"slot_index": 2,
"links": [
58
]
},
{
"name": "bit_depth",
"type": "COMBO",
"slot_index": 3,
"links": []
},
{
"name": "color_space",
"type": "COMBO",