comfyui-global-prompts

comfyui-global-prompts
★ 0

全局提示词Note 节点嵌套支持随机选择
通过 Note 节点设置全局提示词,使用 $NOTE_NAME 在任意 prompt 中引用,支持嵌套、随机同名节点与绕过禁用。
💡 跨节点复用和管理全局提示词,简化 prompt 编写。
🍴 1 Forks💻 JavaScript🔄 2026-03-21
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/b6135d9bd930
📄 README

comfyui-global-prompts

Set global prompts using note node.

Usage

  • Create Note node.
  • Change the note node name to whatever you want.
  • Use prompt to “$ + NOTE_NAME” in textarea.
  • If there are multiple note nodes with the same name, one is choosen randomly.

    You can nest multiple note nodes.

    e.g.,

    CLIP Text Encoder: $NoteA

    NoteA: {$NoteB|$NoteC}

    NoteB: {red|green|blue}

    NoteB: white

    NoteB: black

    NoteC: No color

    Bypass note node to disable.

    Nested dynamic prompt

    This extension override original dynamic prompt.

    e.g.,

    {a|b|{c|d}}

    a: 33%

    b: 33%

    c: 16%

    d: 16%

    Weight

    default weight is 1

    e.g.,

    {a:9|b}

    a: 90%

    b: 10%

    Nested weight

    e.g.,

    {{a|b:2|c}:0.5|:0.5}

    a: 12.5%

    b: 25%

    c: 12.5%

    “”: 50%