diff --git a/example_workflows/wanvideo_480p_I2V_example_01.json b/example_workflows/wanvideo_480p_I2V_example_01.json deleted file mode 100644 index 4e005fe..0000000 --- a/example_workflows/wanvideo_480p_I2V_example_01.json +++ /dev/null @@ -1,801 +0,0 @@ -{ - "last_node_id": 38, - "last_link_id": 42, - "nodes": [ - { - "id": 32, - "type": "WanVideoBlockSwap", - "pos": [ - 232.6178741455078, - -338.61407470703125 - ], - "size": [ - 315, - 106 - ], - "flags": {}, - "order": 0, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "block_swap_args", - "type": "BLOCKSWAPARGS", - "links": [ - 39 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoBlockSwap" - }, - "widgets_values": [ - 10, - false, - false - ] - }, - { - "id": 11, - "type": "LoadWanVideoT5TextEncoder", - "pos": [ - 224.15325927734375, - -34.481563568115234 - ], - "size": [ - 377.1661376953125, - 130 - ], - "flags": {}, - "order": 1, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "wan_t5_model", - "type": "WANTEXTENCODER", - "links": [ - 15 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "LoadWanVideoT5TextEncoder" - }, - "widgets_values": [ - "umt5-xxl-enc-bf16.safetensors", - "bf16", - "offload_device", - "disabled" - ] - }, - { - "id": 16, - "type": "WanVideoTextEncode", - "pos": [ - 675.8850708007812, - -36.032100677490234 - ], - "size": [ - 400, - 200 - ], - "flags": {}, - "order": 10, - "mode": 0, - "inputs": [ - { - "name": "t5", - "type": "WANTEXTENCODER", - "link": 15 - } - ], - "outputs": [ - { - "name": "text_embeds", - "type": "WANVIDEOTEXTEMBEDS", - "links": [ - 30 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoTextEncode" - }, - "widgets_values": [ - "old man takes off his hat", - "bad quality video", - true - ] - }, - { - "id": 13, - "type": "LoadWanVideoClipTextEncoder", - "pos": [ - 153.7196502685547, - 226.0297088623047 - ], - "size": [ - 510.6601257324219, - 106 - ], - "flags": {}, - "order": 2, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "wan_clip_model", - "type": "WANCLIP", - "links": [ - 17 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "LoadWanVideoClipTextEncoder" - }, - "widgets_values": [ - "open-clip-xlm-roberta-large-vit-huge-14_fp16.safetensors", - "fp16", - "offload_device" - ] - }, - { - "id": 35, - "type": "WanVideoTorchCompileSettings", - "pos": [ - 124.67726135253906, - -627.7935180664062 - ], - "size": [ - 390.5999755859375, - 178 - ], - "flags": {}, - "order": 3, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "torch_compile_args", - "type": "WANCOMPILEARGS", - "links": [], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoTorchCompileSettings" - }, - "widgets_values": [ - "inductor", - false, - "default", - false, - 64, - true - ] - }, - { - "id": 37, - "type": "Note", - "pos": [ - 170.94039916992188, - -750.3395385742188 - ], - "size": [ - 303.0501403808594, - 65.95614624023438 - ], - "flags": {}, - "order": 4, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "If you have Triton installed, connect this for ~30% speed increase" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 36, - "type": "Note", - "pos": [ - 712.7784423828125, - -580.95947265625 - ], - "size": [ - 378.52294921875, - 144.30191040039062 - ], - "flags": {}, - "order": 5, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "fp8_fast seems to cause huge quality degradation\n\nfp_16_fast enables \"Full FP16 Accmumulation in FP16 GEMMs\" feature available in the very latest pytorch nightly, this is around 20% speed boost. \n\nSageattn if you have it installed can be used for almost double inference speed" - ], - "color": "#432", - "bgcolor": "#653" - }, - { - "id": 22, - "type": "WanVideoModelLoader", - "pos": [ - 620.3950805664062, - -357.8426818847656 - ], - "size": [ - 477.4410095214844, - 226.43276977539062 - ], - "flags": {}, - "order": 9, - "mode": 0, - "inputs": [ - { - "name": "compile_args", - "type": "WANCOMPILEARGS", - "shape": 7, - "link": null - }, - { - "name": "block_swap_args", - "type": "BLOCKSWAPARGS", - "shape": 7, - "link": 39 - }, - { - "name": "lora", - "type": "WANVIDLORA", - "shape": 7, - "link": null - } - ], - "outputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "links": [ - 29 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoModelLoader" - }, - "widgets_values": [ - "WanVideo\\Wan2_1-I2V-14B-480P_fp8_e4m3fn.safetensors", - "fp16", - "fp8_e4m3fn", - "offload_device", - "sdpa" - ] - }, - { - "id": 27, - "type": "WanVideoSampler", - "pos": [ - 1349.4732666015625, - -233.91836547851562 - ], - "size": [ - 315, - 534.1923217773438 - ], - "flags": {}, - "order": 12, - "mode": 0, - "inputs": [ - { - "name": "model", - "type": "WANVIDEOMODEL", - "link": 29 - }, - { - "name": "text_embeds", - "type": "WANVIDEOTEXTEMBEDS", - "link": 30 - }, - { - "name": "image_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "link": 32 - }, - { - "name": "samples", - "type": "LATENT", - "shape": 7, - "link": null - }, - { - "name": "feta_args", - "type": "FETAARGS", - "shape": 7, - "link": null - }, - { - "name": "context_options", - "type": "WANVIDCONTEXT", - "shape": 7, - "link": null - } - ], - "outputs": [ - { - "name": "samples", - "type": "LATENT", - "links": [ - 33 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoSampler" - }, - "widgets_values": [ - 10, - 6, - 5, - 123, - "fixed", - true, - "unipc", - 0, - 1, - "" - ] - }, - { - "id": 21, - "type": "WanVideoVAELoader", - "pos": [ - 361.2858581542969, - 388.70892333984375 - ], - "size": [ - 315, - 82 - ], - "flags": {}, - "order": 6, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "vae", - "type": "WANVAE", - "links": [ - 21, - 34 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoVAELoader" - }, - "widgets_values": [ - "wanvideo\\Wan2_1_VAE_bf16.safetensors", - "bf16" - ] - }, - { - "id": 18, - "type": "LoadImage", - "pos": [ - 367.8443298339844, - 527.23193359375 - ], - "size": [ - 315, - 314 - ], - "flags": {}, - "order": 7, - "mode": 0, - "inputs": [], - "outputs": [ - { - "name": "IMAGE", - "type": "IMAGE", - "links": [ - 18 - ] - }, - { - "name": "MASK", - "type": "MASK", - "links": null - } - ], - "properties": { - "Node name for S&R": "LoadImage" - }, - "widgets_values": [ - "oldman_upscaled.png", - "image" - ] - }, - { - "id": 28, - "type": "WanVideoDecode", - "pos": [ - 1346.09375, - -467.1110534667969 - ], - "size": [ - 315, - 174 - ], - "flags": {}, - "order": 13, - "mode": 0, - "inputs": [ - { - "name": "vae", - "type": "WANVAE", - "link": 34 - }, - { - "name": "samples", - "type": "LATENT", - "link": 33 - } - ], - "outputs": [ - { - "name": "images", - "type": "IMAGE", - "links": [ - 41 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoDecode" - }, - "widgets_values": [ - true, - 272, - 272, - 144, - 128 - ] - }, - { - "id": 38, - "type": "GetImageSizeAndCount", - "pos": [ - 1703.7633056640625, - -346.5655517578125 - ], - "size": [ - 277.20001220703125, - 86 - ], - "flags": {}, - "order": 14, - "mode": 0, - "inputs": [ - { - "name": "image", - "type": "IMAGE", - "link": 41 - } - ], - "outputs": [ - { - "name": "image", - "type": "IMAGE", - "links": [ - 42 - ], - "slot_index": 0 - }, - { - "name": "width", - "type": "INT", - "links": null - }, - { - "name": "height", - "type": "INT", - "links": null - }, - { - "name": "count", - "type": "INT", - "links": null - } - ], - "properties": { - "Node name for S&R": "GetImageSizeAndCount" - } - }, - { - "id": 30, - "type": "VHS_VideoCombine", - "pos": [ - 1988.0869140625, - -413.2225341796875 - ], - "size": [ - 557.9904174804688, - 885.9904174804688 - ], - "flags": {}, - "order": 15, - "mode": 0, - "inputs": [ - { - "name": "images", - "type": "IMAGE", - "link": 42 - }, - { - "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": "WanVideo2_1", - "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": "WanVideo2_1_00115.mp4", - "subfolder": "", - "type": "output", - "format": "video/h264-mp4", - "frame_rate": 16, - "workflow": "WanVideo2_1_00115.png", - "fullpath": "N:\\AI\\ComfyUI\\output\\WanVideo2_1_00115.mp4" - } - } - } - }, - { - "id": 17, - "type": "WanVideoImageClipEncode", - "pos": [ - 875.01025390625, - 278.4588623046875 - ], - "size": [ - 315, - 266 - ], - "flags": {}, - "order": 11, - "mode": 0, - "inputs": [ - { - "name": "clip", - "type": "WANCLIP", - "link": 17 - }, - { - "name": "image", - "type": "IMAGE", - "link": 18 - }, - { - "name": "vae", - "type": "WANVAE", - "link": 21 - } - ], - "outputs": [ - { - "name": "image_embeds", - "type": "WANVIDIMAGE_EMBEDS", - "links": [ - 32 - ], - "slot_index": 0 - } - ], - "properties": { - "Node name for S&R": "WanVideoImageClipEncode" - }, - "widgets_values": [ - 832, - 480, - 81, - true, - 0, - 1, - 1, - true - ] - }, - { - "id": 33, - "type": "Note", - "pos": [ - 234.58334350585938, - -189.06956481933594 - ], - "size": [ - 351.70458984375, - 60 - ], - "flags": {}, - "order": 8, - "mode": 0, - "inputs": [], - "outputs": [], - "properties": {}, - "widgets_values": [ - "Models:\nhttps://huggingface.co/Kijai/WanVideo_comfy/tree/main" - ], - "color": "#432", - "bgcolor": "#653" - } - ], - "links": [ - [ - 15, - 11, - 0, - 16, - 0, - "WANTEXTENCODER" - ], - [ - 17, - 13, - 0, - 17, - 0, - "WANCLIP" - ], - [ - 18, - 18, - 0, - 17, - 1, - "IMAGE" - ], - [ - 21, - 21, - 0, - 17, - 2, - "VAE" - ], - [ - 29, - 22, - 0, - 27, - 0, - "WANVIDEOMODEL" - ], - [ - 30, - 16, - 0, - 27, - 1, - "WANVIDEOTEXTEMBEDS" - ], - [ - 32, - 17, - 0, - 27, - 2, - "WANVIDIMAGE_EMBEDS" - ], - [ - 33, - 27, - 0, - 28, - 1, - "LATENT" - ], - [ - 34, - 21, - 0, - 28, - 0, - "VAE" - ], - [ - 39, - 32, - 0, - 22, - 1, - "BLOCKSWAPARGS" - ], - [ - 41, - 28, - 0, - 38, - 0, - "IMAGE" - ], - [ - 42, - 38, - 0, - 30, - 0, - "IMAGE" - ] - ], - "groups": [], - "config": {}, - "extra": { - "ds": { - "scale": 0.672749994932598, - "offset": [ - 341.6634266370342, - 770.6955320763833 - ] - }, - "node_versions": { - "ComfyUI-WanVideoWrapper": "66c8ebe4d375e5dc1a510745931ae9bd14ec7887", - "comfy-core": "0.3.18", - "ComfyUI-KJNodes": "9a15e22f5e9416c0968ce3de33923f8f601257dd", - "ComfyUI-VideoHelperSuite": "2c25b8b53835aaeb63f831b3137c705cf9f85dce" - }, - "VHS_latentpreview": true, - "VHS_latentpreviewrate": 0, - "VHS_MetadataImage": true, - "VHS_KeepIntermediate": true - }, - "version": 0.4 -} \ No newline at end of file