Advanced camera motion control LoRA adapters for WAN (World Animation Network) video generation models. These rank-16 LoRAs enable precise control over camera movements including rotation, arc shots, and drone-style cinematography.
Model Description
This repository contains three specialized LoRA adapters designed to enhance video generation with professional camera movement patterns:
Camera Rotation
: Enables smooth 360° orbital camera movements around subjects
Arc Shot
: Creates cinematic arc/dolly movements for dynamic scene transitions
Drone Shot
: Simulates aerial drone cinematography with elevation and forward motion
These LoRAs are trained at rank-16 for optimal balance between parameter efficiency and motion quality control. All models are stored in FP16 precision for maximum compatibility with standard diffusion pipelines.
Disk Space
: 1.1 GB for LoRAs + base model requirements
GPU
: NVIDIA GPU with CUDA support (RTX 3060 or better recommended)
Recommended Requirements
VRAM
: 16 GB or higher for optimal performance
RAM
: 32 GB system memory
Disk Space
: 10 GB+ for models and output videos
GPU
: NVIDIA RTX 4080/4090 or A100 for best performance
Usage Examples
Basic Usage with Diffusers
import torch
from diffusers import DiffusionPipeline
# Load base WAN model
pipe = DiffusionPipeline.from_pretrained(
"HunyuanVideo/HunyuanVideo",
torch_dtype=torch.float16,
variant="fp16"
)
pipe.to("cuda")
# Load camera rotation LoRA
pipe.load_lora_weights(
"E:\\huggingface\\wan21-fp16-loras\\loras\\wan",
weight_name="wan21-camera-rotation-rank16-v1.safetensors"
)
# Generate video with camera rotation
prompt = "A majestic lion sitting on a rock, cinematic lighting, 4k"
video = pipe(
prompt=prompt,
num_frames=48,
height=512,
width=512,
num_inference_steps=50,
guidance_scale=7.5,
cross_attention_kwargs={"scale": 0.8} # LoRA strength
).frames
# Save videofrom diffusers.utils import export_to_video
export_to_video(video, "output_rotation.mp4", fps=8)
Switching Between Camera LoRAs
# Unload current LoRA
pipe.unload_lora_weights()
# Load arc shot LoRA
pipe.load_lora_weights(
"E:\\huggingface\\wan21-fp16-loras\\loras\\wan",
weight_name="wan21-camera-arcshot-rank16-v1.safetensors"
)
# Generate with arc shot movement
video = pipe(
prompt="A bustling city street at sunset, cinematic arc shot",
num_frames=48,
cross_attention_kwargs={"scale": 0.7}
).frames
Adjusting LoRA Strength
# Subtle camera movement (scale: 0.3-0.5)
video = pipe(
prompt="Static scene with subtle camera drift",
cross_attention_kwargs={"scale": 0.4}
).frames
# Standard camera movement (scale: 0.6-0.8)
video = pipe(
prompt="Dynamic scene with smooth camera motion",
cross_attention_kwargs={"scale": 0.7}
).frames
# Dramatic camera movement (scale: 0.9-1.0)
video = pipe(
prompt="Action scene with aggressive camera work",
cross_attention_kwargs={"scale": 1.0}
).frames
Drone Shot Example
pipe.unload_lora_weights()
pipe.load_lora_weights(
"E:\\huggingface\\wan21-fp16-loras\\loras\\wan",
weight_name="wan21-camera-drone-rank16-v1.safetensors"
)
# Generate aerial drone footage
video = pipe(
prompt="Aerial view of a mountain valley, rising drone shot, golden hour",
num_frames=64,
height=768,
width=1344,
cross_attention_kwargs={"scale": 0.8}
).frames
export_to_video(video, "drone_shot.mp4", fps=12)
Model Specifications
Architecture
Type
: LoRA (Low-Rank Adaptation) adapters
Rank
: 16
Target Modules
: Cross-attention layers in temporal transformer blocks
Precision
: FP16 (Float16)
Format
: SafeTensors (.safetensors)
Base Model
: Compatible with WAN/HunyuanVideo architecture
Training Details
Version
: v1 (Initial release)
Training Data
: Curated video datasets with professional camera movements
Optimization
: Camera motion quality and temporal consistency
Specialization
: Each LoRA trained on specific camera movement patterns
Camera Movement Characteristics
Rotation LoRA
:
360° orbital movements around central subject
Maintains consistent distance and elevation
Smooth, continuous rotation speed
Best for: Product showcases, character reveals, architectural tours
These LoRA models are subject to the WAN license terms. Please review the license agreement before commercial use:
Research Use
: Permitted with proper attribution
Commercial Use
: May require separate licensing agreement
Distribution
: Allowed with original license documentation
Modification
: Permitted for research and personal projects
For commercial licensing inquiries, please contact the original model creators or refer to the base model repository.
Citation
If you use these LoRAs in your research or projects, please cite:
@misc{wan21-camera-loras,
title={WAN 2.1 Camera Control LoRAs},
author={WAN Development Team},
year={2024},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/HunyuanVideo/WAN-LoRAs}}
}
wan21-fp16-loras huggingface.co is an AI model on huggingface.co that provides wan21-fp16-loras's model effect (), which can be used instantly with this wangkanai wan21-fp16-loras model. huggingface.co supports a free trial of the wan21-fp16-loras model, and also provides paid use of the wan21-fp16-loras. Support call wan21-fp16-loras model through api, including Node.js, Python, http.
wan21-fp16-loras huggingface.co is an online trial and call api platform, which integrates wan21-fp16-loras's modeling effects, including api services, and provides a free online trial of wan21-fp16-loras, you can try wan21-fp16-loras online for free by clicking the link below.
wangkanai wan21-fp16-loras online free url in huggingface.co:
wan21-fp16-loras is an open source model from GitHub that offers a free installation service, and any user can find wan21-fp16-loras on GitHub to install. At the same time, huggingface.co provides the effect of wan21-fp16-loras install, users can directly use wan21-fp16-loras installed effect in huggingface.co for debugging and trial. It also supports api for free installation.