Instructions to use Wan-AI/Wan2.1-T2V-14B-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Wan-AI/Wan2.1-T2V-14B-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-T2V-14B-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -92,13 +92,13 @@ pip install -r requirements.txt
|
|
| 92 |
Download models using 🤗 huggingface-cli:
|
| 93 |
```
|
| 94 |
pip install "huggingface_hub[cli]"
|
| 95 |
-
huggingface-cli download Wan-AI/Wan2.1-T2V-14B --local-dir ./Wan2.1-T2V-14B
|
| 96 |
```
|
| 97 |
|
| 98 |
Download models using 🤖 modelscope-cli:
|
| 99 |
```
|
| 100 |
pip install modelscope
|
| 101 |
-
modelscope download Wan-AI/Wan2.1-T2V-14B --local_dir ./Wan2.1-T2V-14B
|
| 102 |
```
|
| 103 |
#### Run Text-to-Video Generation
|
| 104 |
|
|
|
|
| 92 |
Download models using 🤗 huggingface-cli:
|
| 93 |
```
|
| 94 |
pip install "huggingface_hub[cli]"
|
| 95 |
+
huggingface-cli download Wan-AI/Wan2.1-T2V-14B-Diffusers --local-dir ./Wan2.1-T2V-14B-Diffusers
|
| 96 |
```
|
| 97 |
|
| 98 |
Download models using 🤖 modelscope-cli:
|
| 99 |
```
|
| 100 |
pip install modelscope
|
| 101 |
+
modelscope download Wan-AI/Wan2.1-T2V-14B-Diffusers --local_dir ./Wan2.1-T2V-14B-Diffusers
|
| 102 |
```
|
| 103 |
#### Run Text-to-Video Generation
|
| 104 |
|