Downloads · 30 days
0
wangkanai/wan22-fp8-i2v-loras
wan22-fp8-i2v-loras is a text-to-video model from wangkanai. Use it when you need video from a text prompt. It is set up for diffusers. The card lists the license as other.
A curated collection of specialized LoRA adapters for the WAN (Wangfuyun Animate) video generation model, focusing on camera control, lighting effects, and action animation for image-to-video (I2V) generation.
Downloads · 30 days
0
Access
Public
Updated Oct 28, 2025
Repo size
1.7 GB
Likes
2
Public
Click a slice to open those files.
.safetensors1.7 GB · 100%
From the Hugging Face model README
A curated collection of specialized LoRA adapters for the WAN (Wangfuyun Animate) video generation model, focusing on camera control, lighting effects, and action animation for image-to-video (I2V) generation.
This repository contains 6 specialized LoRA adapters designed to enhance WAN video generation capabilities for image-to-video workflows:
These LoRAs are optimized for FP8 precision models and provide fine-grained control over video generation parameters while maintaining high quality and performance.
wan22-fp8-i2v-loras/
└── loras/
└── wan/
├── wan22-action-wink-i2v-v1-low.safetensors (147 MB)
├── wan22-camera-arcshot-rank16-i2v-a14b-high.safetensors (293 MB)
├── wan22-camera-drone-rank16-i2v-a14b.safetensors (293 MB)
├── wan22-camera-earthzoomout.safetensors (293 MB)
├── wan22-camera-rotation-rank16-i2v-a14b.safetensors (293 MB)
└── wan22-light-cinematicflare-i2v-low.safetensors (293 MB)
Total Repository Size: 1.6 GB
Camera Control LoRAs:
wan22-camera-arcshot-rank16-i2v-a14b-high: High-quality arc shot movements with curved camera paths (rank-16, optimized for 14B models)wan22-camera-drone-rank16-i2v-a14b: Aerial drone-style perspective shots with smooth movement (rank-16)wan22-camera-earthzoomout: Dramatic earth zoom-out effect for cinematic establishing shotswan22-camera-rotation-rank16-i2v-a14b: Circular rotation around subject with stable framing (rank-16)Lighting LoRAs:
wan22-light-cinematicflare-i2v-low: Cinematic lens flare effects for I2V (low-noise variant, optimized for subtle lighting enhancement)Action LoRAs:
wan22-action-wink-i2v-v1-low: Wink facial animation for I2V with low-noise optimization (147 MB, half-size for efficient loading)Note: Each LoRA adds approximately 150-300 MB to VRAM usage. FP8 base models typically require 6-10 GB VRAM.
from diffusers import DiffusionPipeline
import torch
from PIL import Image
# Load base WAN model with FP8 precision
pipe = DiffusionPipeline.from_pretrained(
"wangfuyun/AnimateLCM-SVD-xt",
torch_dtype=torch.float8_e4m3fn,
variant="fp8"
)
pipe.to("cuda")
# Load camera arc shot LoRA
pipe.load_lora_weights(
r"E:\huggingface\wan22-fp8-i2v-loras\loras\wan",
weight_name="wan22-camera-arcshot-rank16-i2v-a14b-high.safetensors",
adapter_name="camera_arcshot"
)
# Set LoRA strength (0.0-1.0, recommended: 0.6-0.8)
pipe.set_adapters(["camera_arcshot"], adapter_weights=[0.75])
# Load source image
image = Image.open("portrait.jpg").resize((512, 512))
# Generate I2V video with arc shot camera movement
video = pipe(
prompt="Cinematic arc shot around person, dramatic lighting",
image=image,
num_frames=24,
guidance_scale=7.5,
num_inference_steps=25
).frames
# Save video
from diffusers.utils import export_to_video
export_to_video(video, "output_arcshot.mp4", fps=8)
# Load camera rotation LoRA
pipe.load_lora_weights(
r"E:\huggingface\wan22-fp8-i2v-loras\loras\wan",
weight_name="wan22-camera-rotation-rank16-i2v-a14b.safetensors",
adapter_name="camera_rotation"
)
# Load cinematic lens flare LoRA
pipe.load_lora_weights(
r"E:\huggingface\wan22-fp8-i2v-loras\loras\wan",
weight_name="wan22-light-cinematicflare-i2v-low.safetensors",
adapter_name="lens_flare"
)
# Set multiple adapters with individual weights
pipe.set_adapters(
["camera_rotation", "lens_flare"],
adapter_weights=[0.7, 0.5]
)
# Load scene image
image = Image.open("landscape.jpg")
# Generate video with rotation + lens flare
video = pipe(
prompt="Rotating camera view with golden hour lens flare, cinematic atmosphere",
image=image,
num_frames=32,
guidance_scale=8.0,
num_inference_steps=30
).frames
export_to_video(video, "cinematic_rotation.mp4", fps=12)
# Load wink action LoRA
pipe.load_lora_weights(
r"E:\huggingface\wan22-fp8-i2v-loras\loras\wan",
weight_name="wan22-action-wink-i2v-v1-low.safetensors",
adapter_name="wink_action"
)
pipe.set_adapters(["wink_action"], adapter_weights=[0.85])
# Load portrait image
image = Image.open("portrait_closeup.jpg")
# Generate wink animation
video = pipe(
prompt="Person winking naturally with subtle facial movement",
image=image,
num_frames=16,
guidance_scale=7.0,
num_inference_steps=20
).frames
export_to_video(video, "wink_animation.mp4", fps=8)
# Load earth zoom-out LoRA for dramatic establishing shot
pipe.load_lora_weights(
r"E:\huggingface\wan22-fp8-i2v-loras\loras\wan",
weight_name="wan22-camera-earthzoomout.safetensors",
adapter_name="earth_zoom"
)
# Or use drone camera LoRA for aerial perspective
pipe.load_lora_weights(
r"E:\huggingface\wan22-fp8-i2v-loras\loras\wan",
weight_name="wan22-camera-drone-rank16-i2v-a14b.safetensors",
adapter_name="drone_camera"
)
pipe.set_adapters(["drone_camera"], adapter_weights=[0.8])
# Load aerial or landscape image
image = Image.open("city_skyline.jpg")
# Generate dramatic aerial movement
video = pipe(
prompt="Smooth drone camera pullback revealing vast landscape, cinematic movement",
image=image,
num_frames=48,
guidance_scale=8.5,
num_inference_steps=30
).frames
export_to_video(video, "aerial_drone.mp4", fps=12)
# Enable memory-efficient attention
pipe.enable_attention_slicing()
pipe.enable_vae_slicing()
# Use FP16 for intermediate calculations (FP8 for weights)
pipe.unet.to(dtype=torch.float16)
pipe.vae.to(dtype=torch.float16)
# Enable xformers for faster attention (requires xformers package)
try:
pipe.enable_xformers_memory_efficient_attention()
except:
print("xformers not available, using default attention")
# Reduce VRAM usage for longer videos
pipe.enable_sequential_cpu_offload() # For <12GB VRAM systems
Issue: Camera movement too strong or jittery
Issue: Lighting effects too subtle or invisible
Issue: Action animation not visible or too exaggerated
Issue: Out of memory errors
This LoRA collection follows the WAN (Wangfuyun Animate) license terms. Please refer to the base model license at: https://huggingface.co/wangfuyun/AnimateLCM-SVD-xt
Usage Restrictions:
If you use these LoRAs in your research or projects, please cite:
@misc{wan22-i2v-lora-collection,
title={WAN LoRA Collection v2.2: Image-to-Video Camera Control and Enhancement},
author={Wangfuyun AnimateLCM Team},
year={2024},
howpublished={\url{https://huggingface.co/wangfuyun/AnimateLCM-SVD-xt}},
note={LoRA adapters for I2V camera control, lighting, and action animation}
}
Model Version: v2.2 README Version: v1.4 Last Updated: 2025-10-28 Repository Size: 1.6 GB LoRA Count: 6 specialized I2V adapters