Instructions to use ainativestudio/hunyuanvideo-endpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ainativestudio/hunyuanvideo-endpoint with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ainativestudio/hunyuanvideo-endpoint", 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
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +7 -0
requirements.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
diffusers>=0.32.0
|
| 2 |
+
transformers>=4.44.0
|
| 3 |
+
accelerate>=0.33.0
|
| 4 |
+
imageio-ffmpeg>=0.5.1
|
| 5 |
+
torch>=2.4.0
|
| 6 |
+
Pillow
|
| 7 |
+
sentencepiece
|