> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LTXVScheduler - ComfyUI Built-in Node Documentation

> The LTXVScheduler node generates sigma values for a custom sampling process.

The LTXVScheduler node generates sigma values for a custom sampling process. It calculates the noise schedule from the number of tokens in the provided latent, or uses a default of 4096 tokens when no latent is connected, and can optionally stretch the sigma values so the final value matches the specified `terminal` value.

## Inputs

| Parameter    | Description                                                                                                                             | Data Type | Required | Range                  |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ---------------------- |
| `steps`      | Number of sampling steps (default: 20)                                                                                                  | INT       | Yes      | 1-10000                |
| `max_shift`  | Maximum shift value used in the sigma calculation (default: 2.05)                                                                       | FLOAT     | Yes      | 0.0-100.0 (step: 0.01) |
| `base_shift` | Base shift value used in the sigma calculation (default: 0.95)                                                                          | FLOAT     | Yes      | 0.0-100.0 (step: 0.01) |
| `stretch`    | Stretch the sigmas to be in the range \[terminal, 1] (default: True)                                                                    | BOOLEAN   | Yes      | True/False             |
| `terminal`   | The terminal value of the sigmas after stretching (default: 0.1). Used only when `stretch` is enabled.                                  | FLOAT     | Yes      | 0.0-0.99 (step: 0.01)  |
| `latent`     | Optional latent input used to calculate the token count for sigma adjustment. When not provided, a default token count of 4096 is used. | LATENT    | No       | -                      |

**Note:** When `stretch` is enabled, the non-zero sigma values are rescaled so that the last non-zero sigma equals the `terminal` value.

## Outputs

| Output Name | Description                                     | Data Type |
| ----------- | ----------------------------------------------- | --------- |
| `sigmas`    | Sigma values generated for the sampling process | SIGMAS    |

> 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/LTXVScheduler/en.md)

***

**Source fingerprint (SHA-256):** `5b4907e905e27a951c332c400e24023ef089df7a5f4a17b1fc8ba42a41302399`
