Instructions to use Wan-AI/Wan2.1-T2V-1.3B-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-1.3B-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-1.3B-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
|
@@ -96,13 +96,13 @@ pip install -r requirements.txt
|
|
| 96 |
Download models using 🤗 huggingface-cli:
|
| 97 |
```
|
| 98 |
pip install "huggingface_hub[cli]"
|
| 99 |
-
huggingface-cli download Wan-AI/Wan2.1-T2V-1.3B --local-dir ./Wan2.1-T2V-1.3B
|
| 100 |
```
|
| 101 |
|
| 102 |
Download models using 🤖 modelscope-cli:
|
| 103 |
```
|
| 104 |
pip install modelscope
|
| 105 |
-
modelscope download Wan-AI/Wan2.1-T2V-1.3B --local_dir ./Wan2.1-T2V-1.3B
|
| 106 |
```
|
| 107 |
|
| 108 |
#### Run Text-to-Video Generation
|
|
|
|
| 96 |
Download models using 🤗 huggingface-cli:
|
| 97 |
```
|
| 98 |
pip install "huggingface_hub[cli]"
|
| 99 |
+
huggingface-cli download Wan-AI/Wan2.1-T2V-1.3B-Diffusers --local-dir ./Wan2.1-T2V-1.3B-Diffusers
|
| 100 |
```
|
| 101 |
|
| 102 |
Download models using 🤖 modelscope-cli:
|
| 103 |
```
|
| 104 |
pip install modelscope
|
| 105 |
+
modelscope download Wan-AI/Wan2.1-T2V-1.3B-Diffusers --local_dir ./Wan2.1-T2V-1.3B-Diffusers
|
| 106 |
```
|
| 107 |
|
| 108 |
#### Run Text-to-Video Generation
|