ComfyUI Node
LtxResolutionSelector
## LTX Resolution Selector
Selects the correct **input resolution** and **frame count** for LTX Video models.
Supports Dev mode and Distilled upscale modes (x1.5 and x2).
---
### Inputs
| Pin | Default | Description |
|---|---|---|
| `mode` | Dev (no upscale) | Render mode — see table below. |
| `dev_target` | 960x544 | Target resolution for Dev mode (12 options). |
| `upscale_target` | 1920x1080 | Target resolution for Distilled modes (6 options). |
| `fps` | 24.0 | Frames per second (1–120). Passed through to output. |
| `duration_sec` | 5 | Clip duration in seconds (1–300). |
**mode options:**
| Value | Description |
|---|---|
| `Dev (no upscale)` | Standard LTX Dev sizes, rounded UP to nearest multiple of 32. |
| `x1.5 Distilled` | Returns input size needed to reach the target after x1.5 upscale. |
| `x2 Distilled` | Returns input size needed to reach the target after x2 upscale. |
### Outputs
| Pin | Type | Description |
|---|---|---|
| `width` | INT | Input width in pixels (multiple of 32). |
| `height` | INT | Input height in pixels (multiple of 32). |
| `length` | INT | Frame count: `1 + 8 x round(fps x sec / 8)`. |
| `fps` | FLOAT | Passthrough of the fps input. |
### Example
To render a 5-second clip at 1920x1080 using x2 Distilled:
- `mode` = `x2 Distilled`
- `upscale_target` = `1920x1080 (Landscape)`
- `fps` = 24, `duration_sec` = 5
- Node outputs: `width=960, height=544, length=121, fps=24`
By Rogala·Created 5 months ago·Updated 4 months ago· 19