Text-to-Video
Diffusers
English
smd
diffusion-distillation
few-step
lora
wan
wan2.1
video-generation
4-step
Instructions to use zjwfufu/SMD-Wan2.1-1.3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zjwfufu/SMD-Wan2.1-1.3B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-T2V-1.3B-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("zjwfufu/SMD-Wan2.1-1.3B") prompt = "A man with short gray hair plays a red electric guitar." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Download examples/case.json from zjwfufu/SMD-Wan2.1-1.3B: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/zjwfufu/SMD-Wan2.1-1.3B/resolve/main/examples/case.json
- Command line
-
hf download hf://zjwfufu/SMD-Wan2.1-1.3B/examples/case.json
-
curl -L -o case.json https://huggingface.co/zjwfufu/SMD-Wan2.1-1.3B/resolve/main/examples/case.json
285 Bytes
| { | |
| "prompt": "A small white delivery robot labeled \"SMD\" in large blue capital letters drives slowly along a bright hallway. The camera tracks alongside the robot, realistic motion, soft daylight.", | |
| "seed": 1234, | |
| "height": 480, | |
| "width": 832, | |
| "num_frames": 81, | |
| "fps": 16 | |
| } | |