ComfyUI Node

Painter Prompt

Three text boxes that feed a per-segment prompt list

By princepainter·Created 7 months ago·Updated 4 days ago· 192
Painter Prompt
  • optional_prompt_list
  • prompt_list
  • prompt_strings
prompt_1
prompt_2
prompt_3

PainterPrompt is a boring utility node, and that's the point. It's the prompt side of the Painter storyboard pipeline: three multiline text boxes that come out as a prompt list, one entry per video segment, ready to plug into PainterMultiF2V's positive and negative LIST inputs.

There's nothing clever under the hood. The node collects prompt_1, prompt_2, and prompt_3 in order, skips any that are empty, and if you also feed it optional_prompt_list (a LIST from some other prompt node or wildcard source), those items come first. It then emits the result twice: prompt_list as a LIST and prompt_strings as a list of STRINGs. They're the same data - pick whichever type your downstream node wants. It's the same "text to list" pattern a dozen other packs ship; don't expect wildcard processing or prompt weighting magic.

Why it's worth having

Because of a strict rule in the sibling node: PainterMultiF2V needs exactly one prompt per segment - N keyframes → N−1 segments, so N−1 prompts - and it raises a clear error if the counts don't line up. PainterPrompt is the ergonomic way to keep those numbers in step. Type one prompt per box, connect prompt_list, and the segment count matches by construction. For negative prompts, use a second PainterPrompt instance, which is exactly what the bundled workflow does.

Gotchas

  • Empty boxes vanish. Leave prompt_2 blank and the output list has two entries, not three - and your segment count math breaks downstream. Fill every box, even with a one-word prompt.
  • Order matters. Items from optional_prompt_list are prepended before prompt_1prompt_3. If you mix both, keep the order in mind because the list is positionally matched to segments.
  • There's no automatic alignment. If you change the number of keyframes in PainterMultiF2V, the prompt count won't fix itself.

Install

Part of the same pack, so it arrives with the others:

cd ComfyUI/custom_nodes
git clone https://github.com/princepainter/ComfyUI-PainterMultiF2V

or search ComfyUI-PainterMultiF2V in ComfyUI Manager and restart. No dependencies, no models, nothing to download.

Honestly, if you already have a favorite text-to-list node, you don't need this one - you can feed any LIST of strings into PainterMultiF2V. PainterPrompt just keeps the multi-segment prompt workflow tidy in one obvious place. Sometimes the right tool is a box with a hole in it.

CategoryPainter/Prompt

Inputs (4)

NameTypeDefaultDescription
prompt_1STRING
prompt_2STRING
prompt_3STRING
optional_prompt_listoptLIST

Outputs (2)

NameTypeDescription
prompt_listLIST
prompt_stringsSTRING