Downloads · 30 days
0
wangkanai/wan21-fp16-480p
wan21-fp16-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.
High-fidelity 480p image-to-video generation model in full FP16 precision (14 billion parameters). Part of the WAN (Wan An) 2.1 model family for transforming static images into dynamic videos.
Downloads · 30 days
0
Access
Public
Updated Oct 27, 2025
Repo size
32.8 GB
Likes
2
Public
Click a slice to open those files.
.safetensors32.8 GB · 100%
From the Hugging Face model README
High-fidelity 480p image-to-video generation model in full FP16 precision (14 billion parameters). Part of the WAN (Wan An) 2.1 model family for transforming static images into dynamic videos.
WAN 2.1 I2V 480p is a 14-billion parameter transformer-based diffusion model that generates videos from static images. This FP16 variant provides maximum numerical precision and generation quality for research and high-quality video synthesis applications. The 480p resolution offers a balanced approach between quality and computational requirements.
Key Capabilities:
wan21-fp16-480p/
└── diffusion_models/
└── wan/
└── wan21-i2v-480p-14b-fp16.safetensors (31.0 GB)
Total Repository Size: 31.0 GB
| File | Size | Description |
|---|---|---|
wan21-i2v-480p-14b-fp16.safetensors | 31.0 GB | WAN 2.1 I2V 480p diffusion model (14B parameters, FP16 precision) |
from diffusers import DiffusionPipeline
from PIL import Image
import torch
# Load the WAN 2.1 I2V 480p FP16 model
pipe = DiffusionPipeline.from_single_file(
"E:/huggingface/wan21-fp16-480p/diffusion_models/wan/wan21-i2v-480p-14b-fp16.safetensors",
torch_dtype=torch.float16,
use_safetensors=True
)
pipe.to("cuda")
# Load input image
input_image = Image.open("path/to/your/image.jpg")
# Generate video from image
video = pipe(
image=input_image,
prompt="smooth camera movement, cinematic lighting",
num_frames=24,
num_inference_steps=50,
guidance_scale=7.5
).frames[0]
# Export video
from diffusers.utils import export_to_video
export_to_video(video, "output_video.mp4", fps=8)
from diffusers import DiffusionPipeline
import torch
# Load model with memory optimizations
pipe = DiffusionPipeline.from_single_file(
"E:/huggingface/wan21-fp16-480p/diffusion_models/wan/wan21-i2v-480p-14b-fp16.safetensors",
torch_dtype=torch.float16,
use_safetensors=True
)
# Enable memory-efficient attention
pipe.enable_attention_slicing()
pipe.enable_vae_slicing()
# For even lower VRAM usage
pipe.enable_model_cpu_offload()
pipe.to("cuda")
# Generate video with optimizations
video = pipe(
image=input_image,
prompt="your prompt here",
num_frames=16, # Reduce frames for lower memory
num_inference_steps=30, # Fewer steps for faster generation
guidance_scale=7.5
).frames[0]
from diffusers import DiffusionPipeline
from PIL import Image
import torch
# Load base model
pipe = DiffusionPipeline.from_single_file(
"E:/huggingface/wan21-fp16-480p/diffusion_models/wan/wan21-i2v-480p-14b-fp16.safetensors",
torch_dtype=torch.float16,
use_safetensors=True
)
pipe.to("cuda")
# Load camera control LoRA (requires separate download)
# Example: rotation, arc shot, or drone camera movements
pipe.load_lora_weights(
"path/to/wan21-camera-rotation-rank16-v1.safetensors"
)
# Generate with camera control
video = pipe(
image=input_image,
prompt="rotating camera around the subject, cinematic",
num_frames=24,
num_inference_steps=50,
guidance_scale=7.5
).frames[0]
export_to_video(video, "output_rotating.mp4", fps=8)
| Specification | Value |
|---|---|
| Architecture | Transformer-based image-to-video diffusion model |
| Parameters | 14 billion |
| Precision | FP16 (16-bit floating point) |
| Resolution | 480p (video output) |
| Format | SafeTensors |
| Model Size | 31.0 GB |
| Task | Image-to-video generation |
| Library | diffusers |
| Compatible LoRAs | WAN 2.1 camera control LoRAs (rotation, arc shot, drone) |
# Install required dependencies
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
pip install diffusers transformers accelerate safetensors pillow
# For video export
pip install opencv-python imageio imageio-ffmpeg
Memory Optimization
attention_slicing() and vae_slicing() for lower VRAM usageenable_model_cpu_offload() for 24GB GPUsnum_frames and num_inference_steps for faster generationQuality Optimization
guidance_scale between 7.0-9.0 for best resultsnum_inference_steps (50-75) improves quality but increases timeSpeed Optimization
Prompt Engineering
| Variant | Precision | Size | VRAM | Use Case |
|---|---|---|---|---|
| FP16 480p (this) | FP16 | 31 GB | 32 GB+ | Research, archival quality |
| FP16 720p | FP16 | 31 GB | 40 GB+ | Maximum quality output |
| FP8 480p | FP8 | ~16 GB | 18 GB+ | Production, deployment |
| FP8 720p | FP8 | ~16 GB | 24 GB+ | Production, high quality |
FP16 Advantages:
FP16 Disadvantages:
This model is compatible with WAN 2.1 camera control LoRAs for cinematic effects:
Note: LoRAs are not included and must be downloaded separately.
This model uses a custom WAN license (wan-license). Please review the official WAN license terms before use. This may differ from standard open-source licenses and may include restrictions on commercial use, redistribution, or specific applications.
If you use this model in your research or projects, please cite:
@software{wan21_i2v_480p_fp16,
title={WAN 2.1 Image-to-Video 480p FP16},
year={2024},
note={14B parameter image-to-video diffusion model in full FP16 precision},
url={https://huggingface.co/wan21-fp16-480p}
}
Out of Memory Errors:
# Enable all memory optimizations
pipe.enable_attention_slicing()
pipe.enable_vae_slicing()
pipe.enable_model_cpu_offload()
# Reduce generation parameters
num_frames=16 # Instead of 24
num_inference_steps=30 # Instead of 50
Slow Generation:
num_inference_stepsQuality Issues:
num_inference_steps (50-75)guidance_scale (try 7.0-9.0)# Technique 1: Attention slicing (5-10% VRAM reduction)
pipe.enable_attention_slicing()
# Technique 2: VAE slicing (additional 5-10% VRAM reduction)
pipe.enable_vae_slicing()
# Technique 3: Model CPU offload (significant VRAM reduction, slower)
pipe.enable_model_cpu_offload()
# Technique 4: Sequential CPU offload (maximum VRAM reduction, slowest)
pipe.enable_sequential_cpu_offload()
Model Version: v1.0 Last Updated: 2024-08-12 Maintained By: WAN Model Team
For questions, issues, or contributions, please refer to the official WAN model repositories and community forums.
⚠️ Important: This is a high-precision model requiring significant computational resources. Ensure your hardware meets the minimum requirements before attempting to load and run this model. For production deployment or resource-constrained environments, consider the FP8 quantized variants.