wan-workflows / Wan 2.1 txt2img workflow.json
stablediffusiontutorials's picture
Upload 2 files
cebb94b verified
{
"id": "db70eafa-def5-4444-a34c-5dd38330b40e",
"revision": 0,
"last_node_id": 36,
"last_link_id": 28,
"nodes": [
{
"id": 8,
"type": "PathchSageAttentionKJ",
"pos": [
1605.1690673828125,
392.3026123046875
],
"size": [
270,
58
],
"flags": {
"collapsed": false,
"pinned": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 9
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "PathchSageAttentionKJ",
"widget_ue_connectable": {}
},
"widgets_values": [
"auto"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 9,
"type": "ModelPatchTorchSettings",
"pos": [
1605.1690673828125,
517.3025512695312
],
"size": [
270,
58
],
"flags": {
"pinned": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 10
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
24
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "5dcda71011870278c35d92ff77a677ed2e538f2d",
"Node name for S&R": "ModelPatchTorchSettings",
"widget_ue_connectable": {}
},
"widgets_values": [
true
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 11,
"type": "CLIPTextEncode",
"pos": [
2367.698486328125,
650.1614379882812
],
"size": [
755.444091796875,
194.1061248779297
],
"flags": {
"collapsed": false,
"pinned": true
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 27
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
2,
16
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"poorly drawn, bad anatomy, bad hands, bad eyes, missing fingers, extra fingers, ugly, deformed, disfigured, blurry, grainy, out of focus, low resolution, amateur, poorly lit, oversaturated, undersaturated, watermark, signature, text, writing, noise, artifacts"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 12,
"type": "EmptyHunyuanLatentVideo",
"pos": [
3189.385009765625,
581.3327026367188
],
"size": [
315,
130
],
"flags": {
"pinned": true
},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "EmptyHunyuanLatentVideo",
"widget_ue_connectable": {}
},
"widgets_values": [
1920,
1088,
1,
1
]
},
{
"id": 13,
"type": "KSampler",
"pos": [
3570.257568359375,
520.9407348632812
],
"size": [
292.2470703125,
328.0917663574219
],
"flags": {
"pinned": true
},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 14
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 15
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 16
},
{
"name": "latent_image",
"type": "LATENT",
"link": 17
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
3
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "KSampler",
"widget_ue_connectable": {}
},
"widgets_values": [
124510469220137,
"randomize",
10,
1,
"euler",
"beta",
1
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 15,
"type": "SaveImage",
"pos": [
4346.640625,
366.4019775390625
],
"size": [
1103.1729736328125,
708.5538330078125
],
"flags": {
"pinned": true
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 22
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.42",
"Node name for S&R": "SaveImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"ComfyUI"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 17,
"type": "UnetLoaderGGUF",
"pos": [
1180.8350830078125,
395.2752685546875
],
"size": [
337.3508605957031,
79.50247955322266
],
"flags": {
"pinned": true
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
9
]
}
],
"properties": {
"cnr_id": "ComfyUI-GGUF",
"ver": "6570efec6992015085f11b84e42d32f6cc71e8b7",
"Node name for S&R": "UnetLoaderGGUF",
"widget_ue_connectable": {}
},
"widgets_values": [
"wan2.1-t2v-14b-Q5_K_S.gguf"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 18,
"type": "CLIPLoaderGGUF",
"pos": [
1181.9185791015625,
527.2356567382812
],
"size": [
337.3508605957031,
82
],
"flags": {
"pinned": true
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
23
]
}
],
"properties": {
"cnr_id": "ComfyUI-GGUF",
"ver": "6570efec6992015085f11b84e42d32f6cc71e8b7",
"Node name for S&R": "CLIPLoaderGGUF",
"widget_ue_connectable": {}
},
"widgets_values": [
"umt5-xxl-encoder-Q5_K_S.gguf",
"wan"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 29,
"type": "easy clearCacheAll",
"pos": [
4144.1630859375,
838.051513671875
],
"size": [
140,
26
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 21
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [
22
]
}
],
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "54614079ca96fa66c8953ff89dc66ca77245f5db",
"Node name for S&R": "easy clearCacheAll",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 4,
"type": "easy cleanGpuUsed",
"pos": [
4126.77392578125,
749.7095336914062
],
"size": [
157.38925170898438,
26
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "anything",
"type": "*",
"link": 6
}
],
"outputs": [
{
"name": "output",
"type": "*",
"links": [
21
]
}
],
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "54614079ca96fa66c8953ff89dc66ca77245f5db",
"Node name for S&R": "easy cleanGpuUsed",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 14,
"type": "VAELoader",
"pos": [
3579.089599609375,
902.1975708007812
],
"size": [
346.36004638671875,
58
],
"flags": {
"collapsed": true
},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
4
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "VAELoader",
"widget_ue_connectable": {},
"models": [
{
"name": "wan_2.1_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors?download=true",
"directory": "vae"
}
]
},
"widgets_values": [
"wan_2.1_vae.safetensors"
]
},
{
"id": 20,
"type": "ModelSamplingSD3",
"pos": [
3397.171875,
534.2255249023438
],
"size": [
210,
58
],
"flags": {
"collapsed": true
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 19
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
14
]
}
],
"title": "Shift",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "ModelSamplingSD3",
"widget_ue_connectable": {}
},
"widgets_values": [
1.0000000000000002
]
},
{
"id": 30,
"type": "LoraLoader",
"pos": [
1945.8953857421875,
515.8058471679688
],
"size": [
349.1648864746094,
126
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 24
},
{
"name": "clip",
"type": "CLIP",
"link": 23
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
25
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
26,
27
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.43",
"Node name for S&R": "LoraLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Wan\\Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors",
1,
1
]
},
{
"id": 3,
"type": "FastFilmGrain",
"pos": [
4124.404296875,
690.0111694335938
],
"size": [
315,
82
],
"flags": {
"collapsed": true
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 5
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
]
}
],
"properties": {
"aux_id": "vrgamegirl19/comfyui-vrgamedevgirl",
"ver": "0.1.0",
"Node name for S&R": "FastFilmGrain",
"widget_ue_connectable": {},
"cnr_id": "comfyui-aspect-ratio-crop-node"
},
"widgets_values": [
0.030000000000000006,
0.30000000000000004
]
},
{
"id": 2,
"type": "VAEDecode",
"pos": [
3932.5419921875,
691.222900390625
],
"size": [
210,
46
],
"flags": {
"collapsed": true
},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 3
},
{
"name": "vae",
"type": "VAE",
"link": 4
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
5
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "VAEDecode",
"widget_ue_connectable": {}
},
"widgets_values": [],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 16,
"type": "Label (rgthree)",
"pos": [
1261.701416015625,
275.95660400390625
],
"size": [
171.7822265625,
30
],
"flags": {
"allow_interaction": true
},
"order": 4,
"mode": 2,
"inputs": [],
"outputs": [],
"title": "Load models",
"properties": {
"fontSize": 30,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 21,
"type": "MarkdownNote",
"pos": [
789.228271484375,
398.10009765625
],
"size": [
328.48980712890625,
367.62872314453125
],
"flags": {
"pinned": true
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "All links here",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"### WAN 2.1 T2V GGUF MODEL\nπŸ”— [Download Link](https://huggingface.co/city96/Wan2.1-T2V-14B-gguf/tree/main)\n\n---\n\n### WAN 2.1 GGUF TEXT ENCODER\nπŸ”— [Download Link](https://huggingface.co/city96/umt5-xxl-encoder-gguf/tree/main)\n\n---\n\n### WAN 2.1 VAE \nπŸ”— [Download Link](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/blob/main/split_files/vae/wan_2.1_vae.safetensors)\n\n---\n\n### LORA\nπŸ”— [Download Link](https://huggingface.co/Kijai/WanVideo_comfy/blob/main/Wan21_T2V_14B_lightx2v_cfg_step_distill_lora_rank32.safetensors)\n\n\n\n\n\n\n\n\n\n\n"
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 26,
"type": "Label (rgthree)",
"pos": [
830.2867431640625,
276.8990478515625
],
"size": [
238.4619140625,
30
],
"flags": {
"allow_interaction": true
},
"order": 6,
"mode": 2,
"inputs": [],
"outputs": [],
"title": "Download models",
"properties": {
"fontSize": 30,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 23,
"type": "CLIPTextEncode",
"pos": [
2367.698486328125,
390.460205078125
],
"size": [
755.444091796875,
194.1061248779297
],
"flags": {
"pinned": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 26
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
15
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.36",
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"A candid, spontaneous selfie of a stunning young Black woman standing on her balcony at golden hour, dressed in a cropped white tee and wearing gold hoop earrings that catch the warm sunlight. Her curly hair frames her glowing skin naturally, illuminated by the soft last rays of the sun. The blurred city rooftops behind her fade gently into an orange-toned twilight sky. The image features authentic skin texture with subtle highlights and natural shadows, casual framing with a slight tilt capturing the intimate and effortless moment. The overall lighting and ambience reflect typical warm, natural light of an iPhone photo, making the scene feel genuine and elegantly powerful."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 19,
"type": "Label (rgthree)",
"pos": [
1638.669921875,
275.95660400390625
],
"size": [
205.078125,
30
],
"flags": {
"allow_interaction": true
},
"order": 7,
"mode": 2,
"inputs": [],
"outputs": [],
"title": "Optimalizations",
"properties": {
"fontSize": 30,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 1,
"type": "WanVideoNAG",
"pos": [
3197.80322265625,
533.9034423828125
],
"size": [
315,
126
],
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 25
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 2
}
],
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "f7eb33abc80a2aded1b46dff0dd14d07856a7d50",
"Node name for S&R": "WanVideoNAG",
"widget_ue_connectable": {}
},
"widgets_values": [
11,
0.25,
2.5
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 35,
"type": "Note",
"pos": [
3177.4150390625,
759.158935546875
],
"size": [
340.7017517089844,
88
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"Here you set the image dimensions. Full HD works great, but HD (1280x720) is also very good."
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 33,
"type": "Note",
"pos": [
1956.4049072265625,
699.5730590820312
],
"size": [
340.7017517089844,
88
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"With this lora you can reduce the number of steps (in KSampler) even to 5, but I recommend using 10 for more details."
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 36,
"type": "Label (rgthree)",
"pos": [
3658.781982421875,
409.2924499511719
],
"size": [
135.0732421875,
30
],
"flags": {
"allow_interaction": true
},
"order": 10,
"mode": 2,
"inputs": [],
"outputs": [],
"title": "Cooking...",
"properties": {
"fontSize": 30,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
},
{
"id": 34,
"type": "Label (rgthree)",
"pos": [
2641.735595703125,
274.6895446777344
],
"size": [
190.7080078125,
30
],
"flags": {
"allow_interaction": true
},
"order": 11,
"mode": 2,
"inputs": [],
"outputs": [],
"title": "Your cute idea",
"properties": {
"fontSize": 30,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"widget_ue_connectable": {}
},
"color": "#fff0",
"bgcolor": "#fff0"
}
],
"links": [
[
2,
11,
0,
1,
1,
"CONDITIONING"
],
[
3,
13,
0,
2,
0,
"LATENT"
],
[
4,
14,
0,
2,
1,
"VAE"
],
[
5,
2,
0,
3,
0,
"IMAGE"
],
[
6,
3,
0,
4,
0,
"*"
],
[
9,
17,
0,
8,
0,
"MODEL"
],
[
10,
8,
0,
9,
0,
"MODEL"
],
[
14,
20,
0,
13,
0,
"MODEL"
],
[
15,
23,
0,
13,
1,
"CONDITIONING"
],
[
16,
11,
0,
13,
2,
"CONDITIONING"
],
[
17,
12,
0,
13,
3,
"LATENT"
],
[
19,
1,
0,
20,
0,
"MODEL"
],
[
21,
4,
0,
29,
0,
"*"
],
[
22,
29,
0,
15,
0,
"IMAGE"
],
[
23,
18,
0,
30,
1,
"CLIP"
],
[
24,
9,
0,
30,
0,
"MODEL"
],
[
25,
30,
0,
1,
0,
"MODEL"
],
[
26,
30,
1,
23,
0,
"CLIP"
],
[
27,
30,
1,
11,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ue_links": [],
"links_added_by_ue": [],
"ds": {
"scale": 0.5989500000000424,
"offset": [
-2049.3446012469567,
4.613660552440246
]
},
"frontendVersion": "1.23.4",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": false,
"VHS_KeepIntermediate": true
},
"version": 0.4
}