Downloads · 30 days
0
wangkanai/wan25-fp8-i2v-loras-nsfw
wan25-fp8-i2v-loras-nsfw 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.
Status: Repository initialized - Empty structure (no model files present)
Downloads · 30 days
0
Access
Public
Updated Oct 28, 2025
Repo size
—
Likes
2
Public
Click a slice to open those files.
.md14.8 KB · 91%
From the Hugging Face model README
Status: Repository initialized - Empty structure (no model files present)
High-quality LoRA adapters for the WAN (World Action Network) 2.5 image-to-video generation model, optimized in FP8 precision for enhanced performance and memory efficiency. This collection focuses on specialized enhancements including camera control, lighting adjustment, motion dynamics, and quality improvements for image-to-video synthesis.
⚠️ Content Warning: This repository is intended to contain NSFW (Not Safe For Work) content. Models may generate adult or sensitive content. Use responsibly and in accordance with applicable laws and regulations.
WAN LoRAs are lightweight adapter models that enhance the base WAN image-to-video generation model with specialized capabilities:
These LoRAs can be combined and weighted to achieve specific artistic and technical goals in image-to-video generation workflows.
wan25-fp8-i2v-loras-nsfw/
├── README.md # This documentation file (12 KB)
├── .cache/ # Hugging Face cache directory
│ └── huggingface/
│ └── upload/ # Upload metadata
└── loras/ # LoRA model storage (empty - awaiting models)
└── wan/ # WAN-specific LoRAs subdirectory (empty)
Current Repository Size: ~12 KB (documentation only)
When populated, this repository will contain:
| File Pattern | Purpose | Typical Size | Status |
|---|---|---|---|
camera_*.safetensors | Camera control LoRAs | 50-200 MB | Pending |
motion_*.safetensors | Motion dynamics LoRAs | 50-200 MB | Pending |
lighting_*.safetensors | Lighting enhancement LoRAs | 50-200 MB | Pending |
quality_*.safetensors | Quality improvement LoRAs | 50-200 MB | Pending |
style_*.safetensors | Style-specific LoRAs | 50-200 MB | Pending |
Total Repository Size (when populated): ~500 MB - 2 GB (estimated)
import torch
from diffusers import DiffusionPipeline
from PIL import Image
# Load base WAN image-to-video model
pipe = DiffusionPipeline.from_pretrained(
"genmo/mochi-1-preview",
torch_dtype=torch.float16,
variant="fp16"
)
pipe.to("cuda")
# Load input image
input_image = Image.open("E:/images/input_frame.png")
# Load LoRA adapters (absolute paths)
lora_path = "E:/huggingface/wan25-fp8-i2v-loras-nsfw/loras/wan"
# Example: Load camera control LoRA
pipe.load_lora_weights(
f"{lora_path}/camera_cinematic_v1.safetensors",
adapter_name="camera_control"
)
# Example: Load motion dynamics LoRA
pipe.load_lora_weights(
f"{lora_path}/motion_smooth_v1.safetensors",
adapter_name="motion"
)
# Set LoRA weights (0.0 to 1.0 scale)
pipe.set_adapters(
["camera_control", "motion"],
adapter_weights=[0.8, 0.7]
)
# Generate video from image with LoRAs applied
prompt = "Cinematic camera slowly zooming in with smooth motion"
video = pipe(
image=input_image,
prompt=prompt,
num_frames=48,
height=480,
width=848,
num_inference_steps=50,
guidance_scale=7.5
).frames[0]
# Save video
from diffusers.utils import export_to_video
export_to_video(video, "output.mp4", fps=24)
# Combine multiple LoRAs for complex image-to-video effects
lora_configs = [
{"path": f"{lora_path}/camera_pan_v1.safetensors", "weight": 0.7, "name": "camera"},
{"path": f"{lora_path}/motion_fluid_v1.safetensors", "weight": 0.8, "name": "motion"},
{"path": f"{lora_path}/lighting_sunset_v1.safetensors", "weight": 0.6, "name": "lighting"},
{"path": f"{lora_path}/quality_enhance_v1.safetensors", "weight": 0.5, "name": "quality"}
]
# Load all LoRAs
for config in lora_configs:
pipe.load_lora_weights(config["path"], adapter_name=config["name"])
# Set adapter weights
adapter_names = [c["name"] for c in lora_configs]
adapter_weights = [c["weight"] for c in lora_configs]
pipe.set_adapters(adapter_names, adapter_weights=adapter_weights)
# Load input image
input_image = Image.open("E:/images/beach_scene.png")
# Generate with combined effects
video = pipe(
image=input_image,
prompt="Golden hour beach scene animating with smooth camera pan across the horizon",
num_frames=72,
height=480,
width=848,
guidance_scale=7.5
).frames[0]
export_to_video(video, "animated_beach.mp4", fps=24)
# Use FP8 quantization for memory efficiency
from transformers import BitsAndBytesConfig
quantization_config = BitsAndBytesConfig(
load_in_8bit=True,
llm_int8_threshold=6.0
)
# Load with FP8 optimization
pipe = DiffusionPipeline.from_pretrained(
"genmo/mochi-1-preview",
quantization_config=quantization_config,
torch_dtype=torch.float16,
low_cpu_mem_usage=True
)
# LoRAs automatically work with FP8 base model
pipe.load_lora_weights(f"{lora_path}/camera_control_v1.safetensors")
# Generate image-to-video with reduced memory footprint
input_image = Image.open("E:/images/portrait.png")
video = pipe(image=input_image, prompt="Cinematic portrait with subtle camera movement")
pip install xformers for memory-efficient attentiontorch.compile() for 20-30% speedup (PyTorch 2.0+)Cinematic Animation:
adapters = ["camera_cinematic", "motion_smooth", "lighting_dramatic", "quality_enhance"]
weights = [0.8, 0.7, 0.7, 0.5]
Natural Motion:
adapters = ["camera_handheld", "motion_natural", "lighting_natural", "quality_enhance"]
weights = [0.6, 0.8, 0.6, 0.6]
Artistic Style:
adapters = ["camera_dynamic", "motion_fluid", "lighting_creative", "style_artistic"]
weights = [0.9, 0.8, 0.9, 0.7]
License Type: Custom WAN License (other)
This repository uses a custom license for WAN model derivatives. Key terms:
NSFW Content Warning:
Please review the full license terms before use. For commercial licensing inquiries, contact the model authors.
If you use these LoRAs in your research or projects, please cite:
@misc{wan25-fp8-i2v-loras-nsfw,
title={WAN 2.5 FP8 LoRA Adapters for Enhanced Image-to-Video Generation},
author={Community Contributors},
year={2025},
howpublished={\url{https://huggingface.co/wan25-fp8-i2v-loras-nsfw}},
note={FP8-optimized LoRA adapters for camera control, motion dynamics, lighting, and quality enhancement in image-to-video synthesis}
}
wan25-base-fp8/: Base WAN 2.5 model in FP8 precisionwan25-vae/: WAN video autoencoder modelsflux-dev-fp8/: FLUX image generation models (compatible workflows)loras/wan/ preparedContributions of additional LoRAs, improved documentation, or usage examples are welcome. Please ensure all contributions comply with the license terms and content guidelines.
Last Updated: 2025-10-28 README Version: v1.5 Repository Status: Empty structure (no model files) Current Size: 18 KB (documentation only) Maintained By: Community Contributors