LTX-2 Extension Module (simple) ??
The no-frills LTX-2 extension module you'll actually use
- source_images
- new_images
- source_images
- start_images
- extended_images
- overlap_frames
- calculated_frames
- extension_frames
- report
Here's the thing about the full LTX2 Extension Module: it's powerful, and it has seventeen knobs. This one is the version where the author took all seventeen knobs, hid most of them, and made the sensible decisions for you. If you're extending LTX-2 video in segments - and that's the whole point of this pack - start here, not with the big one. You can graduate to the flagship later, but the simple version is the one that gets your first long clip made.
How it works
ExtensionModule_simple is literally the same code as IAMCCS_LTX2_ExtensionModule - it subclasses it and calls the identical processing function - with the quality-tuning surface stripped out and one hardcoded behavior: it always enforces the LTX-2 8n+1 frame rule on the start_images it extracts (ltx2_round_down), because those frames go straight into a VAE encode for the next pass and an illegal count is an instant failure. The full module lets you toggle that off for compatibility with older workflows; the simple one doesn't let you shoot yourself.
The core job is stitching. Give it source_images (the footage you already have) and new_images (the fresh chunk you just generated), and it:
- Picks
overlap_framesfrom one side (overlap_side: from the source tail, or from the new chunk's head). - Blends that overlap region -
cutfor a hard join, or one of the crossfades (linear_blenddefault,ease_in_out,filmic_crossfade,perceptual_crossfade) for a soft one. - Outputs
start_images- the overlap frames for the next pass's first-frame conditioning - andextended_images, your growing video.
The inputs and outputs that matter
The full module buries these under color-match and seam-search settings; here they're the whole UI:
source_images- the footage so far.overlap_frames- how many frames to overlap between passes (default 10).overlap_side- take the overlap from the source tail or the new chunk's head (defaultsource).overlap_mode- blend method, defaultlinear_blend.enable_math+math_operation- an odd but handy feature: it adjusts the overlap count arithmetically.a-b(default) subtractsmath_value_bfrom the overlap, which is the classic trick for LTX where you want the passed-along start frames to be 8n+1 while the blend window stays slightly different. Defaultmath_value_bis 1.new_images(optional) - the current generation's output.
Outputs: source_images (pass-through), start_images, extended_images, then overlap_frames, calculated_frames, and extension_frames as INTs (handy for wiring into your sampler's length), plus report.
Installing it
In IAMCCS-nodes. Manager → "IAMCCS" → install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/IAMCCS/IAMCCS-nodes.git
Restart ComfyUI, look under IAMCCS/LTX-2. No models, no dependencies.
Common issues
The one real footgun is the enable_math/math_operation pair being on by default with a-b - it quietly shrinks your overlap by one frame, which is deliberate (it's how the pack keeps start frames 8n+1 while blending 10 frames) but looks like a bug if you don't know it. If you want your overlap to be exactly what you set, switch math_operation to none. Otherwise, the usual extension pitfalls apply: overlap larger than your shortest chunk breaks the math, and cut mode will show a seam if your two chunks drift - switch to a crossfade before you blame the model.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| source_images | IMAGE | The source images to extend (from previous generation) | |
| overlap_frames | INT | 101–256 | Number of overlapping frames between batches |
| overlap_side | COMBO | source | Which side to take overlap frames from |
| overlap_mode | COMBO | linear_blend | Blending method for overlapping frames |
| enable_math | BOOLEAN | true | Enable math calculations for frame adjustments |
| math_operation | COMBO | a-b | Math operation to perform on overlap value |
| math_value_b | INT | 10–256 | Second operand for math operations (b) |
| new_imagesopt | IMAGE | The newly generated images to extend with |
Outputs (7)
| Name | Type | Description |
|---|---|---|
| source_images | IMAGE | — |
| start_images | IMAGE | — |
| extended_images | IMAGE | — |
| overlap_frames | INT | — |
| calculated_frames | INT | — |
| extension_frames | INT | — |
| report | STRING | — |