comfyui-prompt-composer

comfyui-prompt-composer
★ 301

提示词管理字符串组合节点链权重控制
用于在ComfyUI中管理与组合提示词字符串,支持按顺序链式连接、逻辑分组与权重控制,便于构建可读且可复用的prompt流程。
💡 将多个提示字符串按逻辑与权重组合成稳定的生成prompt。
🍴 22 Forks💻 Python🔄 2026-01-31
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/2df45d172dc1
ComfyUI Prompt Composer Node
Styler Node
📄 README

ComfyUI Prompt Composer

A suite of tools for prompt management.

_If this project is useful to you and you like it, please consider a small donation to the author._

➡️ https://ko-fi.com/stefanoflore75

Overview

Basic workflow for testing the nodes: prompt-composer-base-workflow.json

Install from ComfyUI Manager

  • Type _florestefano1975_ on the search bar of ComfyUI Manager.
  • Click the install button.
  • Manual installation and update instructions

    Install

    To install comfyui-prompt-composer:

  • open the terminal on the ComfyUI installation folder
  • digit: cd custom_nodes
  • digit: git clone https://github.com/florestefano1975/comfyui-prompt-composer
  • start/restart ComfyUI
  • Update

    To update comfyui-prompt-composer:

  • open the terminal on the comfyui-prompt-composer folder
  • digit: cd custom_nodes
  • digit: cd comfyui-prompt-composer
  • digit: git pull
  • start/restart ComfyUI
  • Warning: before the update create a backup of the TXT files contained in the _custom-list_ folders.

    Node List

  • Custom Lists Node: this node reads the lists contained in the _custom-lists_ folder and creates a selector/weight pair for each.
  • Single Text Node: contains a typing box and a slider to adjust its weight.
  • Multiple Text Node: contains six typing boxes with sliders to adjust their weights.
  • Grouping Node: encapsulates the input concatenated strings in brackets () and assigns a weight to the group.
  • Merge Node: this node joins two text strings.
  • Single Text Node, Multiple Text Node, Styler Node, Effect Node and Grouping Node have an entry point (_text_in_opt_) to concatenate unlimitedly with the other nodes, and _active_ switch option for fast by-pass.

    Custom Lists Node

    Create the TXT files in the custom-lists folder and insert the selector entries into each of them. You can create lists with simple items or libraries with entire prompts, so you can reuse and combine them as you like.

    Important: changes inserted into the custom lists folder require restarting ComfyUI.

    Deprecated Nodes

    Nodes Effect and Styler are deprecated and will not receive future updates.

    Usage

    Combining nodes helps the user sequence strings for prompts, also creating logical groupings if necessary.

  • Individual nodes can be chained together, in any order.
  • All _text_outs_ are simple text strings. You can also use nodes with other plugins.
  • Slider weights set to 1 do not encapsulate the related text in parentheses ().
  • Customization

    The _lists_ folder contains TXT files with _Style_ and _Effect_ node list entries.

    SDXL Turbo Workflow

    In the _workflow_ folder you can download and use an SDXL Turbo configuration with some of the custom nodes already inserted and ready to use.

    Notes

    For advanced photorealism we recommend FormulaXL 2.0.

    Other projects

  • ComfyUI Portrait Master
  • ComfyUI StabilityAI Suite