wan-workflows / Wan2.1-fun-controlnet-workflow.json
stablediffusiontutorials's picture
Upload Wan2.1-fun-controlnet-workflow.json
c21d4f5 verified
{
"id": "0a670f05-d463-4a00-92e1-615bc164f1ed",
"revision": 0,
"last_node_id": 256,
"last_link_id": 444,
"nodes": [
{
"id": 224,
"type": "CLIPTextEncode",
"pos": [
1210,
520
],
"size": [
400,
200
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 387
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
350,
379
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.15",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
]
},
{
"id": 231,
"type": "CLIPLoader",
"pos": [
630,
340
],
"size": [
497.2289123535156,
98
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
386,
387
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
]
},
{
"id": 249,
"type": "VAELoader",
"pos": [
1250,
790
],
"size": [
315,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
428,
429
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"wan_2.1_vae.safetensors"
]
},
{
"id": 230,
"type": "WanFunControlToVideo",
"pos": [
2124.882080078125,
959.8216552734375
],
"size": [
228.39999389648438,
230
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 378
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 379
},
{
"name": "vae",
"type": "VAE",
"link": 428
},
{
"name": "clip_vision_output",
"shape": 7,
"type": "CLIP_VISION_OUTPUT",
"link": 431
},
{
"name": "start_image",
"shape": 7,
"type": "IMAGE",
"link": 430
},
{
"name": "control_video",
"shape": 7,
"type": "IMAGE",
"link": 415
},
{
"name": "length",
"type": "INT",
"widget": {
"name": "length"
},
"link": 427
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 425
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 426
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
383
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
384
]
},
{
"name": "latent",
"type": "LATENT",
"links": [
385
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "WanFunControlToVideo"
},
"widgets_values": [
832,
480,
81,
1
]
},
{
"id": 209,
"type": "WanVideoTeaCacheKJ",
"pos": [
1295.2440185546875,
10.823004722595215
],
"size": [
340.20001220703125,
154
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 440
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"slot_index": 0,
"links": [
441
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "68db110554d5f1d9bef8d027a111a49fd7f85e1b",
"Node name for S&R": "WanVideoTeaCacheKJ"
},
"widgets_values": [
0.08000000000000002,
0.1,
1,
"offload_device",
"1.3B"
]
},
{
"id": 245,
"type": "ImageResizeKJ",
"pos": [
910,
1050
],
"size": [
315,
266
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 418
},
{
"name": "get_image_size",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "width_input",
"shape": 7,
"type": "INT",
"widget": {
"name": "width_input"
},
"link": null
},
{
"name": "height_input",
"shape": 7,
"type": "INT",
"widget": {
"name": "height_input"
},
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
430,
442
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "b3269479f2f188fd60bc1ce0c6d1740383b98857",
"Node name for S&R": "ImageResizeKJ"
},
"widgets_values": [
512,
768,
"lanczos",
false,
2,
0,
0,
"center"
]
},
{
"id": 237,
"type": "LoadImage",
"pos": [
540,
1000
],
"size": [
315,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
418
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_temp_mmxll_00020_.png",
"image",
""
]
},
{
"id": 243,
"type": "CLIPVisionLoader",
"pos": [
910,
910
],
"size": [
310.58734130859375,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
397
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"clip_vision_h.safetensors"
]
},
{
"id": 99,
"type": "DWPreprocessor",
"pos": [
1297.9637451171875,
1126.8114013671875
],
"size": [
448.95635986328125,
225.9398956298828
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 413
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
415,
424
]
},
{
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "1e9eac6377c882da8bb360c7544607036904362c",
"Node name for S&R": "DWPreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512,
"yolox_l.torchscript.pt",
"dw-ll_ucoco_384_bs5.torchscript.pt",
"disable"
]
},
{
"id": 248,
"type": "GetImageSizeAndCount",
"pos": [
1823.0611572265625,
1186.52783203125
],
"size": [
213.64198303222656,
86
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 424
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null
},
{
"label": "512 width",
"name": "width",
"type": "INT",
"links": [
425
]
},
{
"label": "768 height",
"name": "height",
"type": "INT",
"links": [
426
]
},
{
"label": "81 count",
"name": "count",
"type": "INT",
"links": [
427
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "b3269479f2f188fd60bc1ce0c6d1740383b98857",
"Node name for S&R": "GetImageSizeAndCount"
},
"widgets_values": []
},
{
"id": 47,
"type": "VHS_LoadVideo",
"pos": [
666.2178955078125,
1410.202880859375
],
"size": [
559.610107421875,
1133.1651611328125
],
"flags": {},
"order": 4,
"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",
"slot_index": 0,
"links": [
413
]
},
{
"name": "frame_count",
"type": "INT",
"links": []
},
{
"name": "audio",
"type": "AUDIO",
"links": [
423
]
},
{
"name": "video_info",
"type": "VHS_VIDEOINFO",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "3a96e87951f498ebcbb6d5bf685f6b0014c8f591",
"Node name for S&R": "VHS_LoadVideo"
},
"widgets_values": {
"video": "dance christmas.mp4",
"force_rate": 16,
"custom_width": 512,
"custom_height": 768,
"frame_load_cap": 81,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff",
"choose video to upload": "image",
"videopreview": {
"hidden": false,
"paused": false,
"params": {
"filename": "dance christmas.mp4",
"type": "input",
"format": "video/mp4",
"force_rate": 16,
"custom_width": 512,
"custom_height": 768,
"frame_load_cap": 81,
"skip_first_frames": 0,
"select_every_nth": 1
}
}
}
},
{
"id": 223,
"type": "CLIPVisionEncode",
"pos": [
1280,
930
],
"size": [
253.60000610351562,
78
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 397
},
{
"name": "image",
"type": "IMAGE",
"link": 442
}
],
"outputs": [
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": [
352,
431
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "CLIPVisionEncode"
},
"widgets_values": [
"none"
]
},
{
"id": 219,
"type": "CLIPTextEncode",
"pos": [
1200,
250
],
"size": [
400,
200
],
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 386
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
349,
378
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.15",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"a beautiful caucasian woman, wearing a blue dress, dancing"
]
},
{
"id": 229,
"type": "KSampler",
"pos": [
2459.66015625,
938.1590576171875
],
"size": [
270.2284851074219,
262
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 395
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 383
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 384
},
{
"name": "latent_image",
"type": "LATENT",
"link": 385
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
371
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "KSampler"
},
"widgets_values": [
260460250381007,
"randomize",
20,
5,
"euler",
"simple",
1
]
},
{
"id": 228,
"type": "VAEDecode",
"pos": [
2867.295166015625,
758.4248046875
],
"size": [
210,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 371
},
{
"name": "vae",
"type": "VAE",
"link": 429
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
357
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.15",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 214,
"type": "VHS_VideoCombine",
"pos": [
3238.43017578125,
1415.6500244140625
],
"size": [
506.3061828613281,
1081.2913818359375
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 357
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": 423
},
{
"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": {
"cnr_id": "comfyui-videohelpersuite",
"ver": "3a96e87951f498ebcbb6d5bf685f6b0014c8f591",
"Node name for S&R": "VHS_VideoCombine"
},
"widgets_values": {
"frame_rate": 16,
"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_00008-audio.mp4",
"subfolder": "",
"type": "output",
"format": "video/h264-mp4",
"frame_rate": 16,
"workflow": "AnimateDiff_00008.png",
"fullpath": "C:\\Users\\benja\\ComfyUI\\output\\AnimateDiff_00008-audio.mp4"
}
}
}
},
{
"id": 241,
"type": "CFGZeroStar",
"pos": [
2035.2440185546875,
10.823004722595215
],
"size": [
241.79998779296875,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 394
}
],
"outputs": [
{
"name": "patched_model",
"type": "MODEL",
"links": [
395
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "CFGZeroStar"
},
"widgets_values": []
},
{
"id": 216,
"type": "ModelSamplingSD3",
"pos": [
1672.6219482421875,
9.999998092651367
],
"size": [
315,
58
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 441
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
394
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "ModelSamplingSD3"
},
"widgets_values": [
5.000000000000001
]
},
{
"id": 255,
"type": "SkipLayerGuidanceWanVideo",
"pos": [
914.0858764648438,
10.823003768920898
],
"size": [
352.79998779296875,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 436
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
440
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "b3269479f2f188fd60bc1ce0c6d1740383b98857",
"Node name for S&R": "SkipLayerGuidanceWanVideo"
},
"widgets_values": [
"9,10",
0.2,
0.5000000000000001
]
},
{
"id": 232,
"type": "UNETLoader",
"pos": [
391.9521484375,
8.688998222351074
],
"size": [
489.4940185546875,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
436
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.27",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"Wan2.1-Fun-1.3B-Control.safetensors",
"default"
]
}
],
"links": [
[
357,
228,
0,
214,
0,
"IMAGE"
],
[
371,
229,
0,
228,
0,
"LATENT"
],
[
378,
219,
0,
230,
0,
"CONDITIONING"
],
[
379,
224,
0,
230,
1,
"CONDITIONING"
],
[
383,
230,
0,
229,
1,
"CONDITIONING"
],
[
384,
230,
1,
229,
2,
"CONDITIONING"
],
[
385,
230,
2,
229,
3,
"LATENT"
],
[
386,
231,
0,
219,
0,
"CLIP"
],
[
387,
231,
0,
224,
0,
"CLIP"
],
[
394,
216,
0,
241,
0,
"MODEL"
],
[
395,
241,
0,
229,
0,
"MODEL"
],
[
397,
243,
0,
223,
0,
"CLIP_VISION"
],
[
413,
47,
0,
99,
0,
"IMAGE"
],
[
415,
99,
0,
230,
5,
"IMAGE"
],
[
418,
237,
0,
245,
0,
"IMAGE"
],
[
423,
47,
2,
214,
1,
"AUDIO"
],
[
424,
99,
0,
248,
0,
"IMAGE"
],
[
425,
248,
1,
230,
7,
"INT"
],
[
426,
248,
2,
230,
8,
"INT"
],
[
427,
248,
3,
230,
6,
"INT"
],
[
428,
249,
0,
230,
2,
"VAE"
],
[
429,
249,
0,
228,
1,
"VAE"
],
[
430,
245,
0,
230,
4,
"IMAGE"
],
[
431,
223,
0,
230,
3,
"CLIP_VISION_OUTPUT"
],
[
436,
232,
0,
255,
0,
"MODEL"
],
[
440,
255,
0,
209,
0,
"MODEL"
],
[
441,
209,
0,
216,
0,
"MODEL"
],
[
442,
245,
0,
223,
1,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.35584102738373513,
"offset": [
2452.8949946270686,
625.7930689529378
]
},
"linkExtensions": [
{
"id": 220,
"parentId": 1
}
],
"ue_links": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}