Views
No views yet
[!IMPORTANT] This is an experimental checkpoint and its poor generalization is well-known.
1import torch
2from diffusers import LTXPipeline
3from diffusers.utils import export_to_video
4
5pipe = LTXPipeline.from_pretrained(
6 "Lightricks/LTX-Video", torch_dtype=torch.bfloat16
7).to("cuda")
8pipe.load_lora_weights("my-awesome-name/my-awesome-lora", adapter_name="ltxv-lora")
9pipe.set_adapters(["ltxv-lora"], [0.9])
10
11video = pipe("<my-awesome-prompt>").frames[0]
12export_to_video(video, "output.mp4", fps=8)