Nodes/ComfyUI-Koolook/LTX Director (Koolook)
ComfyUI Node

LTX Director (Koolook)

Same as Prompt Relay Encode, but local prompts and segment lengths are edited visually as draggable blocks on a timeline. The duration_frames input only sets the timeline scale (pixel space) — actual frame count is still read from the latent.

By malkuthro·Created 11 months ago·Updated 23 days ago· 7
LTX Director (Koolook)
  • model
  • clip
  • audio_vae
  • optional_latent
  • model
  • positive
  • video_latent
  • audio_latent
  • guide_data
  • frame_rate
  • combined_audio
global_prompt
duration_frames120
duration_seconds5.00
timeline_data
local_prompts
segment_lengths
epsilon0.0010
guide_strength
use_custom_audiofalse
frame_rate24
display_modeseconds
custom_width0
custom_height0
resize_methodmaintain aspect ratio
divisible_by32
img_compression18
relay_overrides
audio_transcript_json
CategoryKoolook/PromptRelay

Inputs (22)

NameTypeDefaultDescription
modelMODEL
clipCLIP
global_promptSTRINGConditions the entire video. Anchors persistent characters, objects, and scene context.
duration_framesINT1201–10000Total timeline length in pixel-space frames. Used by the editor for visual scale only.
duration_secondsFLOAT5.000.1–1000Total timeline duration in seconds (computed/synced from frames).
timeline_dataSTRINGJSON state of the timeline editor (auto-managed; do not edit by hand).
local_promptsSTRINGAuto-populated from the timeline editor.
segment_lengthsSTRINGAuto-populated from the timeline editor (pixel-space frame counts).
epsilonFLOAT0.00100.0001–0.99Penalty decay parameter. Values below ~0.1 all produce sharp boundaries (paper default 0.001). For softer transitions, try 0.5 or higher.
guide_strengthSTRINGAuto-populated from the timeline editor (comma-separated guide strengths for image segments).
audio_vaeoptVAEOptional. Connect an Audio VAE to generate audio latents.
optional_latentoptLATENTOptional. Connect a latent to override the auto-generated one.
use_custom_audiooptBOOLEANfalseToggle between using timeline audio (ON) and generating audio from scratch (OFF).
frame_rateoptFLOAT241–240Frames per second — only affects how time is displayed in the timeline editor when time_units is set to 'seconds'.
display_modeoptCOMBOsecondsDisplay the ruler, segment ranges, length input, and total in frames or seconds. Internal storage is always pixel-space frames.
custom_widthoptINT00–8192Target output width for all image segments. Set to 0 to use the original image width.
custom_heightoptINT00–8192Target output height for all image segments. Set to 0 to use the original image height.
resize_methodoptCOMBOmaintain aspect ratioHow to resize image segments to fit the target dimensions.
divisible_byoptINT321–256Snap the final output image dimensions to be divisible by this number (e.g. 32 for LTX).
img_compressionoptINT180–100H.264 CRF compression to apply to each guide image. 0 = no compression, higher = more artefacts.
relay_overridesoptSTRINGKoolook: JSON dict of Prompt Relay per-stream overrides. Empty = upstream defaults. Supported keys: video_strength (float), video_window_scale (float), audio_strength (float), audio_window_scale (float), audio_epsilon (float). Example: {"video_strength": 10.0}. Underscore-prefixed keys are ignored.
audio_transcript_jsonoptSTRINGKoolook: optional timed speech transcript JSON. Paste or link {"phrases":[{"start":0,"end":0.5,"text":"What?"}]} to auto-build local_prompts, segment_lengths, and timeline_data before Prompt Relay conditioning runs.

Outputs (7)

NameTypeDescription
modelMODEL
positiveCONDITIONING
video_latentLATENTAuto-generated LTXV empty latent (only populated when no latent is connected).
audio_latentLATENTAuto-generated audio latent (uses custom audio if enabled).
guide_dataGUIDE_DATA
frame_rateFLOATThe frame rate used for the timeline.
combined_audioAUDIOCombined timeline audio layout.