Have a start image and an end image, and want AI to make the video in between? That’s first-last frame to video (FLF2V), and it’s one of the most useful tricks in AI video: smooth transitions, morphs, product reveals, camera moves you control exactly, and seamless loops.
ComfyUI has two official LTX templates for it: LTX-2.3: FLF2V, the lighter one, and the newer LTX-2.5: FLF2V, which adds Lightricks’ improved decoder and an optional prompt enhancer. Both generate synchronised audio too.
This guide covers both templates, every file and folder, the settings (including guide strength, which decides how tightly the video hits your frames), prompts, loops, and fixes.
All details are checked against the official Comfy-Org templates and their built-in notes, as of December 2026.
- Lighter: “LTX-2.3: FLF2V” uses
ltx-2.3-22b-distilled-fp8.safetensorsand Gemma 3 12B fp4. About 39 GB. - Newer: “LTX-2.5: FLF2V” uses the int8 LTX-2.5 distilled transformer, separate video and audio VAEs and a Gemma 4 12B encoder. About 57 GB; accept access on Hugging Face first.
- Defaults: 1280×720, 5 seconds, 25 fps (2.3) or 24 fps (2.5), 8 steps, CFG 1.
- Guide strength 0.7 on both the first frame (index 0) and last frame (index -1).
- Seamless loop: use the same image as first and last frame.
New to ComfyUI? Start with my ComfyUI guide for the basics of nodes, models and workflows.
What First-Last Frame Video Is Good For
Normal image-to-video gives the model a starting picture and lets it decide where things go. With FLF2V you also fix the ending, so the model has to find a believable path between two moments.
The LTX-2.5 template note sums it up: “Load a first and a last frame, and the model generates the connected shots in between: holding character, environment, lighting, and style across the transition, with synchronized audio.”
Popular uses:
- Camera moves: a high shot and a low shot of the same scene become a smooth crane move. The LTX-2.3 template’s example does exactly this with a classic car.
- Before and after: a messy room to a clean one, day to night, sketch to finished art.
- Product reveals: closed box to product on display.
- Morphs and transitions between two characters or scenes.
- Seamless loops for backgrounds and social posts.
LTX-2.3 vs LTX-2.5 FLF2V
| LTX-2.3: FLF2V | LTX-2.5: FLF2V | |
|---|---|---|
| Added to ComfyUI | 16 March 2026 | 11 August 2026 |
| Main model | LTX-2.3 22B distilled fp8 checkpoint | LTX-2.5 22B distilled transformer (int8) |
| Text encoder | Gemma 3 12B fp4 | Custom Gemma 4 12B with projection (int8) |
| Download | About 39 GB | About 57 GB |
| Frame rate default | 25 | 24 |
| Prompt enhancer | No | Optional (about 10 GB extra, adds 1-2 minutes) |
| Access | Open download | Accept the LTX-2.5 gate on Hugging Face first |
The LTX-2.5 note lists what’s new: keyframes-first “Pixel Diffusion”, a “Diffusion Video Decoder” for “sharper faces, legible text, fewer smears in fast motion”, native multishot, a custom Gemma 4 encoder, Auto Duration, and a better distilled model.
Pick LTX-2.3 if you’re short on disk or VRAM, or already have it. Pick LTX-2.5 for the best faces and text and if you have the space.
Files and Folders
LTX-2.3 FLF2V, inside ComfyUI/models/:
| File | Folder | Source |
|---|---|---|
ltx-2.3-22b-distilled-fp8.safetensors |
checkpoints | Lightricks/LTX-2.3-fp8 |
gemma_3_12B_it_fp4_mixed.safetensors |
text_encoders | Comfy-Org/ltx-2 |
LTX-2.5 FLF2V:
| File | Folder | Source |
|---|---|---|
ltx-2.5-22b-distilled-transformer-comfy-int8-convrot.safetensors |
diffusion_models | Lightricks/LTX-2.5 |
ltx-2.5-video-vae-bf16.safetensors |
vae | Lightricks/LTX-2.5 |
ltx-2.5-audio-vae-bf16.safetensors |
vae | Lightricks/LTX-2.5 |
gemma4-12b-with-proj-ltx-2.5-comfy-int8-convrot.safetensors |
text_encoders | Lightricks/LTX-2.5 |
gemma4_e2b_it_int8_convrot.safetensors |
text_encoders | Comfy-Org/gemma-4 (prompt enhancer, optional) |
The LTX-2.5 note warns: “Before you download all the models, please make sure you have granted access to LTX-2.5” on Hugging Face. Neither template needs custom node packs.
Hardware: 24 GB VRAM and 64 GB system RAM are comfortable for either. 16 GB cards can work with shorter clips and lower resolution; see my LTX-2.5 on 16 GB guide for GGUF options.
Run the Template Step by Step
- Update ComfyUI. Open Templates, go to Video, and open LTX-2.3: FLF2V or LTX-2.5: FLF2V.
- Download the missing models (for 2.5, accept the Hugging Face gate first) and press R.
- Load your start image in Load First Frame and your end image in Load Last Frame.
- Write a prompt describing the motion between them, the camera, and any sound or music.
- Set duration, width and height (defaults: 5 seconds, 1280×720).
- Click Run. Videos save to
output/video/ltx2.3_flf2voroutput/video/ltx2.5_flf2v.
The main node in each template is a subgraph. Click “Enter subgraph” to see and tune the sampler, guides, CFG and decoder inside.
Settings Explained
| Setting | LTX-2.3 | LTX-2.5 | Notes |
|---|---|---|---|
| First frame guide | index 0, strength 0.7 | index 0, strength 0.7 | Raise toward 1.0 to match the image more exactly |
| Last frame guide | index -1, strength 0.7 | index -1, strength 0.7 | -1 means the final frame |
| Guide image size | 640×360 | 640×360 | Frames are resized before guiding |
| Output size | 1280×720 | 1280×720 | Divisible by 32 |
| Duration | 5 s | 5 s | LTX-2.5 can predict it (Auto Duration) |
| Frame rate | 25 | 24 | Match your target platform |
| Sampler | Euler ancestral, 8 sigmas | Euler ancestral, 8 sigmas | Distilled schedule; keep |
| CFG | 1 | 1 (dual CFG guider) | Keep at 1 |
| Prompt enhance | None | Off by default | Needs the extra model; adds 1-2 minutes |
Guide strength is the key dial. At 0.7 the model is free to adjust details so motion stays natural. At 1.0 the first and last frames match your images very closely, but transitions between very different images can look forced.
Prompts for Transitions
Describe the journey, not just the two images. Say what moves, how the camera travels, and what sound plays. The LTX-2.3 template’s example prompt is short and clear:
The camera move from a high position to a low position, keeping the character in the frame centered.
Music: Synthwave cyberpunk music with calm ambient synths and driving 80s beats.
More patterns:
- Camera move:
Slow orbit from the front of the car to its side, keeping it centred, golden hour light, gentle engine idle sound. - Before and after:
Time-lapse of the bedroom being tidied: clothes fold themselves and fly into drawers, the bed makes itself, warm daylight, upbeat music. - Reveal:
The lid of the white box lifts and the smartwatch rises into view, rotating slowly under soft studio lights.
LTX’s general tips apply: describe actions in time order, list the visual details you want, and describe sounds.
Making Good First and Last Frames
- Same size and aspect ratio for both images, matching your output.
- Same subject, same style. A photo to a cartoon is possible, but harder than two matching photos.
- Plausible distance. Five seconds is short. A big change of location or pose may look rushed; make the clip longer or add a middle step.
- Create pairs with an editing model. Make the first frame with an image model, then edit it into the last frame (change the camera angle, time of day or pose). FLUX.2 Klein’s editing mode works well for this.
- Seamless loops: use the same image for both frames and describe a cyclic motion such as “the lantern sways gently left and right”.
- Long sequences: chain clips, using the last frame of one as the first frame of the next.
For one-image animation instead, see my ComfyUI image to video guide.
Seamless Loops and Longer Videos
A single FLF2V run gives you about 5 seconds. You can turn that into loops and longer sequences without any extra nodes, just by choosing your frames carefully.
Seamless loops
Load the same image into both the first frame and the last frame inputs. The model has to end where it started, so the clip loops cleanly on a website, a social post or a background screen.
Describe a motion that naturally returns, such as “the hair and dress sway gently in the breeze, candles flicker”, rather than one that travels, like “she walks to the door”.
Chaining clips into a longer video
- Plan your shot as a list of keyframes: frame A, frame B, frame C and so on.
- Generate clip 1 with A as the first frame and B as the last frame.
- Generate clip 2 with B as the first frame and C as the last frame.
- Join the clips in any editor. Because each clip starts on the exact image the last one ended on, the cuts line up.
Keep the same prompt style, settings and resolution for every clip so the look stays consistent. If you see a small jump at the joins, trim one frame from the start of each later clip, since the shared keyframe appears twice.
Making the keyframes
The keyframes do not have to be photos. You can make them with an image model and edit them so the character, outfit and lighting match.
Image editors like FLUX.2 Klein are handy for this: generate frame A, then ask for the same scene with a new pose or camera angle to make frame B. See my FLUX.2 Klein guide for that part.
Common Problems and Fixes
| Problem | Cause | Fix |
|---|---|---|
| Hard cut instead of a smooth move | Frames too different | Longer duration, more similar frames, describe the path in the prompt |
| Ending doesn’t match the last image | Guide strength too low | Raise the last-frame strength toward 0.9-1.0 |
| Unnatural, stiff motion | Strength too high | Lower both guides back to 0.7 |
| Faces or text blurry | Older decoder | Try LTX-2.5, whose new decoder targets faces and text |
| Download fails (2.5) | Gated repo | Accept access on the LTX-2.5 Hugging Face page while logged in |
| Out of memory | Long clip or large size | Shorter duration, 960×544, close other apps |
FAQ
What is FLF2V?
First-Last Frame to Video. You give a start image and an end image, and the model generates the video in between.
Can I make a seamless loop?
Yes. Use the same image as both first and last frame and describe a repeating motion.
Which is better, LTX-2.3 or LTX-2.5 for this?
LTX-2.5 has the newer decoder for sharper faces and text, and an optional prompt enhancer. LTX-2.3 is smaller and has no download gate.
Does it add sound?
Yes. Both models generate synchronised audio. Describe the sound or music in the prompt.
How long can the video be?
The templates default to 5 seconds. Longer clips need more memory; chain clips for longer sequences.
Do I need custom nodes?
No. Both templates use ComfyUI’s built-in nodes.
Can I use photos of real people?
Only of yourself or people who agree. Don’t create misleading videos of real people.
Sources
- Comfy-Org workflow templates:
video_ltx2_3_flf2vandvideo_ltx2_5_flf2v(nodes, defaults, built-in notes) - Lightricks/LTX-2.5 on Hugging Face
- Lightricks/LTX-2.3 model card
- ComfyUI docs: LTX-2.3 tutorial



