Instructions to use lightx2v/Wan2.1-T2V-14B-StepDistill-CfgDistill-Lightx2v with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Wan2.1-T2V-14B-StepDistill-CfgDistill-Lightx2v with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lightx2v/Wan2.1-T2V-14B-StepDistill-CfgDistill-Lightx2v", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
About the process to generate these loras
#8 opened 10 months ago
by
Bliu3650
Wan2.2 has been released, request Wan2.2 Lightx2v
πβ 2
#7 opened 11 months ago
by
sunnyboxs
The loras are really good
4
#5 opened 11 months ago
by
Rudra-ai
Still getting noisy videos with New T2V Lora
π 3
11
#4 opened 11 months ago
by
Griphen116
lora key error
6
#2 opened 11 months ago
by
cheezecrisp