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