Nodes/Hiero-Nodes/Load Prompt Travel file
ComfyUI Node

Load Prompt Travel file

Load prompt travel files and renumber them from any starting frame

By Hiero207·Created 3 years ago·Updated 2 years ago· 6
Load Prompt Travel file
    • p
    load_directoryload/dir
    file_nameprompts
    skipped_frames0

    This is the read-half of the prompt travel pair, and it's the smarter half. Load Prompt Travel file takes a text file of per-frame prompts and re-emits them as a single STRING - but instead of echoing the file back verbatim, it adds the frame number for each prompt at load time. The author built it that way on purpose, and the reason is the one genuinely clever thing about this node: because numbering happens on load, not save, you can start your animation at any point in your prompt collection and have that prompt counted as frame 1. No re-numbering the file by hand, no editing text files between projects.

    Three inputs, and honestly only two you'll touch:

    • load_directory - where the file lives (default placeholder load/dir).
    • file_name - defaults to prompts, which matches what Save Prompt Travel file writes by default, so the pair lines up out of the box.
    • skipped_frames - how many prompts to skip off the top of the file before numbering starts. This is your "start in the middle" control: drop the first fifty prompts and the animation picks up at fifty-one, renumbered to frame 1.

    One output: a single STRING with the frame-numbered prompt list. The author's stated pairing is FizzNodes' Batch Prompt Schedule, which takes that text block and turns it into the scheduled conditioning AnimateDiff-Evolved needs - per-frame prompting is the classic way to drive a "prompt travel" video where the scene morphs through a sequence of descriptions. The output also works into any node that wants a large prompt string, but Batch Prompt Schedule is where this node shines.

    The workflow it belongs to: you tag a reference video frame-by-frame with a WD14 Tagger, save the results with Save Prompt Travel file, then load them back with this node when you're ready to render - and skipped_frames means you can re-render starting from the middle of the collection without touching the source file. It's a niche tool for a niche technique, and it's genuinely well thought out for that niche.

    Installation comes bundled with the whole pack - search Hiero-Nodes in ComfyUI Manager, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Hiero207/ComfyUI-Hiero-Nodes
    

    then restart ComfyUI. No dependencies, no model downloads; this is plain text-file reading. One honest heads-up: the pack's GitHub URL was returning a 404 at the time of writing, so the repo has likely been renamed or removed - if the clone fails, try ComfyUI Manager, and don't expect updates regardless. It's a small personal utility, and it works because it's simple.

    The usual failure modes are file-location issues: load_directory/file_name must point at the same file you saved, and the path defaults imply a directory relative to your ComfyUI install, so absolute paths or an existing folder save you a head-scratch. And if your animation is starting at the wrong prompt, skipped_frames - not the file - is what you're looking for.

    CategoryHiero Nodes

    Inputs (3)

    NameTypeDefaultDescription
    load_directorySTRINGload/dir
    file_nameSTRINGprompts
    skipped_framesINT0

    Outputs (1)

    NameTypeDescription
    pSTRING