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 media/ltx-video_example_00002.gif from Lightricks/LTX-Video: direct link, hf CLI and curl.
- Browser
- Download file 7.9 MB
-
https://huggingface.co/Lightricks/LTX-Video/resolve/refs%2Fpr%2F72/media/ltx-video_example_00002.gif
- Command line
-
hf download hf://Lightricks/LTX-Video@refs/pr/72/media/ltx-video_example_00002.gif
-
curl -L -o ltx-video_example_00002.gif https://huggingface.co/Lightricks/LTX-Video/resolve/refs%2Fpr%2F72/media/ltx-video_example_00002.gif
7.9 MB

- Xet hash:
- 2c6fa36052e9135a5fb1952203fc22a0a8d78b35b0c6ebe369a863525d512410
- Size of remote file:
- 7.9 MB
- SHA256:
- 336f4baec79c1bd754c7c1bf3ac0792910cc85b6a3bde15fabeb0fb0f33299ff
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.