Text-to-Video
Diffusers
Diffusion Single File
English
Chinese
t2v
comfyui
distillation
LoRA
video generation
Instructions to use lightx2v/Wan2.1-T2V-14B-CausVid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use lightx2v/Wan2.1-T2V-14B-CausVid with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("lightx2v/Wan2.1-T2V-14B-CausVid", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Diffusion Single File
How to use lightx2v/Wan2.1-T2V-14B-CausVid with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
gradio or comfyui
#1
by rahul7star - opened
how to try this via gradio or do you have workflow?
You can try this tool: https://github.com/ModelTC/lightx2v/blob/main/scripts/run_wan_t2v_causvid.sh
Comfyui will come soon.