Instructions to use Lightricks/LTX-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lightricks/LTX-Video 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("Lightricks/LTX-Video", 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 ltxv-13b-0.9.7-dev-fp8.safetensors from Lightricks/LTX-Video: direct link, hf CLI and curl.
- Browser
- Download file 15.7 GB
-
https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltxv-13b-0.9.7-dev-fp8.safetensors
- Command line
-
hf download hf://Lightricks/LTX-Video/ltxv-13b-0.9.7-dev-fp8.safetensors
-
curl -L -o ltxv-13b-0.9.7-dev-fp8.safetensors https://huggingface.co/Lightricks/LTX-Video/resolve/main/ltxv-13b-0.9.7-dev-fp8.safetensors
15.7 GB
- Xet hash:
- 501abab76bcae7fe2c15b8f571ae3a244d479d3b354f734c7f83d3ad3e4370b0
- Size of remote file:
- 15.7 GB
- SHA256:
- b281bbb53b76d25a02285c148212b32daa6a57dfa46ce804c9bddba46f948c94
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.