Instructions to use AlayaLab/AlayaWorld-v1.1-stage2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlayaLab/AlayaWorld-v1.1-stage2b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AlayaLab/AlayaWorld-v1.1-stage2b", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Download modular_model_index.json from AlayaLab/AlayaWorld-v1.1-stage2b: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/AlayaLab/AlayaWorld-v1.1-stage2b/resolve/main/modular_model_index.json
- Command line
-
hf download hf://AlayaLab/AlayaWorld-v1.1-stage2b/modular_model_index.json
-
curl -L -o modular_model_index.json https://huggingface.co/AlayaLab/AlayaWorld-v1.1-stage2b/resolve/main/modular_model_index.json
352 Bytes
| { | |
| "_class_name": "AlayaWorldPipeline", | |
| "model_type": "alayaworld", | |
| "stage": "2b", | |
| "version": "v1.1", | |
| "components": { | |
| "transformer": ["transformer.pt", "LTX-2.3 13B DiT, full AR-SFT weights incl. action AdaLN"], | |
| "history_encoder": ["history_encoder.pt", "history encoder"] | |
| }, | |
| "homepage": "https://github.com/AlayaLab/AlayaWorld" | |
| } | |