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_00009.gif from Lightricks/LTX-Video: direct link, hf CLI and curl.
- Browser
- Download file 6.39 MB
-
https://huggingface.co/Lightricks/LTX-Video/resolve/5db7e4e6f055161db75447473082d12c4962ab93/media/ltx-video_example_00009.gif
- Command line
-
hf download hf://Lightricks/LTX-Video@5db7e4e6f055161db75447473082d12c4962ab93/media/ltx-video_example_00009.gif
-
curl -L -o ltx-video_example_00009.gif https://huggingface.co/Lightricks/LTX-Video/resolve/5db7e4e6f055161db75447473082d12c4962ab93/media/ltx-video_example_00009.gif
6.39 MB

- Xet hash:
- 6abcfc8df4cd0b6507c633ba348496b2f0b37893011bdd813bf256dcce6ec9a8
- Size of remote file:
- 6.39 MB
- SHA256:
- aa1e0a2ba75c6bda530a798e8aaeb3edc19413970b99d2a67b79839cd14f2fe5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.