Nodes/ComfyUI-Koolook/Koolook Publish Output
ComfyUI Node

Koolook Publish Output

Koolook Publish Output

By malkuthro·Created 11 months ago·Updated a day ago· 8
Koolook Publish Output
    • folder
    • name
    • version
    • switch
    folder
    name
    version1
    output_modeSame as input
    input_switch2

    Koolook Publish Output is the mirror image of Publish Input: where Input declares what a published workflow can be fed, Output declares where it writes. Folder, name, version, and output type - the four things an external app needs to know to run your published setup and file its results correctly.

    Like its sibling it's a contract node, not a processor. You set the values, they flow out as strings, and the external published-setup runner reads the same contract to know what to expect. It's the "output_args" half of a published pipeline.

    The inputs

    • folder - destination directory, exposed to the app and wired into your writer/path nodes.
    • name - the base output name.
    • version - the version token or number (a string, so v003 and 3 both work).
    • output_mode - which writer branch the payload should route into: Same as input (the default), EXR, QT, or Img. The tooltip is the spec: "Same as input passes the wired input switch through (output type follows input type); pick EXR/QT/Img to write a different type than the source."
    • input_switch - optional. Wire Publish Input's switch output here. Only used when output_mode is Same as input; it makes the output type follow whatever input type was chosen. Ignored when a concrete mode is selected.

    The outputs

    Four: folder, name, version (the strings, wired into downstream writer/path nodes) and switch - an INT that feeds Koolook Publish Router's selector. The switch resolution logic is worth knowing: Same as input passes the wired input switch through, so an unmodified setup writes the same type it reads. A concrete EXR/QT/Img overrides it. Prompt is never an output format, so an index of 3 falls back to following the input switch.

    How it fits the Publish family

    The chain is: Publish Input (source) → Publish Router (fan the payload into branches) → Publish Output (writer branch index) → Publish Result (report the outcome). Output is the middle contract: it's what tells the router which branch to keep, and it's what the external app reads to know where the results landed.

    Install

    Part of ComfyUI-Koolook. Manager → Install Custom Nodes → Git URL:

    https://github.com/malkuthro/ComfyUI-Koolook.git
    

    Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/malkuthro/ComfyUI-Koolook.git
    

    Restart and it's under Koolook/Publish. No models, no dependencies. And the pack rule: install once. A Manager install at custom_nodes/koolook/ plus a second clone double-registers everything and corrupts the workflow store on every boot - remove one folder.

    Common issues

    • Writes the wrong type - output_mode is Same as input but input_switch isn't wired, so it falls back to a default (Img). Either wire the input switch or pick a concrete mode.
    • Outputs in the wrong place - folder isn't actually connected to your writer nodes. Declaring it here doesn't move files by itself; the string has to reach a real save node.
    • Prompt mode confusion - Prompt is a source type, never an output format. If you're seeing it in the output dropdown, remember it isn't a writer branch - that's by design.
    CategoryKoolook/Publish

    Inputs (5)

    NameTypeDefaultDescription
    folderSTRINGDestination folder exposed to the external app and wired into downstream writer/path nodes.
    nameSTRINGBase output name exposed to the external app.
    versionSTRING1Output version token or number exposed to the external app.
    output_modeCOMBOSame as inputWriter branch to route the payload into. 'Same as input' passes the wired input switch through (output type follows input type); pick EXR/QT/Img to write a different type than the source. The 'switch' output wires into Koolook Publish Router's selector.
    input_switchoptINT20–3Wire Koolook Publish Input's 'switch' output here. Used only when output_mode is 'Same as input' — it makes the output type follow the chosen input type. Ignored when a concrete output_mode is selected.

    Outputs (4)

    NameTypeDescription
    folderSTRING
    nameSTRING
    versionSTRING
    switchINT