Instructions to use Skywork/SkyReels-V2-T2V-14B-540P-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Skywork/SkyReels-V2-T2V-14B-540P-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("Skywork/SkyReels-V2-T2V-14B-540P-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
Fix typos
#3
by tolgacangoz - opened
README.md
CHANGED
|
@@ -63,10 +63,9 @@ The demos above showcase 30-second videos generated using our SkyReels-V2 Diffus
|
|
| 63 |
|
| 64 |
## 🚀 Quickstart
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
```py
|
| 69 |
-
# pip install ftfy
|
| 70 |
import torch
|
| 71 |
from diffusers import AutoModel, SkyReelsV2Pipeline, UniPCMultistepScheduler
|
| 72 |
from diffusers.utils import export_to_video
|
|
|
|
| 63 |
|
| 64 |
## 🚀 Quickstart
|
| 65 |
|
| 66 |
+
[SkyReels-V2](https://huggingface.co/docs/diffusers/main/en/api/pipelines/skyreels_v2) can be run directly using 🤗 Diffusers!
|
| 67 |
|
| 68 |
```py
|
|
|
|
| 69 |
import torch
|
| 70 |
from diffusers import AutoModel, SkyReelsV2Pipeline, UniPCMultistepScheduler
|
| 71 |
from diffusers.utils import export_to_video
|