import torch
from diffusers import WanPipeline
from diffusers.utils import export_to_video
# Load base model
pipe = WanPipeline.from_pretrained(
"Wan-AI/Wan2.1-T2V-1.3B-Diffusers",
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Load LoRA weights
pipe.load_lora_weights("YOUR_USERNAME/longcat-step1000")
# Generate video
prompt = "A golden retriever playing in a sunny park, high quality, detailed"
video = pipe(
prompt=prompt,
height=480,
width=832,
num_frames=81,
num_inference_steps=50,
guidance_scale=4.5,
generator=torch.Generator().manual_seed(42)
).frames[0]
# Save video
export_to_video(video, "output.mp4", fps=16)
Using with Base Model
from diffusers import WanPipeline
import torch
pipe = WanPipeline.from_pretrained(
"Wan-AI/Wan2.1-T2V-1.3B-Diffusers",
torch_dtype=torch.bfloat16
).to("cuda")
# Load this LoRA
pipe.load_lora_weights("YOUR_USERNAME/longcat-step1000")
# Generate
video = pipe(
"A cat walking on the street",
height=480,
width=832,
num_frames=81,
num_inference_steps=50,
guidance_scale=4.5
).frames[0]
Performance
This checkpoint at
1000 training steps
shows significant improvements in:
✅ Enhanced aesthetic quality (HPSv3)
✅ Improved motion coherence (VideoAlign MQ)
✅ Better text-video alignment (VideoAlign TA)
✅ More stable and consistent video generation
Note
: This mid-training checkpoint offers a good balance between quality and training time. For the best performance, consider checkpoint-1500.
Training Details
Dataset
Prompt Dataset
: Filtered high-quality text prompts
Prompts per Epoch
: Configurable batches
Evaluation Frequency
: Every 100 steps
Optimization Strategy
Loss Reweighting
: LongCat strategy
Advantage Computation
: Per-reward advantages with weighting
Inner Epochs
: 1
CFG Training
: Enabled
Limitations
Optimized for 480×832 resolution; other resolutions may yield suboptimal results
Trained on 81-frame sequences (~5s @ 16fps)
Performance depends on prompt quality and guidance scale
May still exhibit some artifacts compared to fully converged checkpoints
Training Framework
This model was trained using
GenRL
, a scalable reinforcement learning framework for visual generation.
Wan2.1-T2V-1.3B-longcat-step1000 huggingface.co is an AI model on huggingface.co that provides Wan2.1-T2V-1.3B-longcat-step1000's model effect (), which can be used instantly with this lightx2v Wan2.1-T2V-1.3B-longcat-step1000 model. huggingface.co supports a free trial of the Wan2.1-T2V-1.3B-longcat-step1000 model, and also provides paid use of the Wan2.1-T2V-1.3B-longcat-step1000. Support call Wan2.1-T2V-1.3B-longcat-step1000 model through api, including Node.js, Python, http.
Wan2.1-T2V-1.3B-longcat-step1000 huggingface.co is an online trial and call api platform, which integrates Wan2.1-T2V-1.3B-longcat-step1000's modeling effects, including api services, and provides a free online trial of Wan2.1-T2V-1.3B-longcat-step1000, you can try Wan2.1-T2V-1.3B-longcat-step1000 online for free by clicking the link below.
lightx2v Wan2.1-T2V-1.3B-longcat-step1000 online free url in huggingface.co:
Wan2.1-T2V-1.3B-longcat-step1000 is an open source model from GitHub that offers a free installation service, and any user can find Wan2.1-T2V-1.3B-longcat-step1000 on GitHub to install. At the same time, huggingface.co provides the effect of Wan2.1-T2V-1.3B-longcat-step1000 install, users can directly use Wan2.1-T2V-1.3B-longcat-step1000 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Wan2.1-T2V-1.3B-longcat-step1000 install url in huggingface.co: