Nodes/wlsh_nodes/Save Prompt/Info (WLSH)
ComfyUI Node

Save Prompt/Info (WLSH)

The KSamplerAdvanced-aware prompt logger

By wallish77·Created 3 years ago·Updated 2 years ago· 144
Save Prompt/Info (WLSH)
  • info
    filenameinfo
    path
    positive
    negative
    modelname
    seed0
    counter0
    time_format%Y-%m-%d-%H%M%S

    This is the "info" half of a pair. The pack ships two very similar text-logging nodes - this one and the plain Save Prompt (WLSH) - and the reason they're separate rather than one node with an optional field is specifically compatibility: the README explains that these info-aware save nodes are kept apart from the plain ones because bundling in the info connection caused conflicts with other third-party node suites, TTN being the one it names. So if you've got a graph with a few different node packs' save nodes in it and something starts acting strange, that's a known, documented reason, not a mystery.

    What it does. Writes your prompt (and whatever else you attach) to a text file - same basic job as Save Prompt (WLSH), but built to accept an info connection specifically from this pack's own KSamplerAdvanced (WLSH) node. That node's INFO output bundles up sampler settings - the stuff you'd otherwise have to wire in field-by-field (steps, cfg, sampler name, and so on) - so if you're using WLSH's advanced sampler already, this save node lets you log all of that in one wire instead of five.

    Inputs: filename (default "info"), path, and positive are required. Optional: negative, modelname, seed, counter, time_format (default %Y-%m-%d-%H%M%S), and info - that last one is the connection point for KSamplerAdvanced (WLSH)'s INFO output. If you're not using that specific sampler node, just skip info and fill in negative/modelname/seed by hand instead; nothing requires it. Outputs: none - this is a pure write-to-disk node.

    Installing it

    Through ComfyUI Manager: search "wlsh_nodes" or "WLSH Nodes", install, restart. Manually: cd ComfyUI/custom_nodes && git clone https://github.com/wallish77/wlsh_nodes, then restart ComfyUI.

    Common issues

    If you're not getting the rich detail you expected in your saved text file, check that info is actually connected - this node doesn't reach out and grab sampler settings on its own, it only logs what's wired into it, info included. And per the pack's own README, if you're running this alongside other prompt/metadata save nodes from different packs (TTN specifically called out) and something conflicts, that's the reason the "plain" and "info" variants exist as separate nodes in the first place - try swapping to Save Prompt (WLSH) without the info connection if you hit that wall and don't need the KSamplerAdvanced data. One more shared-with-the-rest-of-the-pack caveat: don't put timestamp tokens in the path field expecting them to expand - that's only implemented for filename templating elsewhere in this pack, and there's no indication this node's path field is any different.

    CategoryWLSH Nodes/IO

    Inputs (9)

    NameTypeDefaultDescription
    filenameSTRINGinfo
    pathSTRING
    positiveSTRING
    negativeoptSTRING
    modelnameoptSTRING
    seedoptINT00–18446744073709550000
    counteroptINT00–18446744073709550000
    time_formatoptSTRING%Y-%m-%d-%H%M%S
    infooptINFO

    Outputs (0)

    No outputs