Nodes/ComfyUI-LTXV-TimeGated-LoRA/LTXV Envelope Curve Preview / Analyze (CPU)
ComfyUI Node

LTXV Envelope Curve Preview / Analyze (CPU)

See your LTX 2.3 LoRA envelope before you spend a render on it

By Jinx138·Created 3 months ago·Updated 27 days ago· 21
LTXV Envelope Curve Preview / Analyze (CPU)
  • data
  • data_2
  • curve_image
  • report_md
  • report_json

ComfyUI has a bad habit of showing you what a node will do only after it's done it. This one is the exception: it draws the exact LoRA strength envelope a gated LTX 2.3 LoRA is going to apply, on the CPU, in a fraction of a second - before you queue a render that might run ten minutes. When you're working with LTX 2.3, which renders mostly blind (the rebuilt VAE broke the old TinyVAE preview trick), a cheap pre-render check is worth its weight.

It's the third node in Jinx138's ComfyUI-LTXV-TimeGated-LoRA pack, and it exists because the pack's main node - LTXV Time-Gated LoRA (LTX 2.3) - is all widgets. Three strength fields, a region picker, a ramp mode, and if you're stacking two or three gated LoRAs, you're eyeballing whether their regions line up. This node turns the envelope data into a picture.

How it works

Mechanically it's simple, which is the point. It takes the custom LTXV_ENVELOPE_DATA payload that the Time-Gated LoRA (or the Temporal Envelope Inspector) emits, renders it into a 1200×800 plot with PIL and numpy on the CPU - no GPU, no sampler involved - and hands you a normal ComfyUI IMAGE plus a text report. The rendering is deliberately CPU-side so you can drop it anywhere in a workflow without touching your VRAM budget.

Wiring

ApplyTimeGatedLoRAToModelLTX23 (data) -> LTXV Envelope Curve Preview (data) -> Preview Image

If you've stacked a second gated LoRA, its data goes into the data_2 input and both envelopes are overlaid in the same coordinate system - that's the comparison view you actually want when one node controls the first third and another takes the last half. If data is missing, data_2 renders by itself. Outputs are curve_image (the IMAGE), plus report_md and report_json if you want the numbers somewhere other than the plot.

The inputs to set: basically none. data and data_2 are both optional and both carry LTXV_ENVELOPE_DATA; feed it nothing and it still runs, which makes it handy as a placeholder in a work-in-progress graph.

Three things to know before you trust the picture

  • It plots the local envelope, not the absolute patch strength. The strength_model multiplier is shown as context in the title, not folded into the Y axis. A curve that tops out at 1.0 while strength_model is 2.0 is showing you the gate, not the effective number.
  • ramp_mode=flat is a hard step and ignores ramp_q. If the curve looks like a box instead of a ramp, that's flat doing its job, not a rendering bug. (This build deliberately stops nagging you with the "ramp_q ignored" warning in that case.)
  • The Y axis starts at 0–1 and only expands when the envelope goes negative or above 1, which happens the moment you use signed slider-LoRA strengths.

Install

Same as the pack, which is boringly easy: no dependencies beyond what ComfyUI already ships (it uses PIL, with a graceful fallback if your environment lacks it), no model downloads.

cd ComfyUI/custom_nodes
git clone https://github.com/Jinx138/ComfyUI-LTXV-TimeGated-LoRA

Restart and look under LTXV/Diagnostics - or grab it via ComfyUI Manager, searching "LTXV Time-Gated LoRA".

Honest note: this is a small, young pack from a first-time custom-node author, and it hasn't accumulated the usual pile of "I tried this and here's what broke" threads - the author's own r/comfyui launch post got exactly zero replies. So the curve preview's biggest value is also its biggest caveat: on a new pack, a picture of what the node thinks it's doing is exactly the debug tool you want, because you can't yet rely on someone else's writeup having found the bug.

CategoryLTXV/Diagnostics

Inputs (2)

NameTypeDefaultDescription
dataoptLTXV_ENVELOPE_DATAOptional first envelope data stream from LTXV Time-Gated LoRA. If omitted, data_2 can be shown alone.
data_2optLTXV_ENVELOPE_DATAOptional second envelope data stream to overlay in the same coordinate system. If data is missing, this input is rendered by itself.

Outputs (3)

NameTypeDescription
curve_imageIMAGE
report_mdSTRING
report_jsonSTRING