Instructions to use Lightricks/LTX-Video-0.9.7-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Lightricks/LTX-Video-0.9.7-dev with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-Video-0.9.7-dev", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -217,7 +217,7 @@ condition1 = LTXVideoCondition(video=video, frame_index=0)
|
|
| 217 |
|
| 218 |
prompt = "A cute little penguin takes out a book and starts reading it"
|
| 219 |
negative_prompt = "worst quality, inconsistent motion, blurry, jittery, distorted"
|
| 220 |
-
expected_height, expected_width =
|
| 221 |
downscale_factor = 2 / 3
|
| 222 |
num_frames = 96
|
| 223 |
|
|
|
|
| 217 |
|
| 218 |
prompt = "A cute little penguin takes out a book and starts reading it"
|
| 219 |
negative_prompt = "worst quality, inconsistent motion, blurry, jittery, distorted"
|
| 220 |
+
expected_height, expected_width = 480, 832
|
| 221 |
downscale_factor = 2 / 3
|
| 222 |
num_frames = 96
|
| 223 |
|