Instructions to use Lightricks/LTX-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Lightricks/LTX-2.5 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
# No code snippets available yet for this library.
# To use this model, check the repository files and the library's documentation.
# Want to help? PRs adding snippets are welcome at:
# https://github.com/huggingface/huggingface.jsYou need to agree to share your contact information to access this model
By clicking "Agree and Access" you acknowledge the Privacy Policy and consent to receive offers and updates including targeted and personalized advertisements. You can unsubscribe at any time.
Log in or Sign Up to review the conditions and access this model content.
Commercial and production use at no cost under the LTX-2.x Community License. Transfer of fine-tunes may require a paid license, in accordance with the LTX-2.x Community License.
Read the DocumentationPaid Commercial Use Agreement for LTX-2.x with full weights, engineering support, LoRAs, and flexible deployment options. To learn about all licensing options, talk to an expert.
Talk to a Commercial Licensing ExpertCommercial and production use at no cost under the LTX-2.x Community License. Transfer of fine-tunes may require a paid license, in accordance with the LTX-2.x Community License.
Read the DocumentationPaid Commercial Use Agreement for LTX-2.x with full weights, engineering support, LoRAs, and flexible deployment options. To learn about all licensing options, talk to an expert.
Talk to a Commercial Licensing ExpertLTX-2.5 is an open world model with open weights, built for local execution and fine-tuning. Its established use is generating synchronized, high-fidelity video and audio from text, image, and video inputs; applicability to emerging domains such as robotics and physical AI is developing.
Full control and customization — self-host on your own infrastructure. No per-generation billing, no per-seat lock-in, no forced API dependency. Revenue is measured across the whole entity, including subsidiaries and affiliates under common control. The full, binding terms live in LICENSE.
What's new in LTX-2.5
- Native multishot generation — generate connected scenes in a single pass: multiple shots that hold character identity, environment, lighting, voice, and visual style across cuts (previous versions produced a single continuous shot).
- Diffusion fidelity rendering — Instead of locking every scene to one compression rate, our model dynamically allocates compute by scene complexity and budget, rendering flawless detail where it matters, efficient everywhere else.
- New diffusion video decoder — replaces the VAE reconstruction stage; sharper faces, textures, and on-screen text, better motion, and fewer artifacts in demanding scenes.
- Custom Gemma 4 12B text encoder — holds complex prompts together (multiple characters, camera moves, lighting, actions) instead of dropping details across a longer sequence.
- Prompt enhancer — expands a short prompt into richer cinematic instructions at minimal extra compute.
- Duration predictor (optional) — an opt-in node predicts a clip's length from the prompt and sets the frame count for you, instead of relying on a fixed-duration parameter.
- Substantially improved distilled model — retains much more of the full model's visual quality, prompt adherence, and motion consistency in a smaller, faster checkpoint.
Model family & checkpoints
LTX-2.5 ships as a split, Comfy-aligned pack (one .safetensors per component) rather than a single monolith. Point each CLI flag / loader at the file below.
Transformers (DiT)
| File | Notes |
|---|---|
diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors |
Distilled DiT (bf16). Fixed 8-step schedule, CFG=1. |
diffusion_models/ltx-2.5-22b-dev-transformer-bf16.safetensors |
Full / trainable DiT (bf16). |
diffusion_models/ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors |
Distilled DiT (Comfy int8 + convrot). ComfyUI only — not for ltx-pipelines / PyTorch. |
diffusion_models/ltx-2.5-22b-dev-transformer-comfy-int8-convrot.safetensors |
Full DiT (Comfy int8 + convrot). ComfyUI only — not for ltx-pipelines / PyTorch. |
diffusion_models/ltx-2.5-22b-distilled-transformer-nvfp4.safetensors |
Distilled DiT (NVFP4). ComfyUI, or ltx-pipelines with --quantization nvfp4-prequant (Blackwell / ltx-kernels). |
Other components
| File | Notes |
|---|---|
text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors |
Gemma4 TE + projections (bf16) |
text_encoders/gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors |
Same TE, Comfy int8 — ComfyUI only |
vae/ltx-2.5-video-vae-bf16.safetensors |
DiffVAE — higher quality, heavier |
vae/ltx-2.5-video-vae-conv-bf16.safetensors |
Conv VAE — faster, lighter |
vae/ltx-2.5-audio-vae-bf16.safetensors |
Audio VAE + vocoder |
loras/ltx-2.5-22b-distilled-lora-450-bf16.safetensors |
Distilled LoRA (dev-transformer workflows) |
model_patches/ltx-2.5-duration-head-bf16.safetensors |
Auto duration when --num-frames omitted |
Lightricks/LTX-2.3 spatial / temporal upscalers |
Still required for multi-stage; not yet in this repo |
Usage
Online demo
Try LTX-2.5 in the API Playground without installing anything locally.
Option A — Python (ltx-pipelines)
Weights on this repo are split (Comfy-aligned): one safetensors file per component. The LTX-2 ltx-pipelines package loads them via --transformer-path, --text-encoder-path, etc.
Install
git clone https://github.com/Lightricks/LTX-2.git
cd LTX-2
uv sync
source .venv/bin/activate
Python >= 3.12, CUDA >= 12.7, PyTorch ~= 2.7 recommended. See the repo README for attention backends and optional extras.
Download weights
hf auth login
# LTX-2.5 distilled split pack
hf download Lightricks/LTX-2.5 \
diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors \
text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \
vae/ltx-2.5-video-vae-bf16.safetensors \
vae/ltx-2.5-audio-vae-bf16.safetensors \
model_patches/ltx-2.5-duration-head-bf16.safetensors \
--local-dir models/ltx-2.5
# Spatial upscaler (still hosted on LTX-2.3; required by the distilled pipeline)
hf download Lightricks/LTX-2.3 \
ltx-2.3-spatial-upscaler-x2-1.1.safetensors \
--local-dir models/ltx-2.3
Distilled text-to-video
uv run python -m ltx_pipelines.distilled \
--transformer-path models/ltx-2.5/diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors \
--text-encoder-path models/ltx-2.5/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \
--video-vae-path models/ltx-2.5/vae/ltx-2.5-video-vae-bf16.safetensors \
--audio-vae-path models/ltx-2.5/vae/ltx-2.5-audio-vae-bf16.safetensors \
--duration-head-path models/ltx-2.5/model_patches/ltx-2.5-duration-head-bf16.safetensors \
--spatial-upsampler-path models/ltx-2.3/ltx-2.3-spatial-upscaler-x2-1.1.safetensors \
--prompt "A golden retriever running through a sunny meadow, cinematic lighting" \
--seed 42 \
--output-path output_distilled.mp4
Omit --num-frames to let the duration head pick a length from the prompt (LTX-2.5+). Or set e.g. --num-frames 121 (must satisfy frames % 8 == 1). Width/height must be divisible by 32.
Image-to-video
Add one or more --image PATH FRAME_IDX STRENGTH flags (frame 0 = first frame conditioning):
uv run python -m ltx_pipelines.distilled \
--transformer-path models/ltx-2.5/diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors \
--text-encoder-path models/ltx-2.5/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \
--video-vae-path models/ltx-2.5/vae/ltx-2.5-video-vae-bf16.safetensors \
--audio-vae-path models/ltx-2.5/vae/ltx-2.5-audio-vae-bf16.safetensors \
--duration-head-path models/ltx-2.5/model_patches/ltx-2.5-duration-head-bf16.safetensors \
--spatial-upsampler-path models/ltx-2.3/ltx-2.3-spatial-upscaler-x2-1.1.safetensors \
--image path/to/first_frame.jpg 0 1.0 \
--prompt "The camera slowly dollies out as wind moves through the grass" \
--seed 42 \
--output-path output_i2v.mp4
Low-VRAM tips
# Downcast bf16 transformer on the fly + CPU offload
...existing flags... \
--quantization fp8-cast \
--offload cpu
Use the bf16 checkpoints with ltx-pipelines. The *-comfy-int8-convrot.safetensors files are ComfyUI-only and are not loaded by this PyTorch path.
Python API (same split paths)
from ltx_pipelines.distilled import DistilledPipeline
from ltx_pipelines.utils.model_paths import ModelPaths
model_paths = ModelPaths.from_split(
transformer_path="models/ltx-2.5/diffusion_models/ltx-2.5-22b-distilled-transformer-bf16.safetensors",
text_encoder_path="models/ltx-2.5/text_encoders/gemma4-12b-with-proj-ltx-2.5-bf16.safetensors",
video_vae_path="models/ltx-2.5/vae/ltx-2.5-video-vae-bf16.safetensors",
audio_vae_path="models/ltx-2.5/vae/ltx-2.5-audio-vae-bf16.safetensors",
duration_head_path="models/ltx-2.5/model_patches/ltx-2.5-duration-head-bf16.safetensors",
)
pipe = DistilledPipeline(
model_paths=model_paths,
spatial_upsampler_path="models/ltx-2.3/ltx-2.3-spatial-upscaler-x2-1.1.safetensors",
)
# See packages/ltx-pipelines for __call__ args (prompt, seed, num_frames, images, ...).
uv run python -m ltx_pipelines.distilled --help
Full docs: ltx-pipelines installation.
Option B — ComfyUI
Official LTX-2.5 workflow templates ship in ComfyUI. Full instructions: ComfyUI integration.
Option C — Diffusers
A Diffusers-compatible pack lives at Lightricks/LTX-2.5-Diffusers — same model, Diffusers-friendly packaging.
Install
LTX-2.5 support is not in a diffusers release yet, so install from main:
pip install git+https://github.com/huggingface/diffusers
Image-to-video, two stages
import torch
from diffusers import LTX2ImageToVideoPipeline, LTX2LatentUpsamplePipeline
from diffusers.pipelines.ltx2.latent_upsampler import LTX2LatentUpsamplerModel
from diffusers.pipelines.ltx2.utils import (
DEFAULT_NEGATIVE_PROMPT,
DISTILLED_SIGMA_VALUES,
STAGE_2_DISTILLED_SIGMA_VALUES,
)
from diffusers.utils import encode_video, load_image
MODEL_ID = "Lightricks/LTX-2.5-Diffusers"
# Stage 1 resolution; stage 2 runs at 2x this.
HEIGHT, WIDTH, NUM_FRAMES, FRAME_RATE = 544, 960, 121, 24.0
pipe = LTX2ImageToVideoPipeline.from_pretrained(MODEL_ID, dtype=torch.bfloat16)
pipe.enable_model_cpu_offload()
pipe.vae.enable_tiling() # stage 2 decodes at 2x
latent_upsampler = LTX2LatentUpsamplerModel.from_pretrained(
MODEL_ID, subfolder="latent_upsampler", dtype=torch.bfloat16
).to("cuda")
upsample_pipe = LTX2LatentUpsamplePipeline(vae=pipe.vae, latent_upsampler=latent_upsampler)
generator = torch.Generator("cuda").manual_seed(42)
shared = dict(
image=load_image("path/to/first_frame.jpg"),
prompt="The camera slowly dollies out as wind moves through the grass",
negative_prompt=DEFAULT_NEGATIVE_PROMPT,
frame_rate=FRAME_RATE,
guidance_scale=1.0,
audio_guidance_scale=1.0,
stg_scale=0.0,
audio_stg_scale=0.0,
modality_scale=1.0,
audio_modality_scale=1.0,
generator=generator,
return_dict=False,
)
stage_1_latents, audio_latents = pipe(
height=HEIGHT, width=WIDTH, num_frames=NUM_FRAMES,
sigmas=DISTILLED_SIGMA_VALUES, output_type="latent", **shared,
)
upsampled_latents = upsample_pipe(
latents=stage_1_latents, output_type="latent", return_dict=False
)[0]
# Stage 2 takes its size from the upsampled latents, so pass no height/width.
video, audio = pipe(
num_frames=NUM_FRAMES,
sigmas=STAGE_2_DISTILLED_SIGMA_VALUES,
latents=upsampled_latents,
audio_latents=audio_latents,
noise_scale=STAGE_2_DISTILLED_SIGMA_VALUES[0],
output_type="np",
**shared,
)
encode_video(
video[0],
fps=int(FRAME_RATE),
output_path="output_i2v_two_stage.mp4",
audio=audio[0].float().cpu(),
audio_sample_rate=pipe.vocoder.config.output_sampling_rate,
)
Constraints
- Frame count:
num_frames % 8 == 1(1, 9, 17, …, 121, …) - Width and height divisible by 32
Prompting
Well-structured, detailed prompts materially improve results. For multishot prompting and a full guide, see How to prompt LTX-2.
Training & fine-tuning
The dev transformer is fully trainable. Reproduce published LoRAs and IC-LoRAs with the LTX-2 Trainer.
Based on our testing, the large majority of LoRAs and IC-LoRAs trained on LTX-2.3 run on LTX-2.5 without changes. A small number of exceptions exist — validate your adapters before production use.
Limitations
- This model is not intended or able to provide factual information.
- As a statistical model, this checkpoint may amplify existing societal biases.
- Prompt following is heavily influenced by prompting style.
- The model may fail to generate videos that match the prompt perfectly.
- The model may generate content that is inappropriate or offensive.
Citation
@article{hacohen2025ltx2,
title={LTX-2: Efficient Joint Audio-Visual Foundation Model},
author={HaCohen, Yoav and Brazowski, Benny and Chiprut, Nisan and Bitterman, Yaki and Kvochko, Andrew and Berkowitz, Avishai and Shalem, Daniel and Lifschitz, Daphna and Moshe, Dudu and Porat, Eitan and Richardson, Eitan and Guy Shiran and Itay Chachy and Jonathan Chetboun and Michael Finkelson and Michael Kupchick and Nir Zabari and Nitzan Guetta and Noa Kotler and Ofir Bibi and Ori Gordon and Poriya Panet and Roi Benita and Shahar Armon and Victor Kulikov and Yaron Inger and Yonatan Shiftan and Zeev Melumian and Zeev Farbman},
journal={arXiv preprint arXiv:2601.03233},
year={2026}
}
- Downloads last month
- 39
# Gated model: Login with a HF token with gated access permission hf auth login