Instructions to use ovi054/LTX-2-19b-Squish-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ovi054/LTX-2-19b-Squish-LoRA 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-2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ovi054/LTX-2-19b-Squish-LoRA") prompt = "A man with short gray hair plays a red electric guitar." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,8 +46,8 @@ This is a fine-tuned version of [`ltx-2-19b-dev.safetensors`](/root/LTX-2/packag
|
|
| 46 |
|---|---|
|
| 47 |
| <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/005.mp4" controls autoplay loop muted></video> | <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/004.mp4" controls autoplay loop muted></video> |
|
| 48 |
|
| 49 |
-
| Example 5 |
|
| 50 |
-
|---|
|
| 51 |
| <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/003.mp4" controls autoplay loop muted></video> | <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/006.mp4" controls autoplay loop muted></video> |
|
| 52 |
|
| 53 |
|
|
|
|
| 46 |
|---|---|
|
| 47 |
| <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/005.mp4" controls autoplay loop muted></video> | <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/004.mp4" controls autoplay loop muted></video> |
|
| 48 |
|
| 49 |
+
| Example 5 | Example 6 |
|
| 50 |
+
|---|---|
|
| 51 |
| <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/003.mp4" controls autoplay loop muted></video> | <video src="https://huggingface.co/ovi054/LTX-2-19b-Squish-LoRA/resolve/main/samples/006.mp4" controls autoplay loop muted></video> |
|
| 52 |
|
| 53 |
|