# Wan2.2 Image to Video: 14B Bring Photos to Life | gaodong.ai

> Learn how to run Wan2.2 image-to-video on ComfyUI: download the i2v dual-expert weights, upload a photo as the first frame, write prompts based on motion and…

Source: https://gaodong.ai/en/comfyui/2-models/12-wan2-2-14b-i2v

---

# Wan2.2 14B Image to Video: Bring Photos to Life {#wan2-2-14b-图生视频-让照片动起来}

The previous lesson's text-to-video (T2V) starts creating from a single prompt; this lesson flips it around: **the photo defines the frame, the model handles the motion**. **Wan2.2-I2V-A14B** is Alibaba Tongyi Wanxiang's image-to-video model: 14B MoE dual-expert architecture, supporting 480P and 720P, Apache 2.0 licensed for commercial use. The official model card positions it as "more stable synthesis with less unrealistic camera movement" — the photo comes to life without drifting around.

This page walks through the complete **Wan2.2 image-to-video** (I2V) 14B workflow: upload a photo and generate a 20-step 640×640 dynamic video of about 5 seconds; then learn to enable Turbo mode for 4-step camera tests and change resolution and duration by the rules. First, the VRAM requirements: the official Python script calls for 80GB, the ComfyUI template uses fp8 weights, and the tested note is that a 24GB card (RTX 4090D) runs 640×640 with 84% VRAM usage.

## What You'll Be Able to Do After This Lesson {#学完你能做什么}

- Turn a static photo into a 640×640, 81-frame, roughly 5-second dynamic video: the video starts moving from **your photo**
- Explain which files are shared between I2V and the previous lesson's T2V and which must be downloaded separately: the diffusion weights switch to the i2v-specific ones, while the text encoder and VAE are reused directly
- Enable Turbo mode with one click: attach the i2v 4-step LoRA, generate in 4 steps, and test cameras several times faster than with 20 steps
- Write image-to-video prompts using "motion + camera" instead of restating the photo
- Change parameters by the rules: width and height as multiples of 16, frame count as 4n+1, with the photo automatically center-cropped to fit

## Your Current Pain Points {#你现在的困境}

- You have a photo you're happy with — a portrait, product shot, or illustration — and want to bring it to life as short-video material, but keyframing in editing software until your eyes blur still can't produce that natural camera movement
- You tried downloading the model per the official docs, but the download card says fp16 while the step-by-step text uses t2v filenames — the two don't match, and you don't know which to trust
- The previous lesson's T2V generates from scratch; no matter how detailed the prompt, it can't guarantee "use exactly this image of mine"

## When to Use This Technique {#什么时候用这一招}

When you need:

- Photo to video: bring existing portraits, products, or illustrations to life while keeping the visual content consistent and the motion smooth (the official positioning for I2V)
- Camera language with precise motion control and stable style: slow push-ins, orbiting, and the like
- Commercial projects: the Wan2.2 series is based on the Apache 2.0 license and can be used commercially as long as the copyright notice is retained

And you don't want to:

- Manually create camera movements and frame-by-frame morphing in editing software
- Leave text-to-video generation to chance trying to approximate an image you already have

## 🎒 Preparation Before Starting {#🎒-开始前的准备}

- [ ] Completed[the previous lesson, Wan2.2 14B Text to Video](/comfyui/2-models/11-wan2-2-14b-t2v): the same template family, and the division of labor between the MoE dual experts was thoroughly covered in the previous lesson
- [ ] Get familiar with the model directory rules: put files into the matching subdirectories under `models/` (see [where models go](/comfyui/1-start/04-models-folder))
- [ ] ComfyUI **0.16.4 or above** (the minimum version the official template library lists for this template; for how to use the template library see [the template library tutorial](/comfyui/4-advanced/01-template-library), and for version changes see [the changelog](/comfyui/changelog/01-changelog))
- [ ] Leave about **33GB** of free disk space: two diffusion 13.31 + 13.31 GB, plus the text encoder at 6.27 GB and the VAE at 0.24 GB—if you already downloaded the text encoder and VAE in the previous lesson, this time you only need to download the two diffusion files
- [ ] **24GB-class VRAM** (per the template's tested note: an RTX 4090D running 640×640 uses 84%; for smaller cards, see the GGUF approach in the advanced tips)
- [ ] Prepare a photo you want to bring to life

## Core idea {#核心思路}

First, remember one sentence: **The skeleton of this lesson is exactly the same as the previous one; only two things change—the "weights" and the "starting point."**

1. **The MoE dual-expert setup carries over as is.** The high-noise expert handles the early denoising stage (overall layout), and the low-noise expert handles the late stage (detail refinement)—each expert has about 14B parameters, 27B combined, with only one activated per step, so inference compute barely increases. In the template: two KSamplerAdvanced nodes sample in relay, and both ModelSamplingSD3 nodes use a shift of 5—exactly the same as the T2V in the previous lesson.
2. **The diffusion weights switch to the i2v-specific ones.** The official release provides two separate dual-expert weight sets for T2V and I2V, differing by a single `t2v` / `i2v` in the filenames and not interchangeable; but the text encoder (umt5 fp8) and VAE (wan_2.1) are the same in both lessons, so reuse them if already downloaded.
3. **The starting point changes from an "empty latent" to "your photo."** The previous lesson used `EmptyHunyuanLatentVideo` to create a blank canvas; this lesson's **`WanImageToVideo`** node center-crops the start_image, scales it to width×height, VAE-encodes it and splices it into the latent, pinning the video's opening frame to your photo—all the model has to do is "make the picture move forward naturally."
4. **The prompt's job changes.** The T2V prompt describes the whole picture; in I2V the composition, subject, and colors are already decided by the photo, so the prompt focuses on **motion and camera**: what the subject does and how the camera moves.
5. **Turbo is still the same switch.** `enable_turbo_mode` on: attach the two i2v-version 4-step LoRAs, steps 20→4, cfg 3.5→1.

| | T2V text-to-video (previous lesson) | I2V image-to-video (this lesson) |
|---|---|---|
| diffusion weights | `wan2.2_t2v_*_14B_fp8_scaled` ×2 | `wan2.2_i2v_*_14B_fp8_scaled` ×2, plus another set to download |
| video starting point | empty latent (`EmptyHunyuanLatentVideo`) | your photo (`WanImageToVideo`) |
| what the prompt describes | the entire scene | motion and camera |
| text encoder / VAE | umt5 fp8 / `wan_2.1_vae` | same ones, reuse directly |
| Turbo LoRA | t2v version (v1.1)×2 | i2v version (v1)×2, different files |
| best for | creating from scratch | bringing existing photos to life |

Both weight sets are under the Apache 2.0 license, so commercial use requires no separate agreement.

## Follow along {#跟我做}

### Step 1: Load the Wan2.2 14B image-to-video template {#第-1-步-加载-wan2-2-14b-图生视频模板}

Why: the official template packages the dual-expert loading, relay sampling, and Turbo switch into a single **Image to Video(Wan2.2)** subgraph node; the photo is fed in from the outside via Load Image, and the common parameters are all exposed on the node's surface, so you can't wire it wrong.

1. Open the template library (Browse Templates), search for "Wan2.2 14B I2V", and find the template **Wan Wanxiang 2.2 14B Image to Video** (called Wan 2.2 14B Image to Video in the English interface)
2. Click to load

You should see: **Load Image** + **Image to Video(Wan2.2)** subgraph + **SaveVideo** on the canvas, with two note annotations beside them—**Model Links** (download links for all models) and **VRAM Usage** (officially measured VRAM/time records). The subgraph node's surface exposes the prompt, width / height, duration, high-noise/low-noise models, high-noise/low-noise Lightning LoRAs, text encoder, VAE, and `enable_turbo_mode`. Load Image comes preloaded with the official sample image (the white dragon samurai), with no red nodes anywhere.

- [ ] Template loaded, no red nodes on the canvas

::: details What's inside the subgraph? (Read this if it doesn't match older tutorials online)
The subgraph **Image to Video(Wan2.2)** in the template JSON internally contains: two Load Diffusion Model nodes (high-noise/low-noise i2v weights), two LoraLoaderModelOnly nodes (the 4-step LoRA used for Turbo), Load CLIP (with type set to `wan`), Load VAE, two ModelSamplingSD3 (shift 5), one positive and one negative CLIP Text Encode, **WanImageToVideo** (takes start_image and outputs a latent with image conditioning), two KSamplerAdvanced nodes (relay sampling), VAEDecode, CreateVideo (fps 16), plus a small expression node that computes the frame count (length = duration × fps + 1). In the older tutorial these were loose nodes; now the official version has packaged them into a single subgraph.
:::

### Step 2: Download the i2v dual-expert models and put them in place {#第-2-步-下载-i2v-双专家模型并归位}

Why: i2v is a separate set of dual-expert weights and must be downloaded separately; however, the text encoder and VAE are exactly the same as in the previous lesson, so you can reuse the ones you already downloaded—the only new downloads are the two diffusion files.

| File | put into | size |
|---|---|---|
| `wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors` | `models/diffusion_models/` | 13.31 GB |
| `wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors` | `models/diffusion_models/` | 13.31 GB |
| `umt5_xxl_fp8_e4m3fn_scaled.safetensors` | `models/text_encoders/` | 6.27 GB |
| `wan_2.1_vae.safetensors` | `models/vae/` | 242.1 MB |

::: warning ⚠️ The official documentation contradicts itself in this section—go with fp8_scaled
In the official tutorial's I2V section, the download card lists `fp16` filenames, but the step text mistakenly gives the `t2v` filenames (clearly copy-pasted from the T2V section—even `EmptyHunyuanLatentVideo` is still left in the steps, and this lesson's template has no such node at all). **Go with the `wan2.2_i2v_*_14B_fp8_scaled.safetensors` actually loaded by the template JSON**; the Model Links sticky note in the template also gives direct links to the fp8_scaled files.
:::

```text
📂 ComfyUI/
└── 📂 models/
    ├── 📂 diffusion_models/
    │   ├─── wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors
    │   └─── wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors
    ├── 📂 text_encoders/
    │   └─── umt5_xxl_fp8_e4m3fn_scaled.safetensors
    └── 📂 vae/
        └─── wan_2.1_vae.safetensors
```

Download links (the Model Links sticky note in the template also includes these two sets):

- Hugging Face: [Comfy-Org/Wan_2.2_ComfyUI_Repackaged](https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged) (two i2v diffusion models + VAE), [Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged) (text encoder); the files are in the corresponding subdirectories under the repository's `split_files/`
- Direct download in mainland China: ModelScope has same-named mirrors [Comfy-Org/Wan_2.2_ComfyUI_Repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.2_ComfyUI_Repackaged), [Comfy-Org/Wan_2.1_ComfyUI_repackaged](https://modelscope.cn/models/Comfy-Org/Wan_2.1_ComfyUI_repackaged)

(Optional) If you want to enable Turbo mode, also download the two acceleration LoRAs and put them into `models/loras/`:

| File | size |
|---|---|
| `wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors` | 1.14 GB |
| `wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors` | 1.14 GB |

Note: these two are **i2v versions (v1)**, with filenames different from the v1.1 versions used for t2v in the previous lesson—they cannot be mixed.

You should see: the corresponding files are selectable in all four dropdowns on the subgraph node: high_noise_model / low_noise_model / clip_name / vae_name.

- [ ] Models in place, all four dropdowns can select them

::: tip 💡 Users in mainland China should use ModelScope first
Both repositories have official mirrors on ModelScope with fast direct-connection speeds; the filenames are identical to HF, so just place them according to the table above.
:::

### Step 3: Upload a photo, write a motion prompt, and get Wan2.2 image-to-video working (a clip in 20 steps) {#第-3-步-上传照片-写运动提示词-跑通-wan2-2-图生视频-20-步出片}

Why: first validate the entire pipeline using the template's default parameters. The default is standard mode: **20 steps, cfg 3.5, euler + simple**, with the high-noise expert running the first 10 steps and the low-noise expert running the last 10 steps—these defaults are the balance point officially tuned, so don't rush to change them before the pipeline works.

1. Upload your photo in the **Load Image** node (for the first run, it's recommended to use the template's built-in sample image to get it working, then switch to your own image)
2. In the subgraph node's positive prompt (text), write "motion + camera". Template example:

```text
The white dragon warrior stands still, eyes full of determination and
strength. The camera slowly moves closer or circles around the warrior,
highlighting the powerful presence and heroic spirit of the character.
```

How to write it, broken down: one sentence describing the subject's state (standing firm, determined gaze) → camera movement (slow push-in or orbit) → atmosphere (presence and heroic spirit). The appearance, clothing, and background already in the photo **don't need to be written again**—that's the photo's job.

3. The negative prompt keeps the template's built-in Chinese paragraph as-is:

```text
Vivid colors, overexposed, static, details blurred and unclear, subtitles, style, works, paintings, frame, stillness,
overall grayish, worst quality, low quality, JPEG compression artifacts, ugly, incomplete, extra fingers,
poorly drawn hands, poorly drawn faces, deformed, disfigured, limbs with deformed shapes, fused fingers,
motionless frames, cluttered background, three legs, many people in the background, walking backwards
```

4. Confirm that `enable_turbo_mode` is off (off by default)
5. Run with `Ctrl+Enter`

You should see: the progress bar completes 20 steps, and the video starts moving from **your photo**; SaveVideo stores it in the `video/` subdirectory of the output directory, with the filename starting with `Wan2.2_i2v` (format auto), 640×640, 81 frames, 16fps, about 5 seconds long. The template's measured-results sticky note (RTX 4090D, 640×640): in standard mode the first clip takes about 536 seconds and the second about 513 seconds—enough time to go pour yourself a glass of water.

- [ ] A video starting from your photo appears in the output directory

### Step 4: Enable Turbo mode for 4-step quick camera tests {#第-4-步-开-turbo-模式-4-步快速试镜头}

Why: 20 steps means waiting eight or nine minutes—camera experiments like "push-in or orbit" can't wait that long. The template has a built-in automatic switch for the i2v lightx2v 4-step LoRA—one toggle simultaneously switches the model paths, step count, and cfg.

1. Confirm that the two i2v 4steps LoRAs are downloaded and in place (the optional items in Step 2)
2. Turn on `enable_turbo_mode` on the subgraph node
3. Run

You should see: this time it only runs 4 steps—the high-noise expert 0→2, the low-noise expert 2→4, and cfg drops to 1; per the template's measured-results sticky note: the first clip takes about 97 seconds and the second about 71 seconds.

- [ ] Turbo mode works, and clip generation time is noticeably shorter

What happens behind the toggle:

| Parameter | Standard mode | Turbo mode |
|---|---|---|
| Total steps | 20 | 4 |
| High-noise/low-noise split | Step 10 | Step 2 |
| cfg | 3.5 | 1 |
| Lightning LoRA | not attached | i2v attach one each for high noise and low noise (strength 1.0) |
| Suited for | final production runs | quickly testing prompts and camera moves |

::: warning ⚠️ Turbo is picky about camera shots; use standard mode for the final video
4 steps is an acceleration scheme that trades steps for speed. Recommended workflow: keep Turbo on to batch-test motion and camera moves, then after making your selection turn the switch off and re-run the final version in standard mode with 20 steps.
:::

### Step 5: Change resolution and duration (the photo will be cropped to fit) {#第-5-步-改分辨率和时长-照片会被裁切适配}

Why: the template defaults of 640×640 and 5 seconds are not set in stone; but width and height have duration rules, and image-to-video adds one more—your photo will be adapted to the target size.

Three parameters on the subgraph node:

| Parameter | Template default | Rule | Notes |
|---|---|---|---|
| width | 640 | 16 multiple | node step size 16 |
| height | 640 | 16 multiple | same as above |
| duration | 5 | unit: seconds | frames are converted internally: length = duration × fps + 1 |

1. To run 480P: set width to 832 and height to 480 (the factory default of the `WanImageToVideo` node is exactly this pair)
2. To run 720P: set width to 1280 and height to 720 (the official model card's command-line example uses exactly this pair of dimensions)
3. To change duration: just change duration (seconds). 5 seconds × 16fps + 1 = 81 frames; changing it to 3 seconds gives 49 frames
4. The frame rate is in the CreateVideo node inside the subgraph (the template sets it to 16); you usually don't need to touch it—changing duration is enough to adjust the length

**One rule specific to image-to-video**: `WanImageToVideo` will **center-crop and bilinearly scale** your photo to width×height (behavior from the node source code). A vertical photo with a horizontal ratio will be cropped top and bottom—to keep the subject from being cropped, keep the aspect ratio as close to the photo's own as possible.

You should see: after changing the parameters and running again, the output video's resolution and duration change accordingly, and the photo's subject remains centered in the frame.

- [ ] can change width / height / duration, and knows the photo will be center-cropped to fit

::: details Why is the frame count still 4n+1?
`WanImageToVideo`'s length step size is 4: the latent is compressed 4× along the time dimension, so length frames get compressed into ((length−1)÷4)+1 time slices, which is why length can only take values of the form 4n+1, such as 1, 5, 9…, 81. duration × fps + 1 (5×16+1=81) lands exactly on this sequence.
:::

## Checkpoint ✅ {#检查点-✅}

- [ ] Standard mode runs successfully: 20 steps, 640×640, 81 frames, about 5 seconds, and the video starts moving from your photo
- [ ] Can name which files are shared with the previous lesson (umt5 text encoder, wan_2.1 VAE) and which must be downloaded separately (the two i2v diffusion files)
- [ ] Turbo mode runs successfully: video output in 4 steps, first run about 97 seconds on a 24GB card
- [ ] Prompts written as "motion + camera", without repeating the static content in the photo
- [ ] Knows that width and height must be multiples of 16, length takes the form 4n+1, and the photo will be center-cropped to fit

## Pitfall reminders {#踩坑提醒}

### ❌ Making do with the previous lesson's t2v weights {#❌-拿上一课的-t2v-权重凑合}

The two 13.31GB diffusion files were just downloaded in the previous lesson, with nearly identical filenames, so it's easy to pick the wrong one by accident.

Reason: t2v and i2v are two sets of dual-expert weights released separately by the official team; the middle segment of the filenames differs by a single character, `t2v` / `i2v`, and they are not interchangeable; this lesson's template loads the i2v set.

Correct approach: look for `wan2.2_i2v_*_14B_fp8_scaled.safetensors`, and don't select `wan2.2_t2v_*` into the subgraph's dropdown list.

### ❌ Getting misled by the official documentation's filenames {#❌-被官方文档的文件名带偏}

The official tutorial's I2V section: the download card says `fp16`, while the step text gives `t2v`'s fp8 filename—two different statements on the same page.

Reason: the official documentation has a copy-paste error in this section—the entire step block was copied from the T2V section (`EmptyHunyuanLatentVideo` was brought over too, though this lesson's template has no such node); the download card's fp16 also doesn't match the weights the template actually loads.

Correct approach: go by what the template JSON actually loads, `wan2.2_i2v_*_14B_fp8_scaled.safetensors` (the same direct link as the template's Model Links note). The sentence in the previous lesson's closing preview, "I2V is fp16", also comes from the documentation card; defer to this page's conclusion from checking the template JSON.

### ❌ Enabling Turbo but attaching the wrong LoRA version {#❌-开-turbo-却挂错-lora-版本}

After `enable_turbo_mode` is turned on, the LoRA dropdown lets you select the t2v version file downloaded in the previous lesson.

Reason: Turbo LoRAs are paired by task—t2v uses the v1.1 version, i2v uses the v1 version, and the files are not interchangeable.

Correct approach: first download `wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors` and `..._v1_low_noise.safetensors` (each 1.14 GB) and put them in place, then turn on the switch.

### ❌ Writing the prompt as a description of the photo {#❌-提示词把照片复述一遍}

Writing the person's appearance, clothing, and background from the photo into the positive prompt—that's a T2V habit, and here it becomes redundant work.

Reason: in I2V, composition, characters, and colors are already anchored by the photo; the prompt's job is to tell the model **what moves and how**; no amount of static description helps with motion.

Correct approach: write at the density of the template's example—one sentence of subject state + camera movement + atmosphere, and leave the static appearance to the photo.

## Advanced tips (optional) {#进阶技巧-可选}

### Not enough VRAM: GGUF quantized versions {#显存不够-gguf-量化版}

The community has GGUF quantized versions of I2V-A14B ([bullerwins/Wan2.2-I2V-A14B-GGUF](https://huggingface.co/bullerwins/Wan2.2-I2V-A14B-GGUF), and [QuantStack's Wan2.2 GGUF collection](https://huggingface.co/collections/QuantStack/wan22-ggufs-6887ec891bdea453a35b95f3)), loaded with the [city96/ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) custom nodes — the mainstream way to run the 14B on low VRAM; see [GGUF quantized models](/comfyui/4-advanced/04-gguf-quantized) for details.

### Using T2V and I2V together {#t2v-和-i2v-串着用}

The T2V from the previous lesson explores composition from scratch: T2V batch-tests prompts, picks a satisfying frame to screenshot, and feeds it into this lesson's I2V to animate it according to the shot you designed — the two sets of weights each do their own job.

### Official prompt guide {#官方提示词指南}

Alibaba officially maintains a [Wan2.2 prompt guide](https://alidocs.dingtalk.com/i/nodes/EpGBa2Lm8aZxe5myC99MelA2WgN7R35y) (a DingTalk document) that supports both Chinese and English prompts — the negative prompt bundled with this lesson's template is in Chinese to begin with. Additionally, the official model card notes: I2V-A14B supports generating video from the input image alone (the official script uses prompt expansion to reverse-derive a prompt from the image) — if you really don't know what motion to write, keep the prompt short and let the photo speak for itself.

### Want to animate product images into hero-image videos? {#想让商品图动起来做主图视频}

This lesson's I2V is the foundation for the [product video](/comfyui/3-ecommerce/05-product-video) lesson — that page applies image-to-video to e-commerce product images to produce hero-image videos.

## Lesson summary {#本课小结}

✅ This lesson got the **Wan2.2 image-to-video** (I2V) 14B dual-expert workflow running:

- ✅ Standard mode: i2v dual-expert weights + official template, 20 steps, cfg 3.5, euler + simple, 640×640 about 5 seconds, video starts moving from your photo
- ✅ The model accounting is settled: download the two i2v diffusion models separately; the umt5 text encoder and wan_2.1 VAE are shared with the previous lesson
- ✅ Turbo mode: `enable_turbo_mode` is a single switch, i2v version 4-step LoRA + cfg 1, a big speedup for testing shots
- ✅ Prompts are written differently: describe motion and camera work, leave composition and appearance to the photo
- ✅ Parameter rules: width and height are multiples of 16, length takes 4n+1, the photo is center-cropped to fit

Key configuration fields recap:

| Field | Recommended value | Description |
|---|---|---|
| high_noise_model | `wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors` | High-noise expert, handles the first half of denoising |
| low_noise_model | `wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors` | Low-noise expert, handles the second half of denoising |
| clip_name | `umt5_xxl_fp8_e4m3fn_scaled.safetensors` |**select `wan` for type**, reused from the previous lesson |
| vae_name | `wan_2.1_vae.safetensors` | Reused from the previous lesson, don't use the 5B one |
| Sampling (standard mode) | 20 steps / cfg 3.5 / `euler` + `simple` / boundary at step 10 | Template default |
| Sampling (Turbo) | 4 steps / cfg 1 / boundary at step 2 + i2v 4steps LoRA ×2 | `enable_turbo_mode` enabled |
| ModelSamplingSD3 | shift 5 (one each for high-noise and low-noise) | Template default |
| width / height | 640×640 (multiples of 16) | 480P tier uses 832×480, 720P uses 1280×720; the photo is center-cropped to fit |
| duration | 5 seconds (length = duration×fps+1 = 81 frames) | fps 16 CreateVideo inside the subgraph |
| SaveVideo | prefix `video/Wan2.2_i2v`, format auto | Output goes to the `video/` subdirectory |

## Next lesson preview {#下一课预告}

A photo can only fix the beginning; the next lesson pins down the ending too — [Wan2.2 first-and-last-frame to video: controlling the start and the end](/comfyui/2-models/13-wan2-2-14b-flf2v). You will learn:

- Pass one image each for the first and last frames, and the video plays from A to B: shots like transitions, transformations, and before-and-after comparisons
-  How the `WanFirstLastFrameToVideo` node controls dimensions (the official default reduces the size to prevent low-VRAM blowups)
- Good news: the weights are exactly the same as this lesson's, no need to download another 13GB×2

## Appendix: source code reference {#附录-源码参考}

::: details Click to expand and view source code locations

Updated: 2026-11-05 (template library template `video_wan2_2_14B_i2v`, officially marked minimum ComfyUI version 0.16.4)

| Content | Location |
|---|---|
| Official tutorial (Wan2.2, including the 14B I2V section) | https://docs.comfy.org/tutorials/video/wan/wan2_2 |
| Workflow template JSON | https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_wan2_2_14B_i2v.json |
| Weights repository (Hugging Face) | https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged |
| Weights repository (ModelScope mirror) | https://modelscope.cn/models/Comfy-Org/Wan_2.2_ComfyUI_Repackaged |
| Wan-AI model card (I2V-A14B) | https://huggingface.co/Wan-AI/Wan2.2-I2V-A14B |
| `WanImageToVideo` node source code | comfy_extras/nodes_wan.py (L18–L67) |

The parameters on this page (standard mode 20 steps / cfg 3.5 / boundary at step 10, Turbo 4 steps / cfg 1 / boundary at step 2, shift 5, 640×640 / 81 frames / fps 16, the four-file set and the i2v v1 LoRA filenames and sizes, measured timings 536s / 513s / 97s / 71s, SaveVideo prefix `video/Wan2.2_i2v`) were all verified against the actual node values in the template JSON `video_wan2_2_14B_i2v.json`; the download card (fp16) and step text (t2v filename, `EmptyHunyuanLatentVideo`) in section I2V of the official documentation do not match the template, and this page follows the JSON; the center-crop scaling behavior of `WanImageToVideo` was verified against comfy_extras/nodes_wan.py L47 (default 832×480, length step 4 see L28-30); the MoE dual-expert 27B/14B, 480P/720P support, the 80GB script figure, and the "reduce unrealistic camera movement" positioning come from the Wan-AI I2V-A14B model card.

:::
