ComfyUI Node
LTXV Semantic Segment Planner
v1.3.0: compact upstream PromptRelay-compatible semantic segment planner. Converts local prompt segment count and boundary handles into exact frame segment_lengths.
LTXV Semantic Segment Planner
- video_latent
- segment_lengths_out
- segment_data
- schedule_info
◄fps24.00►
◄semantic_sourcelocal_prompts►
◄local_promptssegment 1 | segment 2 | segment 3►
◄segment_count3►
◄boundary_10.333►
◄boundary_20.667►
◄boundary_30.750►
◄boundary_40.875►
◄boundary_50.938►
◄min_segment_frames1►
CategoryLTXV/Timing
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| video_latent | LATENT | Video-only LTX LATENT used to resolve the rendered frame count. The planner emits PromptRelay-compatible segment_lengths in visible-frame units. | |
| fps | FLOAT | 24.001–240 | Only used for schedule_info timing display. |
| semantic_source | COMBO | local_prompts | local_prompts counts PromptRelay-style pipe-separated prompts. manual_count uses segment_count directly. |
| local_prompts | STRING | segment 1 | segment 2 | segment 3 | PromptRelay-compatible local prompt text. Pipe-separated entries define the number of semantic segments. |
| segment_count | INT | 31–6 | Used only when semantic_source=manual_count. Maximum 6 segments = 5 active boundary handles. |
| boundary_1 | FLOAT | 0.3330–1 | Boundary handle 1, normalized 0..1. Rounded to a whole frame. |
| boundary_2 | FLOAT | 0.6670–1 | Boundary handle 2, normalized 0..1. For 3 segments, 0.25/0.75 gives 1/4-1/2-1/4. |
| boundary_3 | FLOAT | 0.7500–1 | Boundary handle 3, active for 4+ segments. |
| boundary_4 | FLOAT | 0.8750–1 | Boundary handle 4, active for 5+ segments. |
| boundary_5 | FLOAT | 0.9380–1 | Boundary handle 5, active for 6 segments. |
| min_segment_frames | INT | 10–256 | Minimum length for each segment after rounding and clamping. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| segment_lengths_out | STRING | — |
| segment_data | LTXV_SEGMENT_DATA | — |
| schedule_info | STRING | — |