Nodes/ComfyUI illumorae/Save Animated WEBP FolderPath
ComfyUI Node

Save Animated WEBP FolderPath

Save an animated WebP anywhere you want, not just into ComfyUI's output folder

By CorvaeOboro·Created 8 months ago·Updated 5 days ago· 1
Save Animated WEBP FolderPath
  • images
  • filepath
folderpath_inputc:/
foldername_prefixgen
filename_prefixoutput
fps20.00
losslesstrue
quality100
method
save_metadataenabled
counter_digits3
counter_positionlast

Core ComfyUI will happily save your animated WebP - into ComfyUI/output, buried four directories deep, where you'll dig it out of a subfolder named after the workflow. This node exists because the illumorae pack (CorvaeOboro's collection of randomization and project-structure tools) wants its generations organized into named folders you actually control. So Save Animated WEBP FolderPath takes an image sequence and writes it as an animated WebP to an external path you specify, with its own naming and counter scheme, and it hands you back the full file path as a string output.

WebP is the right format for this too: it loops like a GIF but compresses far better and can be lossless, which is why it's the standard short-animation output in video workflows. And because it's still a ComfyUI save node, it embeds the workflow and prompt into the file's EXIF when metadata is on - the whole "the image is the project file" property, just in a WebP instead of a PNG.

How it works

The mechanism is the standard save-node dance, pointed at your folder instead of the managed output directory. You give it a base folderpath_input (the default is literally c:/, which tells you the author's on Windows), a foldername_prefix (default gen) and a filename_prefix (default output). It creates folderpath_input/foldername_prefix if needed, scans the folder for existing .webp files matching the prefix, and picks the next counter so it never overwrites. Then it converts the image tensors to PIL frames and saves with save_all, duration derived from fps (default 20), plus lossless, quality, and method (default/fastest/slowest) controls straight out of the WebP encoder's playbook.

Two small but useful details: counter_digits (2–6) and counter_position (first/last) control whether your files look like output_001.webp or 001_output.webp. And if you leave folderpath_input empty, it quietly falls back to the normal ComfyUI output directory.

Inputs and outputs that matter

  • images - the IMAGE sequence, usually from a VHS/video decode or a batch sampler.
  • folderpath_input - the one you must change first. It defaults to c:/, which is meaningless on Linux/macOS.
  • fps, lossless, quality - the quality triangle. Lossless at quality 100 is the safe default; drop quality when files get huge.
  • save_metadata - enabled (default) or disabled.

Output: a single filepath STRING with the full saved path. That string is also printed to the ComfyUI console.

Installing it

ComfyUI Manager → search "illumorae" → install, or:

cd ComfyUI/custom_nodes
git clone https://github.com/CorvaeOboro/ComfyUI_illumorae

Restart ComfyUI. No model downloads. Deps are numpy/pillow/torch - already in every ComfyUI.

The gotcha to know about

Because the file lands outside ComfyUI's managed output directory, the preview panel won't populate. That's not a bug - the node even documents it in its source comment. The file is where you told it to be; use the returned filepath output (or the console log line) to find it. If you wire that path into a Text Show node, you can watch the save location update live. One more: if you're running with --disable-metadata, set save_metadata to disabled or the EXIF write silently does less than you think.

Categoryillumorae

Inputs (11)

NameTypeDefaultDescription
imagesIMAGE
folderpath_inputSTRINGc:/
foldername_prefixSTRINGgen
filename_prefixSTRINGoutput
fpsFLOAT20.000.01–1000
losslessBOOLEANtrue
qualityINT1000–100
methodCOMBO3 options: default, fastest, slowest
save_metadataCOMBOenabled2 options: disabled, enabled
counter_digitsCOMBO35 options: 2, 3, 4, 5, 6
counter_positionCOMBOlast2 options: first, last

Outputs (1)

NameTypeDescription
filepathSTRING