Nodes/ComfyUI-LTXV-TimeGated-LoRA/LTXV Semantic Segment Planner
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.

By Jinx138·Created 3 months ago·Updated 14 days ago· 21
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)

NameTypeDefaultDescription
video_latentLATENTVideo-only LTX LATENT used to resolve the rendered frame count. The planner emits PromptRelay-compatible segment_lengths in visible-frame units.
fpsFLOAT24.001–240Only used for schedule_info timing display.
semantic_sourceCOMBOlocal_promptslocal_prompts counts PromptRelay-style pipe-separated prompts. manual_count uses segment_count directly.
local_promptsSTRINGsegment 1 | segment 2 | segment 3PromptRelay-compatible local prompt text. Pipe-separated entries define the number of semantic segments.
segment_countINT31–6Used only when semantic_source=manual_count. Maximum 6 segments = 5 active boundary handles.
boundary_1FLOAT0.3330–1Boundary handle 1, normalized 0..1. Rounded to a whole frame.
boundary_2FLOAT0.6670–1Boundary handle 2, normalized 0..1. For 3 segments, 0.25/0.75 gives 1/4-1/2-1/4.
boundary_3FLOAT0.7500–1Boundary handle 3, active for 4+ segments.
boundary_4FLOAT0.8750–1Boundary handle 4, active for 5+ segments.
boundary_5FLOAT0.9380–1Boundary handle 5, active for 6 segments.
min_segment_framesINT10–256Minimum length for each segment after rounding and clamping.

Outputs (3)

NameTypeDescription
segment_lengths_outSTRING
segment_dataLTXV_SEGMENT_DATA
schedule_infoSTRING