Instructions to use kabachuha/ltx2-inflate-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use kabachuha/ltx2-inflate-it 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("kabachuha/ltx2-inflate-it") prompt = "The video showcases a figurine. The camera zooms out. Then infl4t3 inflates it, the figurine expanding into giant, inflated balloon against the landscape." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
upload examples in .mp4 format
Browse files- .gitattributes +6 -0
- video_examples/Sanic.mp4 +3 -0
- video_examples/comfy.mp4 +3 -0
- video_examples/die.mp4 +3 -0
- video_examples/fox.mp4 +3 -0
- video_examples/rabbit.mp4 +3 -0
- video_examples/tank.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -53,3 +53,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
video_examples/comfy.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
video_examples/die.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
video_examples/fox.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
video_examples/rabbit.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
video_examples/Sanic.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
video_examples/tank.mp4 filter=lfs diff=lfs merge=lfs -text
|
video_examples/Sanic.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e75541918c2d4c6c2931bdeb852cf77596a69c46e2320d9f64a128be36645ab
|
| 3 |
+
size 1190415
|
video_examples/comfy.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f968488fcf71feb2834f274c710b1badbd06bce6d4a87a9c03561ae2746e8b5
|
| 3 |
+
size 2687656
|
video_examples/die.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7756b18e76e3e2daca7b363d20fad4777b6d17380b3117ab508598471bd28b2a
|
| 3 |
+
size 997579
|
video_examples/fox.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c00d258e86885fb36f482ad0cfce8b28f65203449976070012a06914614cf3d8
|
| 3 |
+
size 1681686
|
video_examples/rabbit.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be90cb05bccc9d4e5787a3f07d675caaeae9440bda51a95d0b307dd6920a27ad
|
| 3 |
+
size 3719005
|
video_examples/tank.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e64404976ed528878c9e63161d1af9b5c564f8cb63daf0e2d04eaf1a59230c7
|
| 3 |
+
size 2692499
|