Downloads · 30 days
0
wangkanai/wan21-lightx2v-i2v-14b-480p
wan21-lightx2v-i2v-14b-480p is a image-to-video model from wangkanai. Use it for the image-to-video task on the model card, and read the license before you ship it in a product. It is set up for diffusers. The card lists the license as other.
Complete collection of LoRA (Low-Rank Adaptation) adapters for the LightX2V 14B image-to-video generation model at 480p resolution. This repository contains all 7 rank variants (4, 8, 16, 32, 64, 128, 256) enabling fl…
Downloads · 30 days
0
Access
Public
Updated Oct 28, 2025
Repo size
5.8 GB
Likes
8
Public
Click a slice to open those files.
.safetensors5.8 GB · 100%
From the Hugging Face model README
Complete collection of LoRA (Low-Rank Adaptation) adapters for the LightX2V 14B image-to-video generation model at 480p resolution. This repository contains all 7 rank variants (4, 8, 16, 32, 64, 128, 256) enabling flexible quality/performance trade-offs through CFG (Classifier-Free Guidance) step distillation.
wan21-lightx2v-i2v-14b-480p/
└── loras/
└── wan/
├── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank4-bf16.safetensors (52MB)
├── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank8-bf16.safetensors (96MB)
├── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank16-bf16.safetensors (183MB)
├── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank32-bf16.safetensors (357MB)
├── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank64-bf16.safetensors (704MB)
├── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank128-bf16.safetensors (1.4GB)
└── wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank256-bf16.safetensors (2.8GB)
Choose the appropriate rank based on your hardware and quality requirements:
| Rank | File Size | Quality | Speed | VRAM Usage | Use Case |
|---|---|---|---|---|---|
| 4 | 52MB | Basic | Fastest | Minimal | Rapid prototyping, severe memory constraints |
| 8 | 96MB | Good | Very Fast | Low | Quick testing, low-resource systems |
| 16 | 183MB | Better | Fast | Low | Balanced performance/quality |
| 32 | 357MB | High | Moderate | Medium | General production use (recommended) |
| 64 | 704MB | Very High | Slower | Higher | Quality-focused applications |
| 128 | 1.4GB | Excellent | Slow | High | Maximum quality, ample resources |
| 256 | 2.8GB | Maximum | Slowest | Very High | Research, highest fidelity needs |
Recommendation: Start with rank-32 for the best quality/performance balance. Scale up to 64/128/256 if quality is paramount, or down to 16/8/4 for faster iteration or limited resources.
from diffusers import DiffusionPipeline
from PIL import Image
import torch
# Load base I2V model
pipe = DiffusionPipeline.from_pretrained(
"lightx2v/lightx2v-i2v-14b",
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Load I2V LoRA adapter (rank-32 recommended)
pipe.load_lora_weights(
"E:/huggingface/wan21-lightx2v-i2v-14b-480p/loras/wan/wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank32-bf16.safetensors"
)
# Load input image
input_image = Image.open("your_image.jpg").resize((854, 480)) # 480p resolution
# Generate video from image
prompt = "Camera slowly zooms in, gentle wind movement, cinematic 480p quality"
video = pipe(
prompt=prompt,
image=input_image,
num_inference_steps=20, # Reduced steps thanks to distillation
guidance_scale=7.5,
num_frames=24,
height=480,
width=854
).frames
# Save video
from diffusers.utils import export_to_video
export_to_video(video, "output_i2v_480p.mp4", fps=8)
import os
# Define base path
LORA_PATH = "E:/huggingface/wan21-lightx2v-i2v-14b-480p/loras/wan"
# Select rank based on your needs
rank = 32 # Options: 4, 8, 16, 32, 64, 128, 256
lora_file = f"{LORA_PATH}/wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank{rank}-bf16.safetensors"
pipe.load_lora_weights(lora_file)
# Test multiple ranks to find optimal balance
ranks_to_test = [16, 32, 64, 128]
for rank in ranks_to_test:
lora_file = f"{LORA_PATH}/wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank{rank}-bf16.safetensors"
pipe.load_lora_weights(lora_file)
# Generate and compare
video = pipe(prompt, image=input_image, num_inference_steps=20, num_frames=24).frames
export_to_video(video, f"output_rank{rank}.mp4", fps=8)
Download LoRA file:
wan21-lightx2v-i2v-14b-480p-cfg-step-distill-rank32-bf16.safetensorsInstallation:
ComfyUI/models/loras/wan/
└── wan21-lightx2v-i2v-480p-rank32-bf16.safetensors
Workflow Setup:
Parameters:
These LoRAs utilize Classifier-Free Guidance (CFG) step distillation, which:
Benefits:
All adapters use Brain Floating Point 16 (BF16) format:
LoRA rank determines the adapter's capacity:
# Install dependencies
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
pip install diffusers transformers accelerate safetensors
| Rank | Steps | Time (seconds) | Quality | VRAM Usage |
|---|---|---|---|---|
| 4 | 20 | ~16s | Basic | ~12GB |
| 8 | 20 | ~17s | Good | ~12GB |
| 16 | 20 | ~18s | Better | ~13GB |
| 32 | 20 | ~20s | High | ~14GB |
| 64 | 20 | ~23s | Very High | ~15GB |
| 128 | 20 | ~27s | Excellent | ~17GB |
| 256 | 20 | ~34s | Maximum | ~20GB |
Note: 480p generation is faster than 720p. Actual performance varies based on prompt complexity, GPU model, and system configuration.
Example prompts for 480p:
"Gentle wind blowing through hair and clothing, camera slowly zooming in, cinematic 480p quality"
"Clouds moving across the sky, leaves rustling in the breeze, camera static, smooth motion"
"Water rippling and reflecting light, camera panning slowly across the scene, professional cinematography, 480p quality"
"Person walking forward, camera tracking movement, natural motion, 480p HD quality"
"Fire crackling and flames dancing, camera slowly circling, cinematic quality, 480p resolution"
# Solution 1: Use lower rank
pipe.load_lora_weights("...rank16_bf16.safetensors")
# Solution 2: Enable CPU offloading
pipe.enable_model_cpu_offload()
# Solution 3: Reduce batch size/frames
video = pipe(prompt, num_frames=16) # Instead of 24
torch.compile() on PyTorch 2.0+| Property | Value |
|---|---|
| Model Type | LoRA Adapters for Video Diffusion |
| Architecture | Low-Rank Adaptation (LoRA) |
| Training Method | CFG Step Distillation |
| Precision | BF16 |
| Resolution | 480p (854x480) |
| Rank Variants | 4, 8, 16, 32, 64, 128, 256 (complete set) |
| Parameter Count | Varies by rank (4M-256M parameters) |
| License | See base model license |
| Intended Use | Image-to-video generation at 480p |
| Languages | Prompt: English (primary) |
These LoRA adapters are compatible with the LightX2V base model license. Please verify license compliance with:
Usage Restrictions: Follow the base model's terms for commercial/non-commercial use.
For questions or issues specific to these adapters, please open an issue in this repository. For base model questions, refer to the official LightX2V documentation.
This repository contains the complete collection of 7 I2V LoRA adapters optimized for 480p image-to-video generation:
Complete Collection: This repository includes all rank variants from minimal (rank-4, 52MB) to maximum quality (rank-256, 2.8GB), providing complete flexibility for different use cases and hardware configurations.
Note: This repository contains I2V (image-to-video) LoRAs at 480p resolution. For T2V (text-to-video) LoRAs, see the wan21-lightx2v-t2v-14b-720p repository. For higher resolution I2V, see wan21-lightx2v-i2v-14b-720p.
Last Updated: October 2025 Repository Version: 1.4 Total Size: ~5.5GB (7 adapters: ranks 4, 8, 16, 32, 64, 128, 256) Primary Use Case: Image-to-video generation at 480p resolution with flexible quality/performance options