Nodes/ComfyUI-Easy-Media/Timeline Info Output
ComfyUI Node

Timeline Info Output

Read your timeline's prompt, dimensions, and image indexes in one grab

By yolain·Created 3 months ago·Updated about 17 hours ago· 158
Timeline Info Output
  • timeline_info
  • PROMPT
  • WIDTH
  • HEIGHT
  • TOTAL_FRAMES
  • FPS
  • IMAGE_INDEXES
prompt_formatdefault

A timeline editor is only useful if you can read the timeline back out. Timeline Info Output is the read-back node for the pack's Timeline Editor: feed it the TIMELINE_INFO blob and it hands you the formatted prompt for the whole timeline, the resolution, total frames, frame rate, and the image indexes - everything a downstream video model needs to know about the storyboard in one place.

What you get

  • PROMPT - the timeline's prompt, assembled. This is the one you'll feed to a text encoder or conditioning node.
  • WIDTH / HEIGHT - timeline resolution (INT).
  • TOTAL_FRAMES - full duration in frames (INT).
  • FPS - frame rate (FLOAT).
  • IMAGE_INDEXES - which images in the timeline belong where, as a string.

The single input that shapes the PROMPT output is prompt_format:

  • default - the timeline's own prompt format.
  • promptRelay - formats prompts with frame ranges, ready for Prompt Relay-style structured encoding. If you're feeding a Prompt Relay node (a common pairing in this pack's ecosystem), that's the option you want, because the frame-range annotations are exactly what the relay encoder expects.

Why it earns its keep

ComfyUI is allergic to hardcoded numbers, and the timeline makes that worse - its resolution and fps are set in the editor, invisible to the rest of the graph. This node surfaces them as actual sockets, so you can wire WIDTH/HEIGHT/FPS into latent creation and conditioning without restating them. And TOTAL_FRAMES is what you'd feed a frame-count check or a loop that needs to know when the storyboard ends.

It's the natural partner to Timeline Segment Output: use this node for the timeline-wide values, use the segment node when you're iterating shot by shot.

Install

It's part of ComfyUI-Easy-Media:

cd ComfyUI/custom_nodes
git clone https://github.com/yolain/ComfyUI-Easy-Media.git

restart ComfyUI (or ComfyUI Manager → "Easy-Media"). FFmpeg system-wide for the pack, no extra model files for this node.

The gotcha

The PROMPT is only as good as the timeline's segment prompts, and if a segment has no prompt the timeline-wide output can look deceptively short - check the editor before assuming your storyboard is complete. Also, promptRelay format assumes you have the matching encoder on the other side; if you pick it and feed the string to a plain text node instead, you'll see the raw frame-range syntax staring back at you. Pick the format to match your downstream, not the other way around.

CategoryEasyUse/TimelineEditor

Inputs (2)

NameTypeDefaultDescription
timeline_infoTIMELINE_INFO
prompt_formatCOMBOdefaultChoose prompt format. promptRelay formats prompts with frame ranges.

Outputs (6)

NameTypeDescription
PROMPTSTRING
WIDTHINT
HEIGHTINT
TOTAL_FRAMESINT
FPSFLOAT
IMAGE_INDEXESSTRING