Nodes/fxai-toolkit/凤希AI - 视频管理
ComfyUI Node

凤希AI - 视频管理

The node that tells you where the pack actually saved your videos

By fxai666·Created 4 months ago·Updated 4 days ago· 35
凤希AI - 视频管理
  • 视频
  • 文件夹路径
  • 视频总数
目录sucai

FxAiVideoManager ("凤希AI - 视频管理") does one thing: it resolves the folder path the pack's video generators write into, and reports how many videos are in there. Two outputs, zero rendering, and a surprisingly important job given how easy it is to lose files in this pack.

Why it exists

Here's the thing nobody warns you about with fxai-toolkit: its video generators do not save to ComfyUI's output/ folder. They save under ComfyUI/fxai/video/<目录>/ - a completely separate tree, keyed off whatever 目录 string you passed. Type "sucai" (the default) and your rendered segments land in ComfyUI/fxai/video/sucai/. If you're used to hunting in output/, you will not find them there.

This node exists so you never have to type that path or remember the convention. Give it the same 目录 string your generator used, and it hands back the exact resolved folder path plus a count of the video files currently in it. That path is what you feed FxAiVideoLoad, FxAiVideoMerger, or FxAiVideoPreview.

The inputs:

  • 目录 - STRING, default "sucai". Must match the generator's 目录 for the outputs to line up.
  • 视频 - optional VIDEO socket, accepted and mostly ignored for now (the pack's "if a VIDEO type shows up, enable it" pattern).

The outputs:

  • 文件夹路径 - STRING. The full absolute path.
  • 视频总数 - INT. How many video files are in that folder right now.

How it works

It's a directory resolver: it runs the same get_video_dir(目录) helper the generators use (which sanitizes the name and mkdir -ps it under fxai/video), then lists the video files and counts them. That means calling it creates the folder if it doesn't exist - harmless, but worth knowing if you're path-scavenging and a folder mysteriously appears.

The workflow shape

The intended pattern is: generator writes to sucai → FxAiVideoManager resolves sucai → merger concatenates everything in sucai → preview shows the result. Doing that through wires instead of typed paths keeps a long workflow honest as you change subdirectory names. Change 目录 in one place and every downstream node follows.

Gotchas and install

  • Get the 目录 spelling right. sucai and sucai/ and Sucai are three different folders to this node, because it just string-joins. The case-sensitive typo is the classic way to point a merger at an empty directory.
  • It's not a loader and it won't decode anything - it's metadata plumbing, exactly the kind of node comfyui-node-plumbing describes: invisible, indispensable.

Install as part of the pack:

cd ComfyUI/custom_nodes
git clone https://github.com/fxai666/fxai-toolkit

Restart ComfyUI, or use ComfyUI Manager and search "fxai-toolkit". No models, no downloads - it's os calls under the hood.

Category凤希AI/视频

Inputs (2)

NameTypeDefaultDescription
目录STRINGsucai
视频optVIDEO

Outputs (2)

NameTypeDescription
文件夹路径STRING
视频总数INT