ComfyUI-PonySwitch

ComfyUI-PonySwitch
★ 10

提示词管理开关控制批量修改ComfyUI 节点
根据开关决定是否在正负提示词前加入可配置的 pony 标签,便于批量切换和管理提示词。
💡 通过开关在正负提示词前批量添加或移除 pony 标签。
🍴 3 Forks💻 Python🔄 2025-03-27
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9d76119b2ef2
📄 README

PonySwitch Node

The PonySwitch node is a custom node for ComfyUI that modifies prompts based on a toggle switch and adds configurable pony tags.

I found it cumbersome switching the pony tags in the prompt between Pony based models and SDXL based models.

I had a group of nodes that did the same thing but wanted it to be neater so I have created this.

Uses a Boolean switch that adds or removes the tags at the front of the prompt.

You can change which tags you wish to use right on the widget.

Features

  • Toggle Switch: Enables or disables the addition of pony tags to prompts.
  • Positive Pony Tags: Configurable tags added to the beginning of the positive prompt.
  • Negative Pony Tags: Configurable tags added to the beginning of the negative prompt.
  • Positive and Negative Prompts: Input prompts that are modified based on the toggle state.
  • Installation

  • Git clone https://github.com/ImmortalPie/ComfyUI-PonySwitch into your custom_nodes directory of ComfyUI.
  • Restart ComfyUI to load the new node.
  • or

    Copy the ComfyUI-PonySwitch.py into the custom nodes folder.

    Usage

  • Toggle Switch: Turn on to prepend pony tags to prompts, or off to use the prompts as-is.
  • Positive Pony Tags: Enter tags for the positive prompt, separated by commas.
  • Negative Pony Tags: Enter tags for the negative prompt, separated by commas.
  • Positive and Negative Prompts: Connect your string prompts to these inputs.
  • Modified prompt outputs: Connect these to your positive and negative clip text encode.