Nodes/ComfyUI Silver Nodes/Silver H3 Prompt List (string -> string list)
ComfyUI Node

Silver H3 Prompt List (string -> string list)

The two-second adapter that adds one more clip to a batch

By SilverAndJade·Created about a year ago·Updated a day ago· 0
Silver H3 Prompt List (string -> string list)
  • string
  • prompts
append

This is a plumbing node, and plumbing nodes are the ones nobody documents - so here's the case for it. The Silver H3 Batch and Staged Multishot nodes both take a prompts input of type STRING_LIST. That's a list socket, not a text box. You can't type five prompts into it, and the first time you try to wire a plain text node into it, ComfyUI either refuses the connection or silently treats your paragraph as one entry. SilverH3PromptListBuilder is the adapter.

It takes a string (or an existing list) and emits a proper list, optionally with one extra entry appended. That's it. Two inputs, one output, no models, no sampling.

What the inputs do

string is the primary input and it's typed as STRING_LIST, which is the interesting bit: a plain string becomes a 1-entry list, while a list that's already a list passes straight through with blank entries dropped. So the same node covers both "I have one prompt typed in" and "I have a list coming from somewhere else" without you thinking about it.

append is a multiline string - and here's the trick most people miss. If you leave it blank, nothing happens. Put something in it and you get a new final entry, not a concatenation. Since the H3 nodes render one video per list entry, a primary prompt plus an appended one renders two videos: useful for A/B-ing a second take against the first, or for gluing a one-off closing shot onto a set of prompts you built elsewhere. It's a cheap way to grow a batch by one without touching the node that produced the rest.

The single output is prompts, which wires straight into SilverH3Batch's or SilverH3StagedMultishot's prompts input. One video per entry.

Which of the two prompt helpers do you want?

The pack ships two, and they're easy to confuse. This one is the adapter and the appender - it makes a string legal where a list is required, and it can tack on one extra prompt. The other one, Silver H3 Line Batch, is the queue driver: paste one prompt per line and emit a sliding window of batch lines addressed by index, so a single text box can drive an arbitrarily long run as you bump the index between runs.

If you're writing three prompts by hand and want a fourth video with a different look, use this node. If you're working through a book of forty prompts five at a time, use Line Batch.

Install

It arrives with the rest of the pack:

cd ComfyUI/custom_nodes
git clone https://github.com/SilverAndJade/comfyui-silver-nodes

Restart ComfyUI, then search "Silver Nodes" in Manager as an alternative. The pack's requirements.txt is for its loader nodes (beautifulsoup4, moviepy, a pinned opencv-python); this node has no dependencies of its own, but see below - a broken import elsewhere in the pack takes this node down with it.

Where people get burned

Blank entries disappear. Empty lines and empty strings are skipped, which sounds helpful until you're trying to map prompt i to clip i and one of your lines was whitespace. Debug by counting non-empty entries, not lines. The same leniency applies to append: leave it blank and it simply isn't added, so you get exactly what you put in string.

The whole pack can vanish from your node list if a sibling module fails to import - the pack's __init__.py imports every node file at load time, and the WAN HuMo module in particular needs a current ComfyUI. If your nodes disappear after an update, check the console traceback before you go looking at the graph.

And the general one: this is the node you reach for when a socket says a list and you want to type something. Once you know that, the H3 prompt inputs stop feeling hostile.

Categorysilver_nodes/sampling

Inputs (2)

NameTypeDefaultDescription
stringSTRING_LISTPrimary input: a STRING or STRING_LIST. A plain string is converted into a 1-entry list; an existing list is passed through with blank entries dropped.
appendSTRINGOptional secondary string APPENDED as a NEW final entry - each entry becomes its own video in the Silver H3 Batch / Staged, so this adds one extra clip. Leave blank to skip.

Outputs (1)

NameTypeDescription
promptsSTRING_LISTA single list of prompt strings: the primary input (as a list) plus the appended secondary string as a final entry. Feed this ONE output straight into the Silver H3 Batch / Staged node's prompts input - it renders one video per entry.