Architecture
Long-audio pipeline
The repository keeps the long-audio path explicit:
LTXAudioDurationandLTXLongAudioSegmentInfoplan segments from the real source audio length.LTXBuildChunkedStillVideosplits the song into chunk-sized windows.- Each chunk chooses one deterministic frame from the selected folder.
- Internal dummy segment rendering produces a still-video slice for each chunk.
- Image batches and audio segments are concatenated back into one previewable result.
LTXVideoCombinemuxes the final MP4 preview payload.
Segment frame counts are quantized in blocks of 8 frames to stay compatible with LTX-style downstream assumptions.
Node families
Inputs and staging
LTXLoadAudioUploadLTXLoadImageUploadLTXLoadImagesLTXBatchUploadedFramesLTXRepeatImageBatch
Chunk planning and media assembly
LTXAudioDurationLTXLongAudioSegmentInfoLTXRandomImageIndexLTXAudioSliceLTXBuildChunkedStillVideoLTXDummyRenderSegmentLTXAppendImageBatchLTXAppendAudioLTXEnsureImageBatchLTXEnsureAudioLTXAudioConcatenateLTXVideoCombine
Loop control and workflow helpers
LTXWhileLoopStart,LTXWhileLoopEndLTXForLoopStart,LTXForLoopEndLTXIfElseLTXCompareLTXSimpleMathLTXSimpleCalculatorLTXIntConstantLTXIndexAnythingLTXBatchAnythingLTXSeedListLTXShowAnything
LTX utility replacements
LTXVAELoaderLTXImageResizeLTXChunkFeedForwardLTXSamplingPreviewOverrideLTXNormalizedAttentionGuidance
Repository layout
text
docs/ VitePress docs and shared SVG identity
samples/input/ lightweight sample frames and fallback audio
samples/workflows/ smoke workflow JSON
scripts/check_workflow_layout.py
scripts/run_comfyui_api_smoke.py
tests/ import and workflow regression tests
nodes.py custom node implementations and mappings