AD_keyframe_trend_preview
Plot a keyframe trend curve as an image
- trend_data
- graph
This one's a debug tool, not a generation node - it doesn't touch your model, your latents, or your conditioning. It takes a KEYFRAME_TREND object and draws it as a graph image, so instead of trusting that some keyframe-scheduling node upstream is doing what you think it's doing, you can actually look at the curve before you burn GPU time finding out the hard way.
Heads up on where this sits: it's filed under the pack's LTX_video category, but the only node in the current Apt_Preset set that actually produces a KEYFRAME_TREND is AD_Latent_Diffusion_Keyframe - and that node lives in the pack's own Deprecated category. So in practice, this preview node is currently orphaned unless the author kept a newer KEYFRAME_TREND-emitting node elsewhere in the pack that isn't in this batch of articles. Worth checking the pack's live node list before you go hunting for what feeds it.
How it works
It's a straight render: take the trend data, plot it, output a picture. No sampling, no side effects - you can drop this anywhere in a graph as a tap for visual inspection without breaking anything downstream.
The inputs and outputs that matter
trend_data(KEYFRAME_TREND) - the schedule/trend data you want visualized. This is a custom Apt_Preset data type, not a standard ComfyUI type, so it has to come from another Apt_Preset node that outputs it.width(default 1024, range 256–4096) andheight(default 320, range 128–2048) - the pixel size of the rendered graph.
The output, named graph, is an IMAGE - wire it into a Preview Image or Save Image node to actually see it.
How to install it
Through ComfyUI Manager: search "ComfyUI-Apt_Preset" and install. Or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/cardenluo/ComfyUI-Apt_Preset.git
Then, per the pack's README, install dependencies with install.bat (Windows, double-click) or pip install -r requirements.txt from inside the folder (Linux/Mac), and restart ComfyUI. Nothing here needs a model download - it's a plotting utility, so it's as lightweight to install as the pack itself.
Common issues & troubleshooting
Nothing to connect to trend_data. This is the main real-world snag. KEYFRAME_TREND isn't produced by anything currently active in the pack - the source node for it, AD_Latent_Diffusion_Keyframe, sits in the Deprecated group. If you can't find a live upstream source, this node has nothing to draw and you'll want to check whether the pack has added a newer trend-emitting node since this was written, or fall back to whatever the pack's currently-recommended LTX_video workflow uses for keyframe scheduling instead.
Graph comes out blank or unreadable. Try bumping width/height up - the defaults (1024×320) are a reasonable widescreen strip, but a trend with a lot of keyframe points can get cramped at the default size. There's no zoom or interactivity here; it's a static render, so resolution is your only lever.
You just want to sanity-check a schedule before a long render. That's exactly the intended use - cheap to run, no GPU-heavy sampling involved, so it's worth wiring in temporarily any time you're not sure a keyframe curve is shaped the way you expect, rather than finding out 90 frames into a video render.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| trend_data | KEYFRAME_TREND | — | |
| width | INT | 1024256–4096 | — |
| height | INT | 320128–2048 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| graph | IMAGE | — |