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
Organize media dir
Browse files- .gitattributes +9 -0
- media/ltx-video_example_00006.gif +2 -2
- media/ltx-video_example_00007.gif +2 -2
- media/ltx-video_example_00009.gif +0 -3
- media/ltx-video_example_00011.gif +2 -2
- media/ltx-video_example_00012.gif +0 -3
- media/ltx-video_example_00014.gif +2 -2
- media/ltx-video_example_00015.gif +2 -2
- media/ltx-video_example_00016.gif +0 -3
- media/{ltx-video_example_00002.gif → ltx-video_i2v_example_00001.gif} +2 -2
- media/{ltx-video_example_00004.gif → ltx-video_i2v_example_00002.gif} +2 -2
- media/{ltx-video_example_00003.gif → ltx-video_i2v_example_00003.gif} +2 -2
- media/{ltx-video_example_00008.gif → ltx-video_i2v_example_00004.gif} +2 -2
- media/ltx-video_i2v_example_00005.gif +3 -0
- media/ltx-video_i2v_example_00006.gif +3 -0
- media/ltx-video_i2v_example_00007.gif +3 -0
- media/ltx-video_i2v_example_00008.gif +3 -0
- media/ltx-video_i2v_example_00009.gif +3 -0
.gitattributes
CHANGED
|
@@ -51,3 +51,12 @@ media/ltx-video_example_00015.gif filter=lfs diff=lfs merge=lfs -text
|
|
| 51 |
media/ltx-video_example_00016.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
media/trailer.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 53 |
trailer.gif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
media/ltx-video_example_00016.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
media/trailer.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 53 |
trailer.gif filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
media/ltx-video_i2v_example_00003.gif filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
media/ltx-video_i2v_example_00005.gif filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
media/ltx-video_i2v_example_00009.gif filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
media/ltx-video_i2v_example_00006.gif filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
media/ltx-video_i2v_example_00007.gif filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
media/ltx-video_i2v_example_00001.gif filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
media/ltx-video_i2v_example_00008.gif filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
media/ltx-video_i2v_example_00004.gif filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
media/ltx-video_i2v_example_00002.gif filter=lfs diff=lfs merge=lfs -text
|
media/ltx-video_example_00006.gif
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
media/ltx-video_example_00007.gif
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
media/ltx-video_example_00009.gif
DELETED
Git LFS Details
|
media/ltx-video_example_00011.gif
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
media/ltx-video_example_00012.gif
DELETED
Git LFS Details
|
media/ltx-video_example_00014.gif
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
media/ltx-video_example_00015.gif
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
media/ltx-video_example_00016.gif
DELETED
Git LFS Details
|
media/{ltx-video_example_00002.gif → ltx-video_i2v_example_00001.gif}
RENAMED
|
File without changes
|
media/{ltx-video_example_00004.gif → ltx-video_i2v_example_00002.gif}
RENAMED
|
File without changes
|
media/{ltx-video_example_00003.gif → ltx-video_i2v_example_00003.gif}
RENAMED
|
File without changes
|
media/{ltx-video_example_00008.gif → ltx-video_i2v_example_00004.gif}
RENAMED
|
File without changes
|
media/ltx-video_i2v_example_00005.gif
ADDED
|
Git LFS Details
|
media/ltx-video_i2v_example_00006.gif
ADDED
|
Git LFS Details
|
media/ltx-video_i2v_example_00007.gif
ADDED
|
Git LFS Details
|
media/ltx-video_i2v_example_00008.gif
ADDED
|
Git LFS Details
|
media/ltx-video_i2v_example_00009.gif
ADDED
|
Git LFS Details
|