{
 "workflow_id": "wan22_a14b_i2v",
 "version": 1,
 "capability": "video.generate",
 "graph": {
  "1": {
   "class_type": "UNETLoader",
   "inputs": {
    "unet_name": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
    "weight_dtype": "default"
   }
  },
  "2": {
   "class_type": "UNETLoader",
   "inputs": {
    "unet_name": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
    "weight_dtype": "default"
   }
  },
  "3": {
   "class_type": "CLIPLoader",
   "inputs": {
    "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
    "type": "wan",
    "device": "default"
   }
  },
  "4": {
   "class_type": "VAELoader",
   "inputs": {
    "vae_name": "wan_2.1_vae.safetensors"
   }
  },
  "5": {
   "class_type": "LoraLoaderModelOnly",
   "inputs": {
    "lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
    "strength_model": 1.0,
    "model": [
     "1",
     0
    ]
   }
  },
  "6": {
   "class_type": "LoraLoaderModelOnly",
   "inputs": {
    "lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
    "strength_model": 1.0,
    "model": [
     "2",
     0
    ]
   }
  },
  "7": {
   "class_type": "ModelSamplingSD3",
   "inputs": {
    "shift": 5.0,
    "model": [
     "5",
     0
    ]
   }
  },
  "8": {
   "class_type": "ModelSamplingSD3",
   "inputs": {
    "shift": 5.0,
    "model": [
     "6",
     0
    ]
   }
  },
  "9": {
   "class_type": "CLIPTextEncode",
   "inputs": {
    "text": "",
    "clip": [
     "3",
     0
    ]
   }
  },
  "10": {
   "class_type": "CLIPTextEncode",
   "inputs": {
    "text": "色调艳丽，过曝，静态，细节模糊不清，字幕，风格，作品，画作，画面，静止，整体发灰，最差质量，低质量，JPEG压缩残留，丑陋的，残缺的，多余的手指，画得不好的手部，画得不好的脸部，畸形的，毁容的，形态畸形的肢体，手指融合，静止不动的画面，杂乱的背景，三条腿，背景人很多，倒着走",
    "clip": [
     "3",
     0
    ]
   }
  },
  "20": {
   "class_type": "LoadImage",
   "inputs": {
    "image": "example.png"
   }
  },
  "11": {
   "class_type": "WanImageToVideo",
   "inputs": {
    "positive": [
     "9",
     0
    ],
    "negative": [
     "10",
     0
    ],
    "vae": [
     "4",
     0
    ],
    "start_image": [
     "20",
     0
    ],
    "width": 1280,
    "height": 720,
    "length": 81,
    "batch_size": 1
   }
  },
  "12": {
   "class_type": "KSamplerAdvanced",
   "inputs": {
    "model": [
     "7",
     0
    ],
    "add_noise": "enable",
    "noise_seed": 0,
    "steps": 4,
    "cfg": 1.0,
    "sampler_name": "euler",
    "scheduler": "simple",
    "positive": [
     "11",
     0
    ],
    "negative": [
     "11",
     1
    ],
    "latent_image": [
     "11",
     2
    ],
    "start_at_step": 0,
    "end_at_step": 2,
    "return_with_leftover_noise": "enable"
   }
  },
  "13": {
   "class_type": "KSamplerAdvanced",
   "inputs": {
    "model": [
     "8",
     0
    ],
    "add_noise": "disable",
    "noise_seed": 0,
    "steps": 4,
    "cfg": 1.0,
    "sampler_name": "euler",
    "scheduler": "simple",
    "positive": [
     "11",
     0
    ],
    "negative": [
     "11",
     1
    ],
    "latent_image": [
     "12",
     0
    ],
    "start_at_step": 2,
    "end_at_step": 10000,
    "return_with_leftover_noise": "disable"
   }
  },
  "14": {
   "class_type": "VAEDecode",
   "inputs": {
    "samples": [
     "13",
     0
    ],
    "vae": [
     "4",
     0
    ]
   }
  },
  "15": {
   "class_type": "CreateVideo",
   "inputs": {
    "images": [
     "14",
     0
    ],
    "fps": 16.0
   }
  },
  "16": {
   "class_type": "SaveVideo",
   "inputs": {
    "video": [
     "15",
     0
    ],
    "filename_prefix": "aivideo/shot",
    "format": "auto",
    "codec": "auto"
   }
  }
 },
 "bindings": {
  "prompt": {
   "node": "9",
   "input": "text",
   "type": "string",
   "max_length": 4000
  },
  "seed": {
   "node": "12",
   "input": "noise_seed",
   "type": "integer",
   "min": 0,
   "max": 4294967295
  },
  "length": {
   "node": "11",
   "input": "length",
   "type": "integer",
   "min": 17,
   "max": 241,
   "unit": "frames",
   "fps": 16,
   "step": 4
  }
 },
 "output": {
  "node": "16",
  "key": "images"
 },
 "reference_bindings": [
  {
   "reference_index": 0,
   "node": "20",
   "input": "image"
  }
 ]
}
