{
  "config": {},
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        786.4786491937239,
        480.3784258620371
      ],
      "scale": 0.7043673508521221
    },
    "frontendVersion": "1.32.1"
  },
  "groups": [
    {
      "bounding": [
        140,
        60,
        452.84503173828125,
        474.2060852050781
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 1,
      "title": "Step 3 - Prompt"
    },
    {
      "bounding": [
        140,
        -170,
        450,
        220
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 2,
      "title": "Step2 - Video Size"
    },
    {
      "bounding": [
        -270,
        -170,
        390,
        1030
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 3,
      "title": "Step 1- Load models"
    },
    {
      "bounding": [
        140,
        550,
        800,
        300
      ],
      "color": "#3f789e",
      "flags": {},
      "font_size": 24,
      "id": 4,
      "title": "Decoding"
    }
  ],
  "id": "c265fdcc-11cd-4a1d-9a0d-bc37c45667d6",
  "last_link_id": 178,
  "last_node_id": 92,
  "links": [
    [
      35,
      3,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      46,
      6,
      0,
      3,
      1,
      "CONDITIONING"
    ],
    [
      52,
      7,
      0,
      3,
      2,
      "CONDITIONING"
    ],
    [
      76,
      39,
      0,
      8,
      1,
      "VAE"
    ],
    [
      91,
      40,
      0,
      3,
      3,
      "LATENT"
    ],
    [
      95,
      48,
      0,
      3,
      0,
      "MODEL"
    ],
    [
      107,
      51,
      0,
      52,
      1,
      "VAE"
    ],
    [
      108,
      3,
      0,
      52,
      0,
      "LATENT"
    ],
    [
      117,
      38,
      0,
      7,
      0,
      "CLIP"
    ],
    [
      118,
      38,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      142,
      37,
      0,
      59,
      0,
      "MODEL"
    ],
    [
      143,
      59,
      0,
      65,
      0,
      "MODEL"
    ],
    [
      144,
      65,
      0,
      48,
      0,
      "MODEL"
    ],
    [
      162,
      52,
      0,
      82,
      0,
      "IMAGE"
    ],
    [
      169,
      82,
      0,
      84,
      0,
      "MASK"
    ],
    [
      173,
      8,
      0,
      86,
      0,
      "IMAGE"
    ],
    [
      175,
      84,
      0,
      86,
      1,
      "MASK"
    ],
    [
      176,
      86,
      0,
      80,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 82,
      "inputs": [
        {
          "link": 162,
          "name": "image",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [
        {
          "links": [
            169
          ],
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        640,
        780
      ],
      "properties": {
        "Node name for S&R": "ImageToMask",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        270,
        58
      ],
      "type": "ImageToMask",
      "widgets_values": [
        "red"
      ]
    },
    {
      "flags": {},
      "id": 84,
      "inputs": [
        {
          "link": 169,
          "name": "mask",
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": [
            175
          ],
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        640,
        710
      ],
      "properties": {
        "Node name for S&R": "InvertMask",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        270,
        26
      ],
      "type": "InvertMask",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 8,
      "inputs": [
        {
          "link": 35,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 76,
          "name": "vae",
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            173
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        150,
        650
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        210,
        46
      ],
      "title": "RGB VAE Decode",
      "type": "VAEDecode",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 52,
      "inputs": [
        {
          "link": 108,
          "name": "samples",
          "type": "LATENT"
        },
        {
          "link": 107,
          "name": "vae",
          "type": "VAE"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            162
          ],
          "name": "IMAGE",
          "slot_index": 0,
          "type": "IMAGE"
        }
      ],
      "pos": [
        150,
        770
      ],
      "properties": {
        "Node name for S&R": "VAEDecode",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        210,
        46
      ],
      "title": "Alpha VAE Decode",
      "type": "VAEDecode",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 86,
      "inputs": [
        {
          "link": 173,
          "name": "image",
          "type": "IMAGE"
        },
        {
          "link": 175,
          "name": "alpha",
          "type": "MASK"
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            176
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        }
      ],
      "pos": [
        640,
        620
      ],
      "properties": {
        "Node name for S&R": "JoinImageWithAlpha",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        270,
        46
      ],
      "type": "JoinImageWithAlpha",
      "widgets_values": []
    },
    {
      "bgcolor": "#533",
      "color": "#322",
      "flags": {},
      "id": 7,
      "inputs": [
        {
          "link": 117,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [
        {
          "links": [
            52
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        150,
        340
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        425.27801513671875,
        180.6060791015625
      ],
      "title": "CLIP Text Encode (Negative Prompt) Useless s",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走"
      ]
    },
    {
      "flags": {},
      "id": 80,
      "inputs": [
        {
          "link": 176,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [],
      "pos": [
        970,
        -130
      ],
      "properties": {
        "Node name for S&R": "SaveAnimatedWEBP",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        1020,
        1166
      ],
      "type": "SaveAnimatedWEBP",
      "widgets_values": [
        "ComfyUI",
        16,
        true,
        80,
        "default"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": 118,
          "name": "clip",
          "type": "CLIP"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": [
            46
          ],
          "name": "CONDITIONING",
          "slot_index": 0,
          "type": "CONDITIONING"
        }
      ],
      "pos": [
        160,
        130
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        422.84503173828125,
        164.31304931640625
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "type": "CLIPTextEncode",
      "widgets_values": [
        "\"Medium shot. A little girl holds a bubble wand and blows out colorful bubbles that float and pop in the air. The background of this video is transparent. Realistic style.\"\t"
      ]
    },
    {
      "flags": {},
      "id": 40,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            91
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        200,
        -100
      ],
      "properties": {
        "Node name for S&R": "EmptyHunyuanLatentVideo",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        315,
        130
      ],
      "type": "EmptyHunyuanLatentVideo",
      "widgets_values": [
        832,
        480,
        33,
        1
      ]
    },
    {
      "flags": {},
      "id": 37,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            142
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        -260,
        -100
      ],
      "properties": {
        "Node name for S&R": "UNETLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "diffusion_models",
            "name": "wan2.1_t2v_14B_fp8_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp8_scaled.safetensors"
          }
        ],
        "ver": "0.3.62"
      },
      "size": [
        370,
        82
      ],
      "title": "Load Wan 2.1 t2v 14B",
      "type": "UNETLoader",
      "widgets_values": [
        "wan2.1_t2v_14B_fp8_scaled.safetensors",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 38,
      "inputs": [],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            117,
            118
          ],
          "name": "CLIP",
          "slot_index": 0,
          "type": "CLIP"
        }
      ],
      "pos": [
        -260,
        310
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "text_encoders",
            "name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors"
          }
        ],
        "ver": "0.3.62"
      },
      "size": [
        370,
        106
      ],
      "title": "Load Text Encoder",
      "type": "CLIPLoader",
      "widgets_values": [
        "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
        "wan",
        "default"
      ]
    },
    {
      "flags": {},
      "id": 65,
      "inputs": [
        {
          "link": 143,
          "name": "model",
          "type": "MODEL"
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            144
          ],
          "name": "MODEL",
          "type": "MODEL"
        }
      ],
      "pos": [
        -260,
        170
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "loras",
            "name": "wan_alpha_2.1_rgba_lora.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/loras/wan_alpha_2.1_rgba_lora.safetensors"
          }
        ],
        "ver": "0.3.62"
      },
      "size": [
        370,
        82
      ],
      "type": "LoraLoaderModelOnly",
      "widgets_values": [
        "wan_alpha_2.1_rgba_lora.safetensors",
        1
      ]
    },
    {
      "flags": {},
      "id": 39,
      "inputs": [],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            76
          ],
          "name": "VAE",
          "slot_index": 0,
          "type": "VAE"
        }
      ],
      "pos": [
        -260,
        650
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "vae",
            "name": "wan_alpha_2.1_vae_rgb_channel.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_alpha_2.1_vae_rgb_channel.safetensors"
          }
        ],
        "ver": "0.3.62"
      },
      "size": [
        370,
        58
      ],
      "type": "VAELoader",
      "widgets_values": [
        "wan_alpha_2.1_vae_rgb_channel.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 51,
      "inputs": [],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": [
            107
          ],
          "name": "VAE",
          "slot_index": 0,
          "type": "VAE"
        }
      ],
      "pos": [
        -260,
        780
      ],
      "properties": {
        "Node name for S&R": "VAELoader",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "vae",
            "name": "wan_alpha_2.1_vae_alpha_channel.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_alpha_2.1_vae_alpha_channel.safetensors"
          }
        ],
        "ver": "0.3.62"
      },
      "size": [
        370,
        58
      ],
      "type": "VAELoader",
      "widgets_values": [
        "wan_alpha_2.1_vae_alpha_channel.safetensors"
      ]
    },
    {
      "flags": {},
      "id": 48,
      "inputs": [
        {
          "link": 144,
          "name": "model",
          "type": "MODEL"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            95
          ],
          "name": "MODEL",
          "slot_index": 0,
          "type": "MODEL"
        }
      ],
      "pos": [
        620,
        -130
      ],
      "properties": {
        "Node name for S&R": "ModelSamplingSD3",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        310,
        58
      ],
      "type": "ModelSamplingSD3",
      "widgets_values": [
        5
      ]
    },
    {
      "flags": {},
      "id": 3,
      "inputs": [
        {
          "link": 95,
          "name": "model",
          "type": "MODEL"
        },
        {
          "link": 46,
          "name": "positive",
          "type": "CONDITIONING"
        },
        {
          "link": 52,
          "name": "negative",
          "type": "CONDITIONING"
        },
        {
          "link": 91,
          "name": "latent_image",
          "type": "LATENT"
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            35,
            108
          ],
          "name": "LATENT",
          "slot_index": 0,
          "type": "LATENT"
        }
      ],
      "pos": [
        620,
        -30
      ],
      "properties": {
        "Node name for S&R": "KSampler",
        "cnr_id": "comfy-core",
        "ver": "0.3.62"
      },
      "size": [
        310,
        550
      ],
      "type": "KSampler",
      "widgets_values": [
        558449140107503,
        "randomize",
        20,
        6,
        "uni_pc",
        "simple",
        1
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 92,
      "inputs": [],
      "mode": 0,
      "order": 5,
      "outputs": [],
      "pos": [
        610,
        -280
      ],
      "properties": {},
      "size": [
        320,
        100
      ],
      "title": "KSampler Setting",
      "type": "MarkdownNote",
      "widgets_values": [
        "| Parameter | Default  | with 4steps lightning |\n|-----------|--------------------------------|------------------|\n| steps     | 20                             | 4              |\n| cfg       | 6.0                            | 1.0              |"
      ]
    },
    {
      "bgcolor": "#000",
      "color": "#432",
      "flags": {},
      "id": 88,
      "inputs": [],
      "mode": 0,
      "order": 6,
      "outputs": [],
      "pos": [
        -820,
        -140
      ],
      "properties": {},
      "size": [
        530,
        500
      ],
      "title": "Note: Model links",
      "type": "MarkdownNote",
      "widgets_values": [
        "**Diffusion Model**\n- [wan2.1_t2v_14B_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_fp8_scaled.safetensors)\n- [wan2.1_t2v_14B_bf16.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_t2v_14B_bf16.safetensors) if you need the original model weights, download this one.\n\n**LoRA**\n- [lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors](https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors)\n- [wan_alpha_2.1_rgba_lora.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/loras/wan_alpha_2.1_rgba_lora.safetensors)\n\n**VAE**\n- [wan_alpha_2.1_vae_rgb_channel.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_alpha_2.1_vae_rgb_channel.safetensors)\n-[wan_alpha_2.1_vae_alpha_channel.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_alpha_2.1_vae_alpha_channel.safetensors)\n\n**Text Encoder**   \n- [umt5_xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors)\n\n\nFile save location\n\n```\nComfyUI/\n├───📂 models/\n│   ├───📂 diffusion_models/\n│   │   ├── wan2.1_t2v_14B_bf16.safetensors\n│   │   └── wan2.1_t2v_14B_fp8_scaled.safetensors\n│   ├───📂 loras/\n│   │   ├───lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors\n│   │   └─── wan_alpha_2.1_rgba_lora.safetensors\n│   ├───📂 text_encoders/\n│   │   └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors \n│   └───📂 vae/\n│   │   ├── wan_alpha_2.1_vae_rgb_channel.safetensors\n│       └── wan_alpha_2.1_vae_alpha_channel.safetensors\n```\n# Report issue\n\nIf you have any problems while using this workflow, please report template-related issues via this link: [report the template issue here](https://github.com/Comfy-Org/workflow_templates/issues)."
      ]
    },
    {
      "flags": {},
      "id": 59,
      "inputs": [
        {
          "link": 142,
          "name": "model",
          "type": "MODEL"
        }
      ],
      "mode": 4,
      "order": 7,
      "outputs": [
        {
          "links": [
            143
          ],
          "name": "MODEL",
          "type": "MODEL"
        }
      ],
      "pos": [
        -260,
        40
      ],
      "properties": {
        "Node name for S&R": "LoraLoaderModelOnly",
        "cnr_id": "comfy-core",
        "models": [
          {
            "directory": "loras",
            "name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
            "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors"
          }
        ],
        "ver": "0.3.62"
      },
      "size": [
        370,
        82
      ],
      "type": "LoraLoaderModelOnly",
      "widgets_values": [
        "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
        1
      ]
    }
  ],
  "revision": 0,
  "version": 0.4
}