Skip to main content
This node predicts the natural shot duration for a text prompt using an LTX 2.4 duration head loaded with ModelPatchLoader, then snaps the result to the VAE’s 8k+1 frame grid. The prediction is converted into a frame count using the selected frame rate and the minimum and maximum duration limits.

Inputs

Note: The duration_head input must be a model patch containing an LTX duration head. If the connected model patch is not an LTX duration head, the node raises a ValueError. Only the first conditioning entry is used — if positive contains a batch of more than one prompt, the node evaluates just the first one.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): a4abb43128b8fe396e4c986d75028aea6bfdd9bb6fda07e24c88f8e04a61669e