Best Practices

How to Extend an AI Video in ComfyUI: From 30 to 62 Seconds With LTX-2.5

Every step and every clip from our own extension, so you can do the same, and where the record of how it was made broke.

Updated 11 min read
The Skybound Citadel reference sheet: the hero Kai, the enemy roster and the floating-island world, used to keep every generated segment on model
The starting point: one reference sheet for the hero, the enemies and the world. View it in the collection

We extended a 30 second AI video clip to 62 seconds, keeping every original frame and with no join you can see. It took 57 renders and 79 minutes of GPU time on one workstation. This post is our record of how we did it, and a step-by-step guide if you want to extend an AI video of your own in ComfyUI.

Every clip below comes from our published Skybound Citadel collection, and the finished 62 seconds is at the end. Along the way we also found where the record of how a video was made breaks, and what it takes to keep it.

About the media in this post. The images and videos here are shared through Numonic's metadata stripper (the privacy preset we published the collection with), so the copies you can download carry no prompts, workflows or other generation metadata. If you have a Numonic account and would like the archived originals, ask in the share-your-work channel on our Discord and we will send them to you. Not on our Discord yet? Join here.

What Did We Start With?

The clip is a third-person platform game scene generated with LTX-2.5 in ComfyUI: Kai, the sky explorer, running across floating islands, with game music. It was made from a single image, the reference sheet at the top of this page. Because image-to-video starts from its input, the first second of the clip is the sheet itself.

The original 30 seconds (721 frames at 24 fps, 960 by 544). It opens on the reference sheet, then gives way to gameplay. View it in the collection

The goal was another 30 seconds with the same characters and level, the music playing on across each join, and no seam you could spot at normal speed.

What Do You Need?

  • ComfyUI. If you are new to it, start with the ComfyUI documentation.
  • LTX-2.5 and its ComfyUI nodes. The model, the video and audio decoders and the text encoder come from Lightricks' LTX-2 repository. The nodes and example workflows, including the Ingredients reference example we built on, are in ComfyUI-LTXVideo.
  • A reference image of your characters and world, like our sheet. It keeps every new segment on model.
  • A GPU with plenty of memory. We used a 96 GB workstation card. Each 10 second attempt took about 110 seconds to render at 960 by 544.
  • ffmpeg for joining, with its crossfade filter.

How Do You Extend an AI Video in ComfyUI, Step by Step?

Each new piece is its own generation of 10 seconds or less, continuing from the end of the video so far. We repeated these steps four times.

  1. Take the tail. Cut the last four seconds of the video so far. Those are the frames the new segment continues from.
  2. Give the model the tail and the reference. In one generation, the tail is pinned as the start of the new segment, and the reference sheet is added as a guide across every frame. The sheet keeps Kai and the enemies on model, but it never appears in the video itself.
  3. Prompt the last frames, not the next beat. Describe the camera angle, the direction of travel and the pose the tail ends on, then the action. Add negatives against standing still, camera snaps and scene resets.
  4. Keep the music going. Hold the tail's audio fixed over the overlap, so the model continues the same track instead of starting a new one.
  5. Render several seeds. Three or more per join. A seed that worked in a 5 second test did not carry over to a 10 second run.
  6. Join with a crossfade. The regenerated overlap differs slightly in tone from the original, so a hard switch pops. Fade from the original into the new frames over two seconds, where both show the same moment.
  7. Score the join, then watch it, as described below. Keep the best seed.
  8. Repeat from the new end.
The original plus two new segments. The joins are at 0:30 and about 0:36: Kai keeps running across the same island, and the music plays straight through. View it in the collection

Why Did the First Attempt Fail?

Our first try generated all 30 new seconds in one pass. A contact sheet of sampled frames looked fine: same island, same character, same light. Watched at speed, the hero stopped at the join and the camera snapped to a different angle.

Measured, the average change from one frame to the next was about 7.2 before the join and 0.7 after it, with a spike at the join itself. The footage was plausible and almost frozen. The cause was our prompt. It described a camera behind the hero, running away, while the last frames showed a diagonal side view of a rope swing. Given the choice, the model followed the prompt instead of the footage. That is where steps 3 and 5 come from: prompt what the frames show, and keep each generation short. The long single pass also let the reference sheet leak into about eight seconds of the picture, which never happened in the short segments.

Why Does the Join Point Matter Most?

One join failed on 17 of 18 attempts across seeds, prompts and settings. Moving the join a few seconds earlier, to a closer and busier moment, passed four times out of four. The model snaps away from a tail where the subject is tiny, far away or nearly still.

So before you extend, look at the last few seconds. If the subject is small or barely moving, trim the video back to a better moment and continue from there. We tried trim-backs in order of how much motion each tail had, and kept the first that scored well.

One new segment as it came out of the model. It picks up at 0:45, one second before the end of the previous piece. Joining six or five seconds back was tried first, and both failed. View it in the collection

How Do You Score a Seam?

We used three checks, all computed from the finished frames:

  • Motion before and after the join, as the average frame-to-frame change. A big drop means the action has stalled.
  • The spike across the join, compared with the motion around it. A big spike is a visible jump.
  • Reference leak, by correlating frames with the reference sheet. A high score means the sheet is showing through.

The four final joins sit between 1.0 and 1.2 times the motion around them, and the music matches across each join at 0.95 to 0.997 on pitch-class similarity. These are heuristics, not proof. We still watched every join. The score is there to stop you trusting a contact sheet.

A contact sheet of evenly spaced frames from the finished 62 second video
A contact sheet of the finished cut. A sheet like this looked just as fine for our failed first attempt; only the motion numbers showed the hero had stopped. View it in the collection

What Did Numonic Know About the Result?

We uploaded the pieces: the original clip, the reference sheet, the 45 second stage, the raw segments, and the 62 second cut. Then we asked Numonic what it knew about each.

For a raw segment, quite a lot. Numonic read the embedded ComfyUI graph of 38 nodes, the positive and negative prompts, all five models including the reference LoRA, the seed, and the name of the input video the segment continued from. It marked that lineage as extracted from the file, not asserted by the uploader. That is what lineage should look like.

The last new segment, joined at about 0:52. The original file carries its full workflow; this shared copy has had it stripped. View it in the collection

For the 62 second cut, almost nothing. The file was assembled with ffmpeg, so it carries no graph. It arrived with no workflow, no prompt, no parents, and lineage marked as asserted by the uploader. Its AI description read like a concept art board with character sheets, because the first second of the clip is the sheet itself and the description was built from the opening frame.

Update, 20 October 2026: assembled files can now point back to their parts. When clips are joined, the assembly step can write a small lineage record into the finished file: which parts it was made from, which frames each part fills, a content fingerprint of each part, and the ComfyUI workflow of each part that was generated. Numonic reads that record when you upload the file, and so does our free metadata inspector. The 62 second cut from this article now shows its two parts, links the final segment to the asset it came from, and shows that segment's full workflow, models and prompts, labelled as the segment's rather than the cut's. We write that record with our own assembly tooling today; a public version for your own ComfyUI joins is on our roadmap.

How Do You Keep the Record When You Assemble a Video?

Whether or not the cut carries a lineage record, keep the parts: a part can only be linked if Numonic has it.

  • Put the raw renders in the same collection as the cut, name them so the order is obvious, and keep the final next to the pieces that made it. The raw renders carry the prompts, models and seeds.
  • Keep the rejected takes too, or at least a note of which seed won each join and why. Of our 57 renders, four segments made the cut. Without that record, the next person to extend the clip starts again.
  • When you share the result, pick a privacy preset. Ours strips the workflows from the public copies and keeps the originals in the library.

How lineage works in Numonic covers what is read from each kind of file. This is the same problem as provenance across tool boundaries, one tool later.

Optional: Upscale at the End

We also made a 1920 by 1088 version with a SeedVR2 restoration upscale, using ComfyUI's SeedVR2 3B template, run in three overlapping parts and crossfaded, in about 26 minutes of GPU time. We chose a restoration upscale because it sharpens the existing frames rather than generating new ones, so it cannot reopen a join you have already fixed. Upscale last, once every join has passed.

The Finished 62 Seconds

The original 30 seconds plus four new segments, joined at about 0:30, 0:36, 0:45 and 0:52. Turn the sound on: the music carries across every join.

The finished cut, 1,489 frames. This is the shared copy, with its metadata stripped; ask in our Discord for the archived original. View it in the collection

What happened next. This video became a game. We read it frame by frame as a design document and built a level you can play in a browser: How We Turned an AI Video Into a Playable Game Level. The second level started the same way, with a generated video that took three rounds of review to get right: How We Reviewed an AI Video to Approval in Three Rounds.

Key Takeaways

  • Extend in segments of 10 seconds or less, each continuing from the real last four seconds, with the reference image as a guide and the music held across the overlap.
  • Prompt what the last frames show, render several seeds, and crossfade the regenerated overlap.
  • The join point decides more than the seed or the prompt. Back up to a close, busy moment before extending.
  • Sampled frames can look fine while a character has stopped moving. Measure motion before and after every join.
  • Keep the raw renders beside the cut. They carry the record, and a cut can only link to the parts you keep.

Frequently Asked Questions

Extending AI video and keeping its history.