This repository contains Low-Rank Adaptation (LoRA) models for the WAN 2.5 video generation system in FP8 precision format. These LoRAs provide specialized enhancements for camera control, lighting adjustment, and quality improvement in generated videos.
Model Description
WAN (Video Generation Model) LoRAs are adapter models that modify the behavior of the base WAN 2.5 model to provide specialized capabilities:
Camera Control LoRAs
: Precise control over camera movements, angles, and transitions
Disk Space
: 5 GB (for experimentation and caching)
GPU
: NVIDIA RTX 4070 Ti / RTX 4080 or equivalent
Memory Usage by LoRA Count
1 LoRA
: +200-400 MB VRAM
2 LoRAs
: +400-800 MB VRAM
3+ LoRAs
: +600-1200 MB VRAM
Usage Examples
Basic LoRA Loading with Diffusers
from diffusers import DiffusionPipeline
import torch
# Load base WAN 2.5 model
pipe = DiffusionPipeline.from_pretrained(
"E:/huggingface/wan25-base", # Path to base WAN model
torch_dtype=torch.float8_e4m3fn,
variant="fp8"
)
# Load camera control LoRA
pipe.load_lora_weights(
"E:/huggingface/wan25-fp8-loras/loras/wan/camera",
weight_name="camera_pan.safetensors",
adapter_name="camera_pan"
)
# Set LoRA scale (0.0 to 1.0)
pipe.set_adapters(["camera_pan"], adapter_weights=[0.8])
# Generate video with camera pan effect
prompt = "A sweeping pan across a mountain landscape at sunset"
video = pipe(
prompt=prompt,
num_frames=120,
height=720,
width=1280,
guidance_scale=7.5,
num_inference_steps=50
).frames[0]
# Save videoimport imageio
imageio.mimsave("output_video.mp4", video, fps=24)
Multiple LoRA Combination
# Load multiple LoRAs for combined effects
pipe.load_lora_weights(
"E:/huggingface/wan25-fp8-loras/loras/wan/camera",
weight_name="camera_pan.safetensors",
adapter_name="camera"
)
pipe.load_lora_weights(
"E:/huggingface/wan25-fp8-loras/loras/wan/lighting",
weight_name="lighting_cinematic.safetensors",
adapter_name="lighting"
)
pipe.load_lora_weights(
"E:/huggingface/wan25-fp8-loras/loras/wan/quality",
weight_name="quality_detail.safetensors",
adapter_name="quality"
)
# Set weights for each LoRA
pipe.set_adapters(
["camera", "lighting", "quality"],
adapter_weights=[0.8, 0.7, 0.6]
)
# Generate with combined effects
prompt = "Cinematic camera pan through a detailed futuristic cityscape"
video = pipe(prompt=prompt, num_frames=120).frames[0]
wan25-fp8-loras huggingface.co is an AI model on huggingface.co that provides wan25-fp8-loras's model effect (), which can be used instantly with this wangkanai wan25-fp8-loras model. huggingface.co supports a free trial of the wan25-fp8-loras model, and also provides paid use of the wan25-fp8-loras. Support call wan25-fp8-loras model through api, including Node.js, Python, http.
wan25-fp8-loras huggingface.co is an online trial and call api platform, which integrates wan25-fp8-loras's modeling effects, including api services, and provides a free online trial of wan25-fp8-loras, you can try wan25-fp8-loras online for free by clicking the link below.
wangkanai wan25-fp8-loras online free url in huggingface.co:
wan25-fp8-loras is an open source model from GitHub that offers a free installation service, and any user can find wan25-fp8-loras on GitHub to install. At the same time, huggingface.co provides the effect of wan25-fp8-loras install, users can directly use wan25-fp8-loras installed effect in huggingface.co for debugging and trial. It also supports api for free installation.