Camera adapter v2 for Wan2.2-TI2V-5B
virtual camera control for video generation
2 min readupdated
This lightweight adapter adds precise virtual camera control to the frozen Wan-AI/Wan2.2-TI2V-5B-Diffusers base model. Feed it any static image and it outputs a 121-frame video at 1280x704 resolution and 24 fps, smoothly panning left or right, tilting up or down, or zooming in and out. A single strength parameter from 0 to 1 controls the intensity of the motion. It is ideal for turning still images into dynamic video clips on high-VRAM GPUs.
Key features
- Six movement directions: supports pan, tilt, and zoom with adjustable motion strength.
- Lightweight footprint: only 14.26M trainable parameters (57.1 MB in
float32). - Diffusers integration: runs on top of the frozen Wan2.2 base without altering its core weights.
- Padding mode: uses
replicatepadding to cleanly generate newly revealed areas as the camera moves.
What you can do
- Bring static landscape photos to life with smooth zooms or pans.
- Generate short clips with dynamic camera motion for presentations or concept art.
- Test this early checkpoint (step 415) using a Python script and the
diffuserslibrary.
Example
from pathlib import Path
from huggingface_hub import snapshot_download
import zipfile, sys
local = Path(snapshot_download("D3vil-Reap3r/ie643-wan22-camera-adapter-v2", local_dir="ie643_adapter_v2"))
zipfile.ZipFile(local / "code" / "fpcamera_src.zip").extractall("fpcamera_code")
sys.path.insert(0, str(Path("fpcamera_code") / "src"))
from fpcamera import flow_infer
record = flow_infer.generate(
".",
local / "adapter" / "adapter_000415.safetensors",
"my_photo.jpg",
"out/run1",
motion="zoom_in",
strength=0.6,
steps=50, seed=42
)
Read more
Details• Base model: Wan-AI/Wan2.2-TI2V-5B-Diffusers (revision b8fff7315c768468a5333511427288870b2e9635).
• Hardware requirements: CUDA GPU with around 43 GiB peak VRAM usage.
• Limitations: early checkpoint (step 415 of 1000), uncalibrated strength scale, fixed 1280x704 output resolution.
• Dependencies: torch 2.11.x, diffusers 0.36.0, transformers 4.57.6.










Comments