Skip to main content
The ModelSamplingLTXV node applies advanced sampling parameters to a model based on token count. It calculates a shift value using a linear interpolation between base and maximum shift values, with the calculation depending on the number of tokens in the input latent. The node then creates a specialized model sampling configuration and applies it to the input model.

Inputs

The shift value is calculated by interpolating between base_shift and max_shift across a token range of 1024 to 4096. When a latent is supplied, the token count is computed from the product of its spatial dimensions (such as height and width). If no latent is provided, the token count defaults to 4096.

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): aba596c5478e9d6ee821eec1eca15506935bcc765a368087ccc442fc2ed6671b