Nodes/ComfyUI-PromptDrafter/Single Prompt - PromptDrafter
ComfyUI Node

Single Prompt - PromptDrafter

Single Prompt - PromptDrafter for reusable text

By Carasibana·Created 8 months ago·Updated 6 months ago· 2
Single Prompt - PromptDrafter
    • prompt
    • raw
    prompt
    prefix
    suffix
    prompt_name
    load_prompt

    Sometimes you don't need the whole green-and-red pairing - you need one text field that can act as either, plus the save/load and wildcard machinery bolted on. That's Single Prompt - PromptDrafter: a silver, deliberately neutral prompt box you can point at a positive encoder or a negative one, depending on what you wire it into. It's the pack's Dual Prompt node with the pairing removed, and honestly for a lot of workflows that's the right size.

    The classic use is a negative prompt you never want to retype. The pack even ships one: negative_base is a pre-saved example you can load straight from the load_prompt dropdown, alongside quality_tags, a stock pile of quality boosters for the positive side. Drop a Single Prompt node, load negative_base, wire its prompt output into the negative input of your CLIP Text Encode, and that boilerplate is now a one-click load instead of a memory exercise.

    What you actually touch

    The schema is small:

    • prompt - the main text field. Multiline, and it accepts the same {wildcard_name} placeholders as the bigger node, which sprout matching input ports.
    • prefix / suffix - optional strings prepended/appended with smart comma handling. If you build prompts by chaining (subject from one node, style from another), this is how you glue them.
    • prompt_name + load_prompt - the save/load pair. Saves as JSON in saved/single_prompts/.
    • Outputs: prompt (processed, with wildcards, prefix and suffix applied) and raw (wildcards applied, but no prefix/suffix). The raw output is newish - added in v1.3.2 - and it's what you want when a downstream node needs the un-decorated text.

    Like its bigger sibling it's always-dirty, so wildcards re-roll every queue run instead of caching to a stale value.

    Installing and the fine print

    Install via ComfyUI Manager (search "PromptDrafter") or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Carasibana/ComfyUI-PromptDrafter
    

    then restart. No extra dependencies, no model downloads - the pack's requirements file is deliberately empty beyond ComfyUI itself. Saved prompts live in saved/single_prompts/, which survives git pull updates.

    One naming trap to dodge: if you loaded an old workflow and ComfyUI shows a missing node called SinglePromptDrafter, that's the pre-v1.3.3 key. It still resolves silently, but the current, menu-visible name is Single_PromptDrafter. Search for the underscored version when adding nodes. Also remember this node outputs text, not conditioning - a mistake here produces a type error at the encoder, not a silent wrong image.

    CategoryPromptDrafter

    Inputs (5)

    NameTypeDefaultDescription
    promptSTRING
    prefixoptSTRING
    suffixoptSTRING
    prompt_nameoptSTRING
    load_promptoptCOMBO3 options: , negative_base, quality_tags

    Outputs (2)

    NameTypeDescription
    promptSTRING
    rawSTRING