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") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- Xet hash:
- 4a5ef663b2d8c52db4c1620c8a50d7d747116301eb4158b817889da7279f387c
- Size of remote file:
- 2.69 MB
- SHA256:
- 1f968488fcf71feb2834f274c710b1badbd06bce6d4a87a9c03561ae2746e8b5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.