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

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model` | The input model to apply sampling parameters to | MODEL | Yes | - |
| `max_shift` | The maximum shift value used in the linear interpolation calculation (default: 2.05) | FLOAT | Yes | 0.0 to 100.0 |
| `base_shift` | The base shift value used in the linear interpolation calculation (default: 0.95) | FLOAT | Yes | 0.0 to 100.0 |
| `latent` | Optional latent input used to determine the token count for the shift calculation. If not provided, a default token count of 4096 is used | LATENT | No | - |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `model` | The modified model with the applied sampling parameters | MODEL |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelSamplingLTXV/en.md)

---
**Source fingerprint (SHA-256):** `09c7628837c3961ad233bcd7e20b20cebb1f7558c0e7f5629d31964c16981a59`
