Nodes/comfyui-ltx2-efficient/LTX2 Efficient Video Sampler
ComfyUI Node

LTX2 Efficient Video Sampler

A ComfyUI node in video/ltx2 with 26 inputs and 1 output.

By kakachiex2·Created 7 months ago·Updated 6 months ago· 10
LTX2 Efficient Video Sampler
  • model
  • latent_video
  • positive
  • negative
  • sigmas
  • LATENT
seed0
steps20
cfg4.00
sampler_name
denoise1.00
optimization_presetThermal Auto-Scale
target_temp70
frame_stride1
attention_window4
freeze_ratio0.30
thermal_throttletrue
interpolation_methodslerp
optimization_engineAdaptive Cache (2-4x speedup)
engine_cache_ratio0.5
engine_merge_ratio0.25
context_slice_methodKeep Last 4096 (Slot 2 - LTX Connector)
max_shift2.05
base_shift0.95
terminal0.10
stretchtrue
frame_rate25.00
Categoryvideo/ltx2

Inputs (26)

NameTypeDefaultDescription
modelMODEL
latent_videoLATENT
positiveCONDITIONING
negativeCONDITIONING
seedINT00–18446744073709550000
stepsINT201–10000
cfgFLOAT4.000–100
sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
denoiseFLOAT1.000–1
optimization_presetCOMBOThermal Auto-Scale7 options: Quality - Fast (RTX 3080+), Quality - Balanced (RTX 3060/3070), Quality - RTX 2060 6GB, Quality - Cool (RTX 2060 6GB), Quality - Ultra Cool (Low Power GPUs), Thermal Auto-Scale, +1
target_tempINT7050–85
frame_strideINT11–32Use 1 for best quality
attention_windowINT41–32
freeze_ratioFLOAT0.300–1
thermal_throttleBOOLEANtrue
interpolation_methodCOMBOslerp4 options: linear, slerp, motion, none
optimization_engineCOMBOAdaptive Cache (2-4x speedup)Temporal attention optimization engine
engine_cache_ratioFLOAT0.50–1Fraction of later steps to cache (AdaCache)
engine_merge_ratioFLOAT0.250–0.5Fraction of tokens to merge (TokenMerge)
context_slice_methodCOMBOKeep Last 4096 (Slot 2 - LTX Connector)For Gemma+LTX Connector: use Last 4096. For T5+Gemma: use First 4096.
sigmasoptSIGMASConnect LTXVScheduler output here to override internal scheduler
max_shiftoptFLOAT2.050–100FlowMatch max shift (same as LTXVScheduler)
base_shiftoptFLOAT0.950–100FlowMatch base shift (same as LTXVScheduler)
terminaloptFLOAT0.100–0.99Sigma terminal value after stretching
stretchoptBOOLEANtrueStretch sigmas to [terminal, 1] range
frame_rateoptFLOAT25.000–1000Frame rate for conditioning (same as LTXVConditioning)

Outputs (1)

NameTypeDescription
LATENTLATENT