Tag Injector Large
Ten placeholders, and two of them do nothing by default
- tagged_text
- placeholders
Large is the biggest of the pack's tag-injector family - ten swappable placeholders instead of Single's one, Duo's two, or the base Tag Injector's three - and the README frames it plainly: "a larger template that injects multiple semantic placeholders such as __location__, __weather__, __style__, etc." It ships with a genuinely elaborate default template to demonstrate the idea: "In a __location__ under a __weather__ sky, a __personality__ person shows __emotion__ while wearing __style__. The __time__ is perfect for a __action__ amidst __mood__."
How it works - same mechanism as the rest of the family, just wider. Write (or use the default) template string full of __placeholder__ markers, supply up to ten values through tag_1–tag_10, and name each one via tag_name_1–tag_name_10. The node swaps every matching named placeholder in the template for its value.
A real gotcha worth flagging, straight from the schema. The ten tag_name defaults are location, color, object, emotion, weather, personality, time, action, style, mood. But count the placeholders actually present in the shipped default template - location, weather, personality, emotion, style, time, action, mood - that's only eight. color (tag_name_2) and object (tag_name_3) have no matching __color__ or __object__ anywhere in the default template text. Wire values into tag_2 or tag_3 out of the box and they'll do precisely nothing until you actually add __color__ and __object__ somewhere in your own template. This isn't a bug in the node - the tag names and the default template just aren't fully in sync - but it's exactly the kind of mismatch that costs you ten minutes wondering why two of your ten inputs seem to be ignored.
Inputs and outputs. template (required, multiline, defaults to the eight-placeholder sentence above). tag_1–tag_10 (optional multiline strings) and tag_name_1–tag_name_10 (optional strings, the ten defaults listed above). Outputs: tagged_text (the result) and placeholders (undocumented beyond its name - a status string, not something you'd typically route onward).
Installing it. No dependencies. Search "comfyui_gr85" in ComfyUI Manager, or git clone https://github.com/veighnsche/comfyui_gr85 into custom_nodes, then restart.
Practical advice. Before wiring all ten tag inputs, either rewrite the default template to actually include __color__ and __object__ (or whichever placeholders you're using), or just check tagged_text after your first run to confirm every input you connected actually shows up substituted. And if you only need three or four placeholders, reach for the base Tag Injector or Duo instead - Large's ten sockets are a lot of graph real estate for a template that doesn't need them.
The upside of the extra sockets, once your template actually uses them, is that you can build genuinely elaborate scene descriptions - location, weather, mood, wardrobe, action - as ten independently controllable pieces, each of which could itself be fed by a wildcard picker or a seed-based selector elsewhere in the graph rather than typed by hand every time.
Inputs (21)
| Name | Type | Default | Description |
|---|---|---|---|
| template | STRING | In a __location__ under a __weather__ sky, a __personality__ person shows __emotion__ while wearing __style__. The __time__ is perfect for a __action__ amidst __mood__. | — |
| tag_1opt | STRING | — | |
| tag_2opt | STRING | — | |
| tag_3opt | STRING | — | |
| tag_4opt | STRING | — | |
| tag_5opt | STRING | — | |
| tag_6opt | STRING | — | |
| tag_7opt | STRING | — | |
| tag_8opt | STRING | — | |
| tag_9opt | STRING | — | |
| tag_10opt | STRING | — | |
| tag_name_1opt | STRING | location | — |
| tag_name_2opt | STRING | color | — |
| tag_name_3opt | STRING | object | — |
| tag_name_4opt | STRING | emotion | — |
| tag_name_5opt | STRING | weather | — |
| tag_name_6opt | STRING | personality | — |
| tag_name_7opt | STRING | time | — |
| tag_name_8opt | STRING | action | — |
| tag_name_9opt | STRING | style | — |
| tag_name_10opt | STRING | mood | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| tagged_text | STRING | — |
| placeholders | STRING | — |