This repository is designed to store LoRA (Low-Rank Adaptation) adapters for the WAN 2.5 image-to-video generation model in FP16 precision. LoRAs are lightweight model adapters that enhance specific capabilities of the base WAN model without requiring full model retraining.
Current Status: Repository structure initialized, awaiting model file population. This is a storage directory for WAN 2.5 image-to-video (I2V) LoRA adapters in FP16 precision, specifically for NSFW content generation.
What are LoRAs?
LoRAs (Low-Rank Adaptations) are small adapter models that modify the behavior of a base model by learning task-specific adjustments. For image-to-video generation, LoRAs can provide:
Camera Control: Precise control over camera movements (pan, tilt, zoom, dolly)
Motion Enhancement: Improved motion consistency and quality from static images
Lighting Enhancement: Better lighting consistency and quality in generated videos
Style Transfer: Specific visual styles or aesthetics applied to video generation
Quality Improvements: Enhanced detail, coherence, and temporal consistency
Content Specialization: Specialized generation for specific content types (including NSFW)
Key Features
Image-to-Video Focus: Specialized for converting static images into dynamic video sequences
FP16 Precision: Half-precision floating-point for balanced quality and performance
Modular Enhancement: Stack multiple LoRAs for combined effects
Low VRAM Overhead: Minimal additional memory requirements (~100-500MB per LoRA)
Compatible with WAN 2.5: Designed for the WAN image-to-video pipeline
NSFW Capability: Specialized for adult content generation with appropriate safeguards
Repository Contents
Directory Structure
wan25-fp16-i2v-loras-nsfw/
├── README.md # This file
└── loras/ # LoRA model directory
└── wan/ # WAN I2V-specific LoRAs
└── (model files pending)
Expected Model Files
When populated, this repository will contain:
*.safetensors: LoRA weight files in SafeTensors format
Multiple LoRAs can be stacked (VRAM overhead accumulates)
FP16 precision provides good quality-to-performance balance
Usage Examples
Basic Image-to-Video LoRA Loading with Diffusers
python
1from diffusers import DiffusionPipeline
2from PIL import Image
3import torch
45# Load base WAN 2.5 I2V model6pipe = DiffusionPipeline.from_pretrained(7"genmoai/wan-video-1.5b",8 torch_dtype=torch.float16,9 variant="fp16"10).to("cuda")1112# Load a single I2V LoRA13pipe.load_lora_weights(14r"E:\huggingface\wan25-fp16-i2v-loras-nsfw\loras\wan",15 weight_name="i2v_camera_control_lora.safetensors",16 adapter_name="camera"17)1819# Load input image20input_image = Image.open("input_image.png")2122# Generate video from image with LoRA enhancement23prompt ="A cinematic dolly shot moving through the scene"24video = pipe(25 image=input_image,26 prompt=prompt,27 num_frames=49,28 height=480,29 width=832,30 num_inference_steps=30,31 guidance_scale=7.5,32 cross_attention_kwargs={"scale":0.8}# LoRA strength33).frames[0]
Stacking Multiple I2V LoRAs
python
1from PIL import Image
23# Load input image4input_image = Image.open("input_image.png")56# Load multiple I2V LoRAs for combined effects7pipe.load_lora_weights(8r"E:\huggingface\wan25-fp16-i2v-loras-nsfw\loras\wan",9 weight_name="i2v_camera_control_lora.safetensors",10 adapter_name="camera"11)1213pipe.load_lora_weights(14r"E:\huggingface\wan25-fp16-i2v-loras-nsfw\loras\wan",15 weight_name="i2v_motion_enhancement_lora.safetensors",16 adapter_name="motion"17)1819pipe.load_lora_weights(20r"E:\huggingface\wan25-fp16-i2v-loras-nsfw\loras\wan",21 weight_name="i2v_lighting_enhancement_lora.safetensors",22 adapter_name="lighting"23)2425# Set adapter weights26pipe.set_adapters(["camera","motion","lighting"], adapter_weights=[0.8,0.7,0.6])2728# Generate with combined enhancements29video = pipe(30 image=input_image,31 prompt="Dynamic camera movement with enhanced motion and cinematic lighting",32 num_frames=49,33 height=480,34 width=832,35 num_inference_steps=30,36 guidance_scale=7.537).frames[0]
Adjusting LoRA Strength
python
1# LoRA strength controls how much the adapter affects generation2# Range: 0.0 (no effect) to 1.0 (full effect), can go higher for stronger effects34# Subtle enhancement5pipe.set_adapters(["camera"], adapter_weights=[0.3])67# Standard enhancement8pipe.set_adapters(["camera"], adapter_weights=[0.8])910# Strong enhancement11pipe.set_adapters(["camera"], adapter_weights=[1.2])
Merge Strategy: Additive (combines with base model weights)
Supported Resolutions
480x832 (standard landscape)
832x480 (portrait)
512x512 (square)
Custom: Other aspect ratios may work with varying quality
Performance Tips
Optimization Strategies
LoRA Selection: Use only LoRAs needed for your task
Strength Tuning: Lower LoRA weights (0.5-0.8) often provide better balance
Memory Management: Unload unused LoRAs with pipe.unload_lora_weights()
Batch Processing: Process multiple prompts in sequence to amortize loading costs
Quality vs Performance Trade-offs
Configuration
VRAM Usage
Quality
Speed
Base model only
~10GB
Good
Fastest
Base + 1 LoRA
~12GB
Better
Fast
Base + 2-3 LoRAs
~14GB
Best
Moderate
Base + 4+ LoRAs
~16GB+
Excellent
Slower
VRAM Optimization
python
1# Enable memory-efficient attention2pipe.enable_attention_slicing()34# Enable VAE tiling for higher resolutions5pipe.enable_vae_tiling()67# Use CPU offloading if VRAM is limited8pipe.enable_model_cpu_offload()910# Clear CUDA cache between generations11import torch
12torch.cuda.empty_cache()
License
This repository contains LoRA adapters for the WAN video generation model. Usage is governed by the WAN model license.
License Type: Custom WAN License
Commercial Use: Check base model license for restrictions
Attribution: Required when redistributing or publishing generated content
Modifications: Allowed for personal and research use
NSFW Content Notice: This repository may contain or be designed to generate NSFW (Not Safe For Work) content. Users must comply with applicable laws and platform policies.
Base Model License
LoRAs are derivative works of the base WAN model. Review the base model license:
WAN Base Models: E:\huggingface\wan\ (if available)
WAN VAE Models: For encoding/decoding video frames
FLUX Models: For image generation and video frame initialization
Changelog
Version 1.5 (2025-10-28)
Updated to v1.5 specification with image-to-video (I2V) focus
Clarified repository purpose as image-to-video LoRA collection
Updated all code examples to include image input for I2V pipeline
Enhanced LoRA descriptions for motion enhancement capabilities
Updated directory naming and file naming conventions for I2V
Verified YAML frontmatter compliance
Validated metadata accuracy for Hugging Face compatibility
Version 1.4 (2025-10-28)
Updated to v1.4 specification
Verified YAML frontmatter compliance
Confirmed comprehensive documentation structure
Validated metadata accuracy for Hugging Face compatibility
Version 1.3 (2025-10-14)
Fixed YAML frontmatter to remove base_model fields (LoRA adapters, not derived models)
Simplified metadata to core required fields only
Maintained comprehensive documentation structure
Version 1.2 (2025-10-14)
Updated README to v1.2 with enhanced metadata compliance
Clarified repository purpose and current status
Improved documentation structure
Version 1.1 (2025-10-13)
Enhanced YAML frontmatter with comprehensive tags
Added base_model relationship metadata
Version 1.0 (2025-10-13)
Initial repository structure created
README documentation prepared
Awaiting model file population
Repository Status: 🚧 Structure initialized, pending model files
Last Updated: 2025-10-28
Maintained By: Local Hugging Face Repository Collection
Total Size: ~15KB (directory structure only, no model files yet)