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

- Xet hash:
- 921d439ffab3fd0131e60556b9e51a2d985355ba187ef147ee632a9d0cb1dc6a
- Size of remote file:
- 7.83 MB
- SHA256:
- a08a06681334856db516e969a9ae4290acfd7550f7b970331e87d0223e282bcc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.