Files
robertvoy-ComfyUI-Distributed/workflows/distributed-upscale-video.json

1414 lines
25 KiB
JSON

{
"id": "a778fe2e-2eb6-417f-8b97-86177243bce8",
"revision": 0,
"last_node_id": 140,
"last_link_id": 210,
"nodes": [
{
"id": 86,
"type": "Reroute",
"pos": [
2130,
1050
],
"size": [
75,
26
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 121
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
127
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 107,
"type": "Reroute",
"pos": [
2810,
1050
],
"size": [
75,
26
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 171
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
172
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 110,
"type": "Reroute",
"pos": [
2810,
970
],
"size": [
75,
26
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 210
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
176
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 7,
"type": "CheckpointLoaderSimple",
"pos": [
1700,
1270
],
"size": [
370,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
124
]
},
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 1,
"links": [
5,
6
]
},
{
"name": "VAE",
"type": "VAE",
"slot_index": 2,
"links": [
121
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "CheckpointLoaderSimple",
"models": [
{
"name": "v1-5-pruned-emaonly-fp16.safetensors",
"url": "https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive/resolve/main/v1-5-pruned-emaonly-fp16.safetensors?download=true",
"directory": "checkpoints"
}
]
},
"widgets_values": [
"SDXL\\juggernautXL_ragnarokBy.safetensors"
]
},
{
"id": 90,
"type": "Reroute",
"pos": [
2460,
1050
],
"size": [
75,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 127
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
129,
171
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 44,
"type": "ControlNetLoader",
"pos": [
1910,
1510
],
"size": [
390,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
81
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"SDXL\\xinsir-controlnet-union-sdxl-1.0-promax.safetensors"
]
},
{
"id": 52,
"type": "SetUnionControlNetType",
"pos": [
2340,
1510
],
"size": [
210,
58
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 81
}
],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
192
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "SetUnionControlNetType"
},
"widgets_values": [
"tile"
]
},
{
"id": 125,
"type": "Reroute",
"pos": [
2450,
880
],
"size": [
75,
26
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 200
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
206
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 71,
"type": "RIFE VFI",
"pos": [
3367.979248046875,
1110
],
"size": [
290.73333740234375,
198
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "frames",
"type": "IMAGE",
"link": 108
},
{
"name": "optional_interpolation_states",
"shape": 7,
"type": "INTERPOLATION_STATES",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
109
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfyui-frame-interpolation",
"ver": "a969c01dbccd9e5510641be04eb51fe93f6bfc3d",
"Node name for S&R": "RIFE VFI"
},
"widgets_values": [
"rife47.pth",
10,
2,
true,
true,
1
]
},
{
"id": 34,
"type": "ImageResize+",
"pos": [
1700,
970
],
"size": [
270,
218
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 197
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
210
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfyui_essentials",
"ver": "9d9f4bedfc9f0321c19faf71855e228c93bd0dc9",
"Node name for S&R": "ImageResize+"
},
"widgets_values": [
2048,
2048,
"lanczos",
"keep proportion",
"always",
8
]
},
{
"id": 43,
"type": "ControlNetApplyAdvanced",
"pos": [
2640,
1150
],
"size": [
270,
186
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 63
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 64
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 192
},
{
"name": "image",
"type": "IMAGE",
"link": 206
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 129
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
190
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
191
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1.0000000000000002,
0,
0.9000000000000002
]
},
{
"id": 123,
"type": "ImageUpscaleWithModel",
"pos": [
1410,
970
],
"size": [
222.75416564941406,
46
],
"flags": {},
"order": 18,
"mode": 4,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 195
},
{
"name": "image",
"type": "IMAGE",
"link": 209
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
197
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "ImageUpscaleWithModel"
},
"widgets_values": []
},
{
"id": 131,
"type": "Note",
"pos": [
1430,
1070
],
"size": [
210,
88
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Optional"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 88,
"type": "Reroute",
"pos": [
2130,
1020
],
"size": [
75,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 124
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
137
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 89,
"type": "Reroute",
"pos": [
2810,
1020
],
"size": [
75,
26
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 137
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
170
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 124,
"type": "Reroute",
"pos": [
1230,
880
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 208
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
200,
209
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 132,
"type": "Note",
"pos": [
1460,
1270
],
"size": [
210,
88
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Choose an SDXL model"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
2140,
1360
],
"size": [
420,
88
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
64
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"text, watermark"
]
},
{
"id": 41,
"type": "VHS_VideoCombine",
"pos": [
3700,
1110
],
"size": [
450,
594.9140625
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 109
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"name": "meta_batch",
"shape": 7,
"type": "VHS_BatchManager",
"link": null
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfyui-videohelpersuite",
"ver": "a7ce59e381934733bfae03b1be029756d6ce936d",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 30,
"loop_count": 0,
"filename_prefix": "AnimateDiff",
"format": "video/h264-mp4",
"pix_fmt": "yuv420p",
"crf": 19,
"save_metadata": false,
"trim_to_audio": false,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00231.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 30,
"workflow": "AnimateDiff_00231.png",
"fullpath": "C:\\venvs\\ComfyUI\\ComfyUI\\output\\AnimateDiff_00231.mp4"
}
}
}
},
{
"id": 134,
"type": "MarkdownNote",
"pos": [
1910,
1610
],
"size": [
380,
88
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"[https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main](https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/tree/main)"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 122,
"type": "UpscaleModelLoader",
"pos": [
1120,
1040
],
"size": [
270,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
195
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"4xNomos8kDAT.pth"
]
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
2140,
1150
],
"size": [
420,
160
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
63
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.3.41",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"beautiful scenery nature glass bottle landscape, , purple galaxy bottle,"
]
},
{
"id": 30,
"type": "UltimateSDUpscaleDistributed",
"pos": [
3000,
1110
],
"size": [
326.691650390625,
450
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "upscaled_image",
"type": "IMAGE",
"link": 176
},
{
"name": "model",
"type": "MODEL",
"link": 170
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 190
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 191
},
{
"name": "vae",
"type": "VAE",
"link": 172
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
108
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "ComfyUI-Distributed",
"ver": "dd23503883fdf319e8beb6e7a190445ecf89973c",
"Node name for S&R": "UltimateSDUpscaleDistributed"
},
"widgets_values": [
320425997971252,
"randomize",
20,
7,
"euler",
"normal",
0.7000000000000002,
1024,
1024,
32,
16,
true,
false,
true
]
},
{
"id": 139,
"type": "Note",
"pos": [
3000,
1610
],
"size": [
330,
88
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"If all your GPUs are the same/similar, set static_distribution to true\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 138,
"type": "VHS_LoadVideo",
"pos": [
670,
880
],
"size": [
340,
509
],
"flags": {},
"order": 7,
"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": [
208
]
},
{
"name": "frame_count",
"type": "INT",
"links": null
},
{
"name": "audio",
"type": "AUDIO",
"links": null
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfyui-videohelpersuite",
"ver": "a7ce59e381934733bfae03b1be029756d6ce936d",
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "AnimateDiff_00155.mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "Wan",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "AnimateDiff_00155.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 0,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 140,
"type": "MarkdownNote",
"pos": [
680,
680
],
"size": [
390,
140
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"# WARNING: Experimental workflow\n\nThe tiled upscaling works with video, but it is experimental.\n\nThe results can be flickery."
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
5,
7,
1,
5,
0,
"CLIP"
],
[
6,
7,
1,
6,
0,
"CLIP"
],
[
63,
5,
0,
43,
0,
"CONDITIONING"
],
[
64,
6,
0,
43,
1,
"CONDITIONING"
],
[
81,
44,
0,
52,
0,
"CONTROL_NET"
],
[
108,
30,
0,
71,
0,
"IMAGE"
],
[
109,
71,
0,
41,
0,
"IMAGE"
],
[
121,
7,
2,
86,
0,
"*"
],
[
124,
7,
0,
88,
0,
"*"
],
[
127,
86,
0,
90,
0,
"*"
],
[
129,
90,
0,
43,
4,
"VAE"
],
[
137,
88,
0,
89,
0,
"*"
],
[
170,
89,
0,
30,
1,
"MODEL"
],
[
171,
90,
0,
107,
0,
"*"
],
[
172,
107,
0,
30,
4,
"VAE"
],
[
176,
110,
0,
30,
0,
"IMAGE"
],
[
190,
43,
0,
30,
2,
"CONDITIONING"
],
[
191,
43,
1,
30,
3,
"CONDITIONING"
],
[
192,
52,
0,
43,
2,
"CONTROL_NET"
],
[
195,
122,
0,
123,
0,
"UPSCALE_MODEL"
],
[
197,
123,
0,
34,
0,
"IMAGE"
],
[
200,
124,
0,
125,
0,
"*"
],
[
206,
125,
0,
43,
3,
"IMAGE"
],
[
208,
138,
0,
124,
0,
"*"
],
[
209,
124,
0,
123,
1,
"IMAGE"
],
[
210,
34,
0,
110,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6934334949441466,
"offset": [
-745.9669584283469,
-262.3877185095017
]
},
"frontendVersion": "1.23.4",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}