Skip to content
FramesField
ASSET 04 Developer / Local Tooling ComfyUI JSON
VERIFIED 2026-11-26
Raw .md

ComfyUI Wan 2.2 Dual-Expert I2V Graph

Where & How To Use This

Download the JSON payload below and dispatch it to your local ComfyUI API server (http://127.0.0.1:8188/prompt) after downloading the Wan 2.2 FP8 weights from Workflow 05.

Minimal headless-ready ComfyUI API graph specification for Alibaba Wan 2.2-A14B MoE image-to-video generation. Pre-wired for FP8 scaled checkpoints, UMT5-XXL encoding, two-stage high/low-noise KSamplerAdvanced handoff at step 10/20, and Tiled VAE Decode for 24GB GPUs.

Works With Glossary
ComfyUI Python API MCP
Target tool: ComfyUI · License: Apache-2.0

1. Quick Install Command

Terminal Command
curl -fsSL https://framesfield.com/skills/comfyui-character-turnaround.md -o wan22_i2v_guide.md

2. Copyable ComfyUI JSON File

COPY OR DOWNLOAD RAW FILE
ComfyUI Wan 2.2 Dual-Expert I2V Graph wan22-dual-expert-i2v.api.json
{
  "1": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
      "weight_dtype": "fp8_e4m3fn"
    }
  },
  "2": {
    "class_type": "UNETLoader",
    "inputs": {
      "unet_name": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
      "weight_dtype": "fp8_e4m3fn"
    }
  },
  "3": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
      "type": "wan"
    }
  },
  "4": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "wan_2.1_vae.safetensors"
    }
  },
  "5": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "anchor_keyframe_720p.png"
    }
  },
  "6": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "text": "Slow 35mm dolly-in, natural micro-expressions, crisp documentary daylight, zero jitter",
      "clip": ["3", 0]
    }
  },
  "7": {
    "class_type": "CLIPTextEncode",
    "inputs": {
      "text": "warped anatomy, morphing text, oversaturated glow, static frozen frame, compression artifacts",
      "clip": ["3", 0]
    }
  },
  "8": {
    "class_type": "WanImageToVideo",
    "inputs": {
      "positive": ["6", 0],
      "negative": ["7", 0],
      "vae": ["4", 0],
      "start_image": ["5", 0],
      "width": 1280,
      "height": 720,
      "length": 81,
      "batch_size": 1
    }
  },
  "9": {
    "class_type": "KSamplerAdvanced",
    "inputs": {
      "model": ["1", 0],
      "positive": ["8", 0],
      "negative": ["8", 1],
      "latent_image": ["8", 2],
      "add_noise": "enable",
      "noise_seed": 420819,
      "steps": 20,
      "cfg": 3.5,
      "sampler_name": "euler",
      "scheduler": "simple",
      "start_at_step": 0,
      "end_at_step": 10,
      "return_with_leftover_noise": "enable"
    }
  },
  "10": {
    "class_type": "KSamplerAdvanced",
    "inputs": {
      "model": ["2", 0],
      "positive": ["8", 0],
      "negative": ["8", 1],
      "latent_image": ["9", 0],
      "add_noise": "disable",
      "noise_seed": 420819,
      "steps": 20,
      "cfg": 3.5,
      "sampler_name": "euler",
      "scheduler": "simple",
      "start_at_step": 10,
      "end_at_step": 20,
      "return_with_leftover_noise": "disable"
    }
  },
  "11": {
    "class_type": "VAEDecodeTiled",
    "inputs": {
      "samples": ["10", 0],
      "vae": ["4", 0],
      "tile_size": 256,
      "overlap": 64,
      "temporal_size": 64,
      "temporal_overlap": 8
    }
  }
}

3. Example Input & Expected Output

Sample Prompt / Input
POST http://127.0.0.1:8188/prompt with node 5 ("image") pointing to your 1280x720 anchor PNG and node 6 ("text") populated from your shot sheet.
Expected Output
ComfyUI queues the dual-expert latent pass and emits 81 decoded 1280x720 frames ready for CreateVideo / VHS_VideoCombine encoding at 16 fps.

What You Need & Known Limits

Requirements

  • ComfyUI updated to latest release with native WanImageToVideo and VAEDecodeTiled nodes
  • 24GB GPU VRAM (FP8 scaled weights) + 32GB system RAM for expert model offloading
  • Official repackaged Wan 2.2 High/Low 14B FP8 checkpoints + UMT5-XXL FP8 + Wan VAE

Watch Out For

  • API-format JSON omits UI canvas positions; import via ComfyUI API endpoint (`/prompt`) or wire SaveVideo/CreateVideo node #12
  • Frame length must satisfy `(4 * n) + 1` (e.g., 49, 65, 81) to match the 3D causal VAE temporal stride

Deploying this graph in headless agent batches

Because this payload uses ComfyUI’s clean API prompt schema, any coding agent or Python batch runner can iterate over a JSON shot list, patch ["5"]["inputs"]["image"], ["6"]["inputs"]["text"], and ["9"]["inputs"]["noise_seed"], and dispatch unattended overnight renders against http://127.0.0.1:8188/prompt.

Frequently Asked Questions

01 Q&A
Q01 Why must Wan 2.2 frame length equal 81 instead of 80?
Wan's 3D temporal VAE compresses video frames by 4x plus the initial anchor frame, requiring exact `(4 * n) + 1` counts (49, 65, 81, 97) to avoid silent frame truncation.