ImmortalPie c7ffe6edb0 Merge pull request #4 from ComfyNodePRs/update-publish-yaml
Update Github Action for Publishing to Comfy Registry
2025-03-27 12:49:04 +00:00
2024-08-18 15:05:07 +01:00
2024-08-18 14:48:51 +01:00
2024-06-29 12:26:19 +01:00
2024-08-18 15:00:38 +01:00

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

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

or

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

Usage

  1. Toggle Switch: Turn on to prepend pony tags to prompts, or off to use the prompts as-is.
  2. Positive Pony Tags: Enter tags for the positive prompt, separated by commas.
  3. Negative Pony Tags: Enter tags for the negative prompt, separated by commas.
  4. Positive and Negative Prompts: Connect your string prompts to these inputs.
  5. Modified prompt outputs: Connect these to your positive and negative clip text encode.
S
Description
No description provided
Readme
61 KiB
Languages
Python 100%