Nodes/Comfyroll Studio/⌨️ CR Output Flow Frames
ComfyUI Node Runs on cloud

⌨️ CR Output Flow Frames

Saving numbered animation frames to disk

By Suzie1Β·Created 3 years agoΒ·Updated 2 years agoΒ· 1,296
⌨️ CR Output Flow Frames
  • current_image
  • interpolated_img
    β—„output_folderβ–Ύβ–Ί
    β—„filename_prefixCRβ–Ί
    β—„current_frame0β–Ί
    β—„output_pathβ–Ί

    Frame-by-frame animation workflows have a need the standard Save Image node doesn't quite cover: you're not saving one picture, you're saving frame 0, frame 1, frame 2… and you need each one named and numbered consistently so whatever assembles them into a video (or reloads them for a later pass) can find them in order. CR Output Flow Frames is Comfyroll's purpose-built save node for exactly that job.

    What it's for

    It sits in the pack's Animation/IO group alongside CR Load Flow Frames - the "flow" naming points at optical-flow-style frame interpolation workflows, where you generate a set of keyframes and then need to write out both the original frames and any interpolated in-between frames to a consistent, numbered location on disk. This node is the write side of that pair: it takes the current frame (and optionally an interpolated companion frame), tags it with the frame number, and writes it out.

    How it works

    Each call saves the image you feed it under a filename built from your prefix and the current frame number, so a sequence of calls with an incrementing current_frame produces a properly ordered set of files on disk. Because it's marked as an output node, it terminates that branch of the graph - there's nothing downstream to wire up after it.

    Inputs and outputs that matter

    • current_image (IMAGE) - the frame to save. This is the required input doing the actual work.
    • current_frame (default 0, up to 9,999,999) - the frame number, used to build the output filename so frames land in order.
    • filename_prefix (default CR) - the prefix on every saved file, so you can tell one animation's frame dump apart from another's in the same folder.
    • output_folder - a dropdown for picking where frames go. Leave output_path empty to use this.
    • interpolated_img (optional, IMAGE) - a second, interpolated frame to save alongside the current one, for workflows that generate both an original and an in-between frame per step.
    • output_path (optional, string) - a free-text path override if you need frames written somewhere specific rather than picking from the folder dropdown.

    There are no data outputs - this node is a terminal save step, same shape as ComfyUI's built-in Save Image.

    How to install it

    Install through ComfyUI Manager (search "Comfyroll Studio"), or manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
    

    Restart ComfyUI. No models or heavy dependencies - this is a file I/O node.

    Common issues & troubleshooting

    Frames overwrite each other instead of accumulating. Double-check current_frame is actually incrementing between saves - if it's wired to a static value or a counter that isn't advancing (a loop that isn't actually looping, or a primitive you forgot to convert to an input), every save lands on the same filename and you lose everything but the last frame.

    Can't find where the frames went. If output_path is left blank, the node saves relative to whatever output_folder you picked from the dropdown - check that selection before assuming the save failed. If you need a specific absolute location, use output_path instead of relying on the dropdown.

    interpolated_img doesn't seem to do anything. It's optional - if you're not running an interpolation step in your pipeline, leave it disconnected. Wiring an image into it without actually having a distinct interpolated frame just duplicates output for no reason.

    Pack doesn't show up in the node menu at all. That's an install issue, not something about this node specifically - a broken or interrupted clone can take down Comfyroll's entire node registration. Delete the ComfyUI_Comfyroll_CustomNodes folder and reinstall from scratch.

    Category🧩 Comfyroll Studio/πŸŽ₯ Animation/⌨️ IO

    Inputs (6)

    NameTypeDefaultDescription
    output_folderCOMBO0 options:
    current_imageIMAGEβ€”
    filename_prefixSTRINGCRβ€”
    current_frameINT00–9999999β€”
    interpolated_imgoptIMAGEβ€”
    output_pathoptSTRINGβ€”

    Outputs (0)

    No outputs