Official Python inference and LoRA trainer package for the LTX-2 audio–video generative model.
Pipeline Selection Guide
Quick Decision Tree
Do you have an existing video to modify?
├─ YES → Use RetakePipeline (regenerate a specific time region)
│
Do you have an audio file to drive generation?
├─ YES → Use A2VidPipelineTwoStage (audio-to-video)
│
Do you need HDR / EXR I/O?
├─ YES → Do you have EXR stills or EXR-frame folders for a standard pipeline?
│ ├─ YES → Use Distilled / TI2V / Retake / IC-LoRA with `--hdr {SRGB_LINEAR,ACESCG,ACESCCT}`
│ │ (see [HDR Support](hdr.md); EXR + BT.2020/HLG output)
│ └─ NO → Use HDRICLoraPipeline (SDR video → ACEScct HDR; HLG master + EXR)
│
Do you need to condition on existing images/videos?
├─ YES → Do you have reference videos for video-to-video?
│ ├─ YES → Use ICLoraPipeline
│ └─ NO → Do you have multiple keyframe images to interpolate?
│ ├─ YES → Use TI2VidTwoStagesPipeline with `--image … guide` bindings
│ └─ NO → Image-to-video (one still)
│ ├─ Production quality / higher fps → DFRPipeline
│ └─ Guided CFG/STG two-stage → TI2VidTwoStagesPipeline
│
└─ NO → Text-to-video only
├─ Do you need fastest inference?
│ └─ YES → Use DistilledPipeline (starting point; 8 predefined sigmas)
│
├─ Do you need production quality, or a higher frame rate than the base model?
│ └─ YES → Use DFRPipeline (distilled checkpoint + detailing pass + optional temporal 2x/4x)
│
└─ Guided two-stage with CFG/STG
└─ Use TI2VidTwoStagesPipeline
Note:
TI2VidOneStagePipelineis primarily for educational purposes. For production quality, useDFRPipeline. For guided CFG/STG two-stage, useTI2VidTwoStagesPipelineorTI2VidTwoStagesHQPipeline. For editing existing videos, useRetakePipeline. See Running DFR for DFR resolution, fps, and memory notes.
Features Comparison
| Pipeline | Stages | Multimodal Guidance | Upsampling | Conditioning | Best For |
|---|---|---|---|---|---|
| DistilledPipeline | 2 | ❌ | ✅ | Image | Fastest inference (starting point) |
| DFRPipeline | 2 (+ optional temporal rounds) | ❌ | ✅ spatial + optional temporal 2x | Image + generated keyframes | Production quality; higher effective frame rate |
| TI2VidTwoStagesPipeline | 2 | ✅ | ✅ | Image + keyframes | Guided two-stage with CFG/STG; animation and interpolation |
| TI2VidTwoStagesHQPipeline | 2 | ✅ | ✅ | Image | Same guided flow, res_2s sampler |
| TI2VidOneStagePipeline | 1 | ✅ | ❌ | Image | Educational, prototyping |
| ICLoraPipeline | 2 | ✅ | ✅ | Image + Video | Video-to-video transformations |
| A2VidPipelineTwoStage | 2 | ✅ | ✅ | Audio + Image | Audio-driven video generation |
| RetakePipeline | 1 | ✅ | ❌ | Source Video | Regenerating a time region of a video |
| HDRICLoraPipeline | 1 | ❌ | ❌ | Video | SDR-to-HDR with an HDR IC-LoRA (HLG master + EXR via --exr-colorspace); see also native --hdr |
| DubItPipeline | 2 | ✅ | ✅ | Video + Audio | Dub-It with audio ref conditioning |
| T2AOneStagePipeline | 1 | Audio only | ❌ | None (text) | Text-to-audio (audio-only output, no video) |
See Available Pipelines for a full description of each.