Downloads · 30 days
0
wangkanai/wan25-fp16-i2v-loras
wan25-fp16-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.
High-quality LoRA adapters for WAN 2.5 video generation models in FP16 precision for enhanced control and quality improvements.
Downloads · 30 days
0
Access
Public
Updated Oct 28, 2025
Repo size
—
Likes
3
Public
Click a slice to open those files.
.md13.9 KB · 90%
From the Hugging Face model README
High-quality LoRA adapters for WAN 2.5 video generation models in FP16 precision for enhanced control and quality improvements.
This repository contains LoRA (Low-Rank Adaptation) adapters specifically designed for the WAN 2.5 video generation model. These adapters enable fine-grained control over various aspects of video generation including camera movements, lighting conditions, and overall quality enhancements without requiring full model retraining.
Key Features:
Use Cases:
Current Status: Repository structure is initialized and ready for model files. No LoRA files are currently present in the repository.
Directory Structure:
wan25-fp16-loras/
├── README.md # This file
└── loras/
└── wan/
├── camera/ # Camera control LoRAs
│ ├── pan_left_right.safetensors
│ ├── tilt_up_down.safetensors
│ ├── zoom_in_out.safetensors
│ └── dolly_forward_back.safetensors
├── lighting/ # Lighting enhancement LoRAs
│ ├── natural_light.safetensors
│ ├── dramatic_lighting.safetensors
│ └── ambient_occlusion.safetensors
└── quality/ # Quality enhancement LoRAs
├── detail_enhancement.safetensors
├── temporal_consistency.safetensors
└── artifact_reduction.safetensors
Current Repository Size: 18 KB (structure only)
Expected File Sizes (when populated):
import torch
from diffusers import WanPipeline
# Load base WAN 2.5 model
pipe = WanPipeline.from_pretrained(
"E:/huggingface/wan25-fp16", # Base model path
torch_dtype=torch.float16,
variant="fp16"
)
pipe.to("cuda")
# Load camera control LoRA
pipe.load_lora_weights(
"E:/huggingface/wan25-fp16-loras/loras/wan/camera",
weight_name="pan_left_right.safetensors",
adapter_name="camera_pan"
)
# Generate video with camera pan effect
prompt = "A cinematic landscape scene with smooth camera pan"
video = pipe(
prompt=prompt,
num_frames=48,
height=512,
width=768,
num_inference_steps=30,
guidance_scale=7.5,
cross_attention_kwargs={"scale": 0.8} # LoRA strength
).frames[0]
# Save video
from diffusers.utils import export_to_video
export_to_video(video, "output_with_camera_pan.mp4", fps=24)
import torch
from diffusers import WanPipeline
# Load base model
pipe = WanPipeline.from_pretrained(
"E:/huggingface/wan25-fp16",
torch_dtype=torch.float16,
variant="fp16"
)
pipe.to("cuda")
# Load multiple LoRAs
lora_configs = [
{
"path": "E:/huggingface/wan25-fp16-loras/loras/wan/camera",
"weight_name": "dolly_forward_back.safetensors",
"adapter_name": "camera_dolly",
"scale": 0.7
},
{
"path": "E:/huggingface/wan25-fp16-loras/loras/wan/lighting",
"weight_name": "dramatic_lighting.safetensors",
"adapter_name": "lighting_dramatic",
"scale": 0.6
},
{
"path": "E:/huggingface/wan25-fp16-loras/loras/wan/quality",
"weight_name": "detail_enhancement.safetensors",
"adapter_name": "quality_detail",
"scale": 0.5
}
]
# Load all LoRAs
for config in lora_configs:
pipe.load_lora_weights(
config["path"],
weight_name=config["weight_name"],
adapter_name=config["adapter_name"]
)
# Set adapter scales
adapter_names = [cfg["adapter_name"] for cfg in lora_configs]
adapter_scales = [cfg["scale"] for cfg in lora_configs]
pipe.set_adapters(adapter_names, adapter_scales)
# Generate with combined effects
prompt = "A dramatic scene with forward camera movement and enhanced details"
video = pipe(
prompt=prompt,
num_frames=96,
height=576,
width=1024,
num_inference_steps=40,
guidance_scale=8.0
).frames[0]
export_to_video(video, "output_combined_loras.mp4", fps=24)
import torch
from diffusers import WanPipeline
pipe = WanPipeline.from_pretrained(
"E:/huggingface/wan25-fp16",
torch_dtype=torch.float16
)
pipe.to("cuda")
# Load quality enhancement LoRA
pipe.load_lora_weights(
"E:/huggingface/wan25-fp16-loras/loras/wan/quality",
weight_name="temporal_consistency.safetensors",
adapter_name="temporal"
)
# Test different LoRA strengths
strengths = [0.3, 0.5, 0.7, 0.9]
prompt = "Smooth flowing water in a mountain stream"
for strength in strengths:
video = pipe(
prompt=prompt,
num_frames=48,
height=512,
width=768,
num_inference_steps=30,
guidance_scale=7.5,
cross_attention_kwargs={"scale": strength}
).frames[0]
export_to_video(video, f"output_strength_{strength}.mp4", fps=24)
print(f"Generated video with LoRA strength: {strength}")
# Unload specific LoRA
pipe.unload_lora_weights()
# Or disable specific adapter
pipe.disable_lora()
# To enable again
pipe.enable_lora()
Camera Control:
Lighting Enhancement:
Quality Improvements:
# Enable memory-efficient attention
pipe.enable_xformers_memory_efficient_attention()
# Use CPU offloading for limited VRAM
pipe.enable_sequential_cpu_offload()
# Reduce precision for inference (if needed)
pipe.vae.to(dtype=torch.float16)
pipe.unet.to(dtype=torch.float16)
# Process multiple prompts efficiently
prompts = [
"Scene 1 with camera pan",
"Scene 2 with dramatic lighting",
"Scene 3 with enhanced details"
]
videos = pipe(
prompt=prompts,
num_frames=48,
height=512,
width=768,
num_inference_steps=30,
guidance_scale=7.5
).frames
for i, video in enumerate(videos):
export_to_video(video, f"batch_output_{i}.mp4", fps=24)
This repository contains LoRA adapters for the WAN 2.5 model. Please refer to the original WAN model license for terms and conditions.
License Type: Custom license (see WAN model documentation)
Usage Restrictions:
Attribution: When using these LoRAs in published work, please cite both the base WAN model and this LoRA collection.
If you use these LoRA adapters in your research or applications, please cite:
@misc{wan25-fp16-loras,
title={WAN 2.5 FP16 LoRA Collection},
author={[To be determined based on actual model creators]},
year={2025},
howpublished={\url{https://huggingface.co/[your-username]/wan25-fp16-loras}},
note={LoRA adapters for WAN 2.5 video generation model}
}
@misc{wan25,
title={WAN 2.5: Advanced Video Generation Model},
author={Black Forest Labs},
year={2025},
howpublished={\url{https://blackforestlabs.ai/}}
}
To add new LoRAs to this collection:
Repository Status:
Usage Information: