Back to Blog
Production

How to Set Up an Image-to-Video Workflow with an Open Source Model

Set up a complete image-to-video workflow with LTX-2.3, the open source AI video generation model. Covers pipeline selection, image prep, and IC-LoRA adapters.

LTX Team
Production
How to Set Up an Image-to-Video Workflow with an Open Source Model
Key Takeaways
  • LTX-2.3's image-to-video workflow anchors generation to a reference image encoded at frame zero — the model generates motion from there, so image quality, framing, and lighting in the reference directly affect output quality across all frames.
  • TI2VidTwoStagesPipeline is the recommended pipeline for production image-to-video output, generating a low-res base in Stage 1 and upsampling 2x in Stage 2; TI2VidOneStagePipeline is faster for drafts and lower-VRAM hardware.
  • IC-LoRA adapters (Pose Control, Detailer, Union Control) extend image-to-video with structural conditioning from reference video — use the distilled checkpoint for IC-LoRA, run only one IC-LoRA group at a time on consumer GPUs.

Image-to-video generation turns a static image into a moving scene with motion, camera behavior, and temporal coherence. Unlike text-to-video, where the model generates everything from a description, image-to-video uses the input image as a visual anchor: the first frame is defined by what you provide, and the model generates the motion from there.

This guide walks through setting up a complete image-to-video workflow using LTX-2.5, an open source DiT-based model, focusing on the practical steps: hardware setup, pipeline selection, image preparation, and parameter tuning.

How Image-to-Video Generation Works

In text-to-video generation, the model starts from a noise state and denoises toward a video that matches the text prompt. In image-to-video, the reference image anchors the opening of the clip.

Your image is encoded through the video VAE into the model's latent space, then injected into the video latent as conditioning. In the two-stage pipeline this happens twice: at partial strength in Stage 1, which establishes the starting point while leaving room for natural motion, and again at full strength in Stage 2 to preserve fine detail through the upscale. The conditioning strength is adjustable, so you can hold tightly to the reference or give the model more freedom.

The generated video starts from the visual content of your reference image and evolves from there. The model generates the motion for the remaining frames, along with a synchronized soundtrack in the same pass.

Don't Have an 80GB GPU? Try LTX Explore

If cloning the repository, downloading checkpoints, and managing VRAM isn't how you want to spend your afternoon, image-to-video is also available as a ready-to-use tool in LTX Explore, LTX's self-service platform for testing the model's capabilities with no API integration and no technical setup.

Inside Explore, the tool is called Image to Video: upload your reference image, describe the motion you want the same way you'd write a prompt for the pipeline above, and the model handles pipeline selection, resolution, and upsampling automatically — no local GPU, no checkpoint downloads.

It's a fast way to test how your reference image animates before deciding whether to build the full open-source pipeline.

Try Image to Video in LTX Explore →

Setup and Requirements

Hardware Requirements

LTX-2.5 targets NVIDIA GPUs and requires CUDA 13.2 or higher, Python 3.10+, and PyTorch 2.7. The documented minimum is 32GB of VRAM alongside 32GB of system RAM and 100GB of storage. An A100 (80GB) or H100 is the recommended configuration for the dev checkpoint at full precision. Set PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True before running any pipeline, and enable FP8 quantization to cut VRAM by around 40%.

Installation

Clone the repository and set up the environment:

git clone https://github.com/Lightricks/LTX-2.git
cd LTX-2
uv sync --frozen
source .venv/bin/activate

Download the model files from the LTX-2.5 HuggingFace repository:

  • The dev checkpoint for quality, or the distilled checkpoint for speed
  • The Gemma 4 text encoder, required for all pipelines
  • The Gemma 4 prompt enhancer, optional
  • The video VAE and the audio VAE, since LTX-2.5 decodes picture and sound separately
  • The spatial upsampler, required for two-stage output

Choosing the Right Pipeline for Your Workflow

LTX-2.5 provides multiple pipelines, each optimized for different use cases. For image-to-video, two are directly relevant:

TI2VidTwoStagesPipeline. The recommended pipeline for production image-to-video. Takes a text prompt and a reference image, generates a low-resolution base video in Stage 1, and upsamples 2x in Stage 2 using the spatial upsampler with distilled LoRA refinement. Supports both checkpoints and uses multimodal guidance (CFG plus STG) for higher fidelity.

TI2VidOneStagePipeline. A single-stage variant for faster generation or tighter VRAM. Produces lower resolution output than the two-stage pipeline. Useful for rapid iteration and prompt testing before committing to the full workflow.

Start with the two-stage pipeline for production output and the one-stage for quick drafts.

Worth planning around: the two-stage pipeline upscales 2x, so your final output is double the width and height you configure. Dimensions must be divisible by 64 for two-stage pipelines and 32 for one-stage, and frame counts must satisfy (F-1) % 8 == 0, giving valid values of 9, 17, 25 and upward.

First and Last Frame

If you have both a starting image and an ending image, LTX-2.5 can generate the motion between them rather than extrapolating forward from one frame. The first image is added as a guide at the opening frame and the last at the closing frame, and the model generates a single distilled stage that begins on one and lands on the other.

This is the more reliable option for controlled transitions, morphs, and camera moves with a defined destination, because you're specifying where the shot ends instead of describing it. It runs single-stage, so there's no 2x upscale and the output stays at your configured resolution.

Advanced Control: IC-LoRA Adapters

IC-LoRA adapters extend image-to-video generation with structural control. Instead of only anchoring the first frame, an IC-LoRA conditions the generation on a control signal or reference clip.

The released set covers several categories:

  • Union Control. Multiple conditioning signals including depth, pose, and edge maps. Higher VRAM requirement.
  • Motion Control. Spline-based motion trajectories you draw directly, rather than describing the path in the prompt.
  • In-Outpainting. Extends the frame beyond its original boundaries.
  • Pixel Spatial Upscaler. A creative 2x or 4x upscale that synthesizes new detail rather than interpolating.

Two parameters control how strongly an adapter applies. attention_strength is a global scalar from 0.0 to 1.0, where 1.0 is full adherence to the control signal and 0.5 blends it with free generation. attention_mask is an optional spatial or spatiotemporal mask that limits the effect to specific regions or fades it in over time, which is how you apply pose control to a character without constraining the background.

IC-LoRA uses the distilled checkpoint. Run one adapter group at a time on lower-VRAM hardware.

Preparing Your Input Image

Unchanged, with one addition to the resolution bullet:

  • Resolution: Match the target output resolution or higher. Remember that the two-stage pipeline doubles your configured dimensions, so a 512x768 base produces a 1024x1536 final output.

Running the Pipeline

Run the two-stage pipeline with your reference image from the command line, passing the checkpoint and model paths, your image path, a text prompt, the output path, and standard generation parameters.

Key parameters to tune:

  • Seed. Fix for reproducibility, vary to explore motion variations.
  • Inference steps. The distilled checkpoint runs 8 steps; the full model takes 20 to 50. Start distilled while you iterate and switch for the final render.
  • CFG scale. Classifier-free guidance strength, 2.0 to 5.0 on the full model. The distilled checkpoint bakes guidance into distillation, so raising CFG above roughly 1.5 adds overhead without improving output.
  • STG scale. Spatio-temporal guidance, 0.5 to 1.5. Improves temporal consistency at the cost of some generation diversity.
  • Conditioning strength. How firmly the reference image holds. Lower it if the motion feels frozen, raise it if the subject drifts from the source.

Prompt Writing for Image-to-Video

The text prompt conditions the motion the model generates from your reference image. Write prompts that describe what happens after the first frame.

Avoid: describing what's in the image. The model can already see it.

Include: motion direction, camera behavior, speed, any changes that should occur over the clip, and the audio. Because LTX-2.5 generates sound in the same pass, ambient noise, music, and dialogue all belong in the prompt, with spoken lines in quotation marks.

For a reference image of a person standing in a field, describe how they move and how the camera responds, plus what the scene sounds like, not what they look like.

For detailed prompt guidance, see the LTX-2.5 Prompting Guide.

Extending Your Workflow

Image-to-video is a starting point. Once you have a generated clip, LTX-2.5 provides several extension workflows:

  • Retake. Regenerate specific time segments that have artifacts or need adjustment, without regenerating the entire clip.
  • IC-LoRA. Apply structural control to subsequent shots to maintain motion consistency.
  • Multishot. Generate several connected shots as one output when the sequence needs cuts rather than a single continuous take.
  • LoRA fine-tuning. Train a style or character LoRA with the LTX Trainer included in the repository, using pose, depth, and edge guidance for custom, domain-specific generation.
Table of Contents: