Nodes/ComfyUI-LTX-Attention-Toolkit/LTX Attn — Zone Analysis
ComfyUI Node

LTX Attn — Zone Analysis

A ComfyUI node in g_raw/LTX/Profiler with 12 inputs and 2 outputs.

By g-raw·Created 2 months ago·Updated 29 days ago· 2
LTX Attn — Zone Analysis
  • zone_mask
  • zone_heatmap
  • ranked_heads
attn_typesa
step_idx-1
num_frames1
latent_height16
latent_width16
query_modekey_mass
aggregate_timetrue
mask_threshold0.50
colormapviridis
cell_size16
top_k10
Categoryg_raw/LTX/Profiler

Inputs (12)

NameTypeDefaultDescription
zone_maskMASK
attn_typeCOMBOsa2 options: sa, ca
step_idxINT-1-1–255-1 = average over all steps.
num_framesINT11–256
latent_heightINT161–256
latent_widthINT161–256
query_modeCOMBOkey_masskey_mass : mass received by zone tokens (which LOOK AT the zone?) query_mass : mass emitted by zone tokens (from where does the zone LOOK?) both : average of both
aggregate_timeBOOLEANtrueTrue = aggregate over all frames. False = analyze only frame 0.
mask_thresholdFLOAT0.500–1Binarization threshold for the latent mask.
colormapCOMBOviridis4 options: viridis, inferno, turbo, coolwarm
cell_sizeINT164–64
top_kINT101–64

Outputs (2)

NameTypeDescription
zone_heatmapIMAGE
ranked_headsSTRING