---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://framesfield.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "ComfyUI Wan 2.2 I2V 121-Frame Apache 2.0 Graph"
description: "Stock ComfyUI API JSON graph for Alibaba Wan 2.2 Image-to-Video (Apache 2.0 commercial open weights): animates any 1280x704 (/32-aligned) opening PNG into a 121-frame (4n+1, 5.04s @ 24fps) offline MP4 using native WanImageToVideo, CreateVideo, and SaveVideo nodes with zero cloud API fees and zero NDA data exposure."
canonical: "https://framesfield.com/skills/comfyui-wan-2-2-i2v-apache-graph"
---

# ComfyUI Wan 2.2 I2V 121-Frame Apache 2.0 Graph

> Stock ComfyUI API JSON graph for Alibaba Wan 2.2 Image-to-Video (Apache 2.0 commercial open weights): animates any 1280x704 (/32-aligned) opening PNG into a 121-frame (4n+1, 5.04s @ 24fps) offline MP4 using native WanImageToVideo, CreateVideo, and SaveVideo nodes with zero cloud API fees and zero NDA data exposure.

- **Canonical URL:** https://framesfield.com/skills/comfyui-wan-2-2-i2v-apache-graph
- **Raw Payload URL:** https://framesfield.com/raw/skills/comfyui-wan-2-2-i2v-apache-graph
- **Asset Type:** ComfyUI JSON
- **Compatible Hosts:** ComfyUI, Claude Code, Python API
- **Target Creative Tool:** ComfyUI / Alibaba Wan 2.2 I2V (Apache 2.0)
- **License:** MIT
- **Last Verified:** 2026-11-29
- **Source Reference:** https://huggingface.co/Wan-AI

## Setup & Install

```bash
curl -fsSL https://framesfield.com/raw/skills/comfyui-wan-2-2-i2v-apache-graph -o wan22-i2v-121f-apache.api.json

```

## Copyable Asset (wan22-i2v-121f-apache.api.json)

```json
{
  "1": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "wan2.2_i2v_14B_fp8_scaled.safetensors",
      "weight_dtype": "fp8_e4m3fn"
    }
  },
  "2": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
      "type": "wan"
    }
  },
  "3": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "wan_2.1_vae.safetensors"
    }
  },
  "4": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": ["2", 0],
      "text": "Slow locked-rail 50mm dolly push-in along center axis. Warm espresso steam drifts steadily upward behind a matte stoneware carafe resting on pale travertine. Soft 5600K daylight, rigid stationary label and tabletop, natural film motion."
    }
  },
  "5": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "clip": ["2", 0],
      "text": "morphing text, warped bottle proportions, flickering exposure, oversaturated plastic glow, jittery camera shake, frozen static image"
    }
  },
  "6": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "hero_keyframe_1280x704.png"
    }
  },
  "7": {
    "class_type": "WanImageToVideo",
    "inputs": {
      "positive": ["4", 0],
      "negative": ["5", 0],
      "vae": ["3", 0],
      "start_image": ["6", 0],
      "width": 1280,
      "height": 704,
      "length": 121,
      "batch_size": 1
    }
  },
  "8": {
    "class_type": "ModelSamplingSD3",
    "inputs": {
      "model": ["1", 0],
      "shift": 5.0
    }
  },
  "9": {
    "class_type": "KSampler",
    "inputs": {
      "model": ["8", 0],
      "positive": ["7", 0],
      "negative": ["7", 1],
      "latent_image": ["7", 2],
      "seed": 491028,
      "steps": 20,
      "cfg": 3.5,
      "sampler_name": "uni_pc",
      "scheduler": "simple",
      "denoise": 1.0
    }
  },
  "10": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": ["9", 0],
      "vae": ["3", 0]
    }
  },
  "11": {
    "class_type": "CreateVideo",
    "inputs": {
      "images": ["10", 0],
      "fps": 24
    }
  },
  "12": {
    "class_type": "SaveVideo",
    "inputs": {
      "video": ["11", 0],
      "filename_prefix": "video/wan22_i2v_apache",
      "format": "auto",
      "codec": "auto"
    }
  }
}
```

## Example Input

```text
Drop a 1280x704 lossless PNG keyframe into ComfyUI/input/hero_keyframe_1280x704.png, update Node 4 motion prompt, and run Option A via curl + Python.
```

## Expected Output

```text
Executes 20-step uni_pc sampling across 121 frames (5.04s @ 24fps) completely offline under Apache 2.0 weights and writes ComfyUI/output/video/wan22_i2v_apache_00001_.mp4.
```

## Requirements

- ComfyUI current release with native `WanImageToVideo`, `ModelSamplingSD3`, `CreateVideo`, and `SaveVideo` nodes
- 16GB–24GB NVIDIA GPU (enable `--lowvram` or GGUF Q4/Q6 loader on 12GB–16GB cards; see VRAM Calculator)
- Apache 2.0 Alibaba Wan 2.2 I2V checkpoint + UMT5-XXL FP8 text encoder + Wan VAE

## Known Limits

- Keep `length` strictly `4n+1` (e.g., `81` = 3.4s, `121` = 5.04s) and `width`/`height` divisible by `32` (`1280x704` or `832x480`) to avoid VAE tensor crashes
- Outputs silent video—layer ElevenLabs TTS/SFX or Suno v6 stems in post and finish with FFmpeg `yuv420p` + `-14 LUFS`

## Implementation Notes

## Why every NDA studio keeps an offline Apache 2.0 Wan 2.2 I2V graph ready

**When an enterprise client forbids uploading unreleased hardware prototypes to cloud video APIs—or when you need 40 B-roll motion tests overnight for `$0` marginal API cost—local Alibaba Wan 2.2 inside ComfyUI is the clean commercial baseline.** This stock-node graph eliminates custom-node breakage, aligns strictly to `1280×704` (`/32`) and `121` frames (`4n+1`), and terminates cleanly in `CreateVideo` + `SaveVideo` so headless batch scripts never fail with `"Prompt has no outputs"`.

Check GPU memory fit before downloading weights with our [Local VRAM & Quantization Calculator](/tools/vram-calculator), and troubleshoot `16GB` offloading or tensor errors using our [ComfyUI 16GB OOM Fix](/fixes/comfyui-cuda-out-of-memory-16gb-gpu) and [Wan/LTX Frame-Count Fix](/fixes/comfyui-wan-ltx-frame-count-tensor-mismatch).
