WeiLin Negative Prompt To String
The negative box, for models that still read one
- 反向 STRING
This is the mirror image of the pack's positive-to-string node: a negative prompt box in, a string out, nothing else happening. And before you add it to a graph, ask the one question that matters - does your checkpoint actually read a negative prompt?
Whether you need it at all
The negative prompt's reputation has changed more than the node has. On the SDXL lineage - vanilla SDXL, Illustrious, Pony, NoobAI, WAI - the negative is alive and does real work at CFG 4–9, and this box is a perfectly good home for it. On newer LLM-encoded models, and at CFG 1 on the distilled checkpoints, the negative is largely inert: the box fills up, nothing happens. So if you're running an anime SDXL model and your negative list actually matters, this node is useful. If you're on a modern instruction-encoded model, skip it - you don't need a negative box at all, and certainly not a custom node to carry one.
What it is and how it works
Mechanically it's a passthrough: the code is return (negative,). The value is the same front end every node in this pack shares - tag autocomplete, translation, tag toggles, and the "打开可视化PromptUI" button that opens the visual tag editor in an iframe and writes its result back into the box. You type your negatives with the same editing comfort as your positives, and the node hands a clean string to whatever comes next.
Inputs and outputs
One input, negative (multiline string). One output, 反向 STRING - "negative STRING", Chinese-named for everyone because that's the author's constant, not a locale quirk. Wire it into the negative slot of a CLIPTextEncode and you're done.
Installing
Same as every node in the pack:
cd ComfyUI/custom_nodes
git clone https://github.com/weilin9999/WeiLin-ComfyUI-prompt-all-in-one
or search WeiLin-ComfyUI-prompt-all-in-one in ComfyUI Manager. First launch auto-installs the pack's two deps (gradio, ruamel.yaml) and prints startup banners - let it finish.
The honest take
This is the thinnest node in the pack, and it only earns its place if you're (a) on an SDXL-lineage model where negatives matter, and (b) already using the editor for your positives. If you're not going to touch the tag editor, the stock ComfyUI text box does exactly this with zero dependency baggage. And one thing to know up front: the whole pack is deprecated - the README opens by pointing at the successor, WeiLin-Comfyui-Tools. The nodes work as-is today; just don't build on the assumption it'll ever get another update.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| negative | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| 反向 STRING | STRING | — |