ComfyUI Node

VNCCS Variable

A plain any-type box for wiring VNCCS graphs together

By AHEKOT·Created 11 months ago·Updated 25 days ago· 1,446
VNCCS Variable
    • value
    value

    This one isn't fancy, and it isn't trying to be. VNCCS Variable is a text box that outputs whatever you typed into it as a wildcard-typed value - the ComfyUI equivalent of a sticky note you can plug into anything. It exists because VNCCS's own configuration nodes (Control Center's node_state, the generator nodes' widget_data) are all plain JSON strings under the hood, and sometimes you want to feed a value into one of those pipelines, or hold a value steady across a big graph, without fighting ComfyUI's type system.

    What it does

    You type a value into the value field, and it comes back out as type * - ComfyUI's "connect to anything" wildcard. That's the whole node. It's not evaluating the string, transforming it, or validating it against anything; it's a container.

    Where it's actually useful

    Two honest use cases. First, as a single source of truth: if a character name, a costume label, or a repeated bit of prompt text needs to show up in three different places in your graph, put it in one Variable node and wire it to all three instead of retyping it and risking a typo in one copy. Second, as a bridge: because the output type is wildcard rather than STRING, you can drop it into slots that are typed loosely enough to accept it, which comes up more than you'd expect in a suite built around JSON-blob widgets like VNCCS's.

    Inputs and outputs

    • value (STRING, default empty) - the only input, and it's a plain text field.
    • Output: value (type *) - whatever you typed, unmodified, cast as wildcard.

    There's genuinely nothing else in the schema. If you're expecting type coercion, math, or string formatting, this isn't that node - it's closer to a reroute with a name attached.

    Installing it

    It's part of the base pack, no separate download. ComfyUI Manager: search "VNCCS - Visual Novel Character Creation Suite", install latest, restart. Or manually, cd ComfyUI/custom_nodes && git clone https://github.com/AHEKOT/ComfyUI_VNCCS.git and restart ComfyUI. You don't need Control Center or any model downloads to use this node - it doesn't touch generation at all.

    Common issues & troubleshooting

    A downstream node rejects the wildcard output. Some ComfyUI nodes are strict about accepted types despite * generally being treated as "accepts anything" - if a connection refuses to attach, that's the downstream node's type declaration being narrower than expected, not a bug in Variable. Try a standard ComfyUI STRING/INT primitive instead if the target only accepts a specific type.

    You want it to do math, concatenation, or conditionals. It won't - this is intentionally the simplest node in the pack. If you need actual logic on values inside a VNCCS graph, look at general-purpose expression nodes elsewhere in your install rather than expecting VNCCS to have shipped one; nothing in this pack's own utility set does string manipulation beyond the tag-builder nodes like Clothes Templates.

    Nothing seems to change when you edit the field mid-run. Like most ComfyUI widgets, the value is read when the node executes, not live - re-queue the workflow after editing it.

    CategoryVNCCS/Variables

    Inputs (1)

    NameTypeDefaultDescription
    valueSTRING

    Outputs (1)

    NameTypeDescription
    value*