Loading repository data…
Loading repository data…
Lightricks / repository
Official Python inference and LoRA trainer package for the LTX-2 audio–video generative model.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
LTX-2 is the first DiT-based audio-video foundation model that contains all core capabilities of modern video generation in one model: synchronized audio and video, high fidelity, multiple performance modes, production-ready outputs, API access, and open access.
Clone the repo
git clone https://github.com/Lightricks/LTX-2.git
cd LTX-2
Download the relevant models or use the Hugging Face CLI
hf auth login
hf download Lightricks/LTX-2.3 \
ltx-2.3-22b-distilled-1.1.safetensors ltx-2.3-spatial-upscaler-x2-1.1.safetensors --local-dir models/ltx-2.3
hf download google/gemma-3-12b-it-qat-q4_0-unquantized --local-dir models/gemma-3-12b
If you get a 401/403, accept the model terms on Hugging Face and log in with a Read token (fine-grained tokens need the "read gated repos" scope enabled).
Generate
uv run python -m ltx_pipelines.distilled \
--distilled-checkpoint-path models/ltx-2.3/ltx-2.3-22b-distilled-1.1.safetensors \
--spatial-upsampler-path models/ltx-2.3/ltx-2.3-spatial-upscaler-x2-1.1.safetensors \
--gemma-root models/gemma-3-12b \
--seed 42 \
--output-path output.mp4 \
--prompt "A medium close-up shot features a Caucasian man with a beard, wearing a green and white baseball cap without any letters on the front, and a light blue shirt over a white t-shirt. He is positioned in the center of the frame, looking intently directly at the camera, his eyes focused on camera. His facial expression is one of deep concentration, with his brow slightly raised. As he looks straight at the camera, a quick sniff sound is heard, and then he speaks with a deep male voice and a satisfied tone, saying, 'I think it's so good.' The camera remains static throughout, maintaining a shallow depth of field, which keeps the man in sharp focus while the background is softly blurred, showing a beige wall behind him. After a brief pause, another short, audible sniff is heard. The man then continues to speak, his voice maintaining the same quality, as he states, 'So good. So good.' He elaborates further, emphasizing his point with a final statement, 'This got to be, it's got to be the best tool I've ever seen.'"
In cases of GPU memory constraints, consider --quantization fp8-cast --offload {cpu, disk}. See additional flags.
This uses the distilled model and pipeline for fast results. For better quality or other capabilities, see Models and Pipelines.
For pipelines beyond the quickstart, download the relevant models from the LTX-2.3 HuggingFace repository:
LTX-2.3 Model Checkpoint (choose and download one of the following)
Spatial Upscaler - Required for current two-stage pipeline implementations in this repository
ltx-2.3-spatial-upscaler-x2-1.1.safetensors - Downloadltx-2.3-spatial-upscaler-x1.5-1.0.safetensors - DownloadTemporal Upscaler - Supported by the model and will be required for future pipeline implementations
Distilled LoRA - Required for current two-stage pipeline implementations in this repository (except DistilledPipeline, ICLoraPipeline, and LipDubPipeline)
Gemma Text Encoder (download all assets from the repository)
LoRAs
LTX-2.3-22b-IC-LoRA-Union-Control - DownloadLTX-2.3-22b-IC-LoRA-Motion-Track-Control - DownloadLTX-2-19b-IC-LoRA-Detailer - DownloadLTX-2-19b-IC-LoRA-Pose-Control - DownloadLTX-2-19b-LoRA-Camera-Control-Dolly-In - DownloadLTX-2-19b-LoRA-Camera-Control-Dolly-Left - DownloadLTX-2-19b-LoRA-Camera-Control-Dolly-Out - DownloadLTX-2-19b-LoRA-Camera-Control-Dolly-Right - Download--quantization fp8-cast (CLTX-2.3-22b-IC-LoRA-HDR - HDR IC-LoRA and pre-computed text embeddings for HDRICLoraPipeline