ComfyUI/custom_nodes/wanblockswap/samples/example_workflow.json

840 lines
15 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"last_node_id": 106,
"last_link_id": 273,
"nodes": [
{
"id": 96,
"type": "WanVideoKsampler",
"pos": [
1837.6605224609375,
324.2342834472656
],
"size": [
315,
262
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 273
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 258
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 259
},
{
"name": "video_latents",
"type": "LATENT",
"link": 260
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
261
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "WanVideoKsampler"
},
"widgets_values": [
1008306166015497,
"randomize",
10,
3.2,
"uni_pc",
"simple",
1
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-114.07221984863281,
524.1190795898438
],
"size": [
350,
60
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"shape": 3,
"links": [
211,
255
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"wan_2.1_vae.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 97,
"type": "LoadImage",
"pos": [
-176.8472900390625,
984.2872314453125
],
"size": [
406.9599914550781,
558.9039306640625
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
254,
257
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Input Image",
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.15"
},
"widgets_values": [
"image_00079_.png",
"image"
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 101,
"type": "WanImageToVideo",
"pos": [
1347.5579833984375,
428.91644287109375
],
"size": [
342.5999755859375,
210
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 268
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 267
},
{
"name": "vae",
"type": "VAE",
"link": 255
},
{
"name": "clip_vision_output",
"type": "CLIP_VISION_OUTPUT",
"shape": 7,
"link": 256
},
{
"name": "start_image",
"type": "IMAGE",
"shape": 7,
"link": 257
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
258
],
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
259
],
"slot_index": 1
},
{
"name": "latent",
"type": "LATENT",
"links": [
260
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "WanImageToVideo"
},
"widgets_values": [
688,
464,
33,
1
]
},
{
"id": 80,
"type": "VHS_VideoCombine",
"pos": [
2645.41943359375,
149.885498046875
],
"size": [
376.1499938964844,
588.6795043945312
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 218
},
{
"name": "audio",
"type": "AUDIO",
"shape": 7,
"link": null
},
{
"name": "meta_batch",
"type": "VHS_BatchManager",
"shape": 7,
"link": null
},
{
"name": "vae",
"type": "VAE",
"shape": 7,
"link": null
}
],
"outputs": [
{
"name": "Filenames",
"type": "VHS_FILENAMES",
"links": null
}
],
"properties": {
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"loop_count": 0,
"filename_prefix": "Wan/videos",
"format": "video/nvenc_h264-mp4",
"pix_fmt": "yuv420p",
"bitrate": 12,
"megabit": true,
"save_metadata": true,
"pingpong": false,
"save_output": true,
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "videos_00001.mp4",
"subfolder": "Wan",
"type": "output",
"format": "video/nvenc_h264-mp4",
"frame_rate": 16,
"workflow": "videos_00001.png",
"fullpath": "D:\\Diffusion Projects\\ComfyUI_windows_portable\\ComfyUI\\output\\Wan\\videos_00001.mp4"
},
"muted": false
}
}
},
{
"id": 103,
"type": "CLIPTextEncode",
"pos": [
366.4345703125,
188.42164611816406
],
"size": [
623.7145385742188,
201.1713104248047
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 265
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
268
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.16"
},
"widgets_values": [
"A cat jumping up onto a sofa."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 104,
"type": "CLIPTextEncode",
"pos": [
365.06524658203125,
446.78082275390625
],
"size": [
628.3995971679688,
159.0052032470703
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 266
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
267
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.16"
},
"widgets_values": [
"logo, text, subtitles, wordmark, 色调艳丽过曝静态细节模糊不清字幕风格作品画作画面静止整体发灰最差质量低质量JPEG压缩残留丑陋的残缺的多余的手指画得不好的手部画得不好的脸部畸形的毁容的形态畸形的肢体手指融合静止不动的画面杂乱的背景三条腿背景人很多倒着走"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 95,
"type": "CLIPLoader",
"pos": [
-77.87387084960938,
187.2473907470703
],
"size": [
315,
98
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
265,
266
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 98,
"type": "CLIPVisionLoader",
"pos": [
-173.56211853027344,
783.3161010742188
],
"size": [
411.814208984375,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
253
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader",
"cnr_id": "comfy-core",
"ver": "0.3.16"
},
"widgets_values": [
"clip_vision_h.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 99,
"type": "CLIPVisionEncode",
"pos": [
365.2225341796875,
781.4757080078125
],
"size": [
253.60000610351562,
78
],
"flags": {
"collapsed": false,
"pinned": true
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 253
},
{
"name": "image",
"type": "IMAGE",
"link": 254
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
256
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPVisionEncode",
"cnr_id": "comfy-core",
"ver": "0.3.17"
},
"widgets_values": [
"center"
]
},
{
"id": 73,
"type": "VAEDecodeTiled",
"pos": [
2292.9814453125,
150.23422241210938
],
"size": [
210,
150
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 261
},
{
"name": "vae",
"type": "VAE",
"link": 211
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
218
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecodeTiled"
},
"widgets_values": [
256,
64,
64,
8
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
164.64300537109375,
-24.209657669067383
],
"size": [
350,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"shape": 3,
"links": [
271
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"wan\\wan2.1_i2v_480p_14B_fp8_scaled.safetensors",
"fp8_e4m3fn"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 94,
"type": "wanBlockSwap",
"pos": [
720.0398559570312,
-24.69327735900879
],
"size": [
315,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 271
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
272
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "wanBlockSwap"
},
"widgets_values": [
20,
false,
false
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 67,
"type": "ModelSamplingSD3",
"pos": [
1233.6903076171875,
-15.999412536621094
],
"size": [
210,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 272
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
273
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
7
],
"color": "#233",
"bgcolor": "#355"
}
],
"links": [
[
211,
10,
0,
73,
1,
"VAE"
],
[
218,
73,
0,
80,
0,
"IMAGE"
],
[
253,
98,
0,
99,
0,
"CLIP_VISION"
],
[
254,
97,
0,
99,
1,
"IMAGE"
],
[
255,
10,
0,
101,
2,
"VAE"
],
[
256,
99,
0,
101,
3,
"CLIP_VISION_OUTPUT"
],
[
257,
97,
0,
101,
4,
"IMAGE"
],
[
258,
101,
0,
96,
1,
"CONDITIONING"
],
[
259,
101,
1,
96,
2,
"CONDITIONING"
],
[
260,
101,
2,
96,
3,
"LATENT"
],
[
261,
96,
0,
73,
0,
"LATENT"
],
[
265,
95,
0,
103,
0,
"CLIP"
],
[
266,
95,
0,
104,
0,
"CLIP"
],
[
267,
104,
0,
101,
1,
"CONDITIONING"
],
[
268,
103,
0,
101,
0,
"CONDITIONING"
],
[
271,
12,
0,
94,
0,
"MODEL"
],
[
272,
94,
0,
67,
0,
"MODEL"
],
[
273,
67,
0,
96,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7972024500000015,
"offset": [
235.99874649121242,
334.7024067920739
]
},
"groupNodes": {},
"node_versions": {
"ComfyUI-WanVideoKsampler": "e92a703670b6d2ed0748f3c25ae551e7e05d0ea8",
"comfy-core": "0.3.26",
"ComfyUI-wanBlockswap": "unknown"
},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"ue_links": [],
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}