https://github.com/microbote/ComfyUI-StyledCLIPTextEncode
a node that enables you to build your prompts(both postive and negative) based on the selected style.
https://github.com/microbote/ComfyUI-StyledCLIPTextEncode
Last synced: 4 months ago
JSON representation
a node that enables you to build your prompts(both postive and negative) based on the selected style.
- Host: GitHub
- URL: https://github.com/microbote/ComfyUI-StyledCLIPTextEncode
- Owner: microbote
- Created: 2024-08-27T03:29:19.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T03:37:29.000Z (8 months ago)
- Last Synced: 2024-08-27T04:45:18.602Z (8 months ago)
- Language: Python
- Size: 365 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **StyledCLIPTextEncode** - to 77 styles currently and has been tested on SDXL and SD1.5 checkpoints. It's ported from project [a/Style Selector for SDXL 1.0](https://github.com/ahgsql/StyleSelectorXL), which is only availabe on WebUI. (All Workflows Sorted by GitHub Stars)
README
# StyledCLIPTextEncode, a Style-Decorated Prompt Node for ComfyUI
StyledCLIPTextEncode is a node that enables you to build your prompts(both postive and negative) based on the selected style.
It provides up-to 77 styles currently and has been tested on SDXL and SD1.5 checkpoints.
It's ported from project [Style Selector for SDXL 1.0](https://github.com/ahgsql/StyleSelectorXL), which is only availabe on WebUI.### StyledCLIPTextEncode
- the first conditioning output is Positive.
- the second conditioning output is Negative.### Installation
To install and use the SDXL Prompt Styler nodes, follow these steps:
1. Open a terminal or command line interface.
2. Navigate to the `ComfyUI/custom_nodes/` directory.
3. Run the following command:
```git clone https://github.com/microbote/ComfyUI-StyledCLIPTextEncode.git```
4. Restart ComfyUI.This command clones the SDXL Prompt Styler repository into your `ComfyUI/custom_nodes/` directory. You should now be able to access and use the nodes from this repository.
### Inputs
"clip": ("CLIP",),
"positive_prompt": ("STRING", {"default": "", "multiline": True, "dynamicPrompts": True}),
"negative_prompt": ("STRING", {"default": "", "multiline": True, "dynamicPrompts": True}),
"select_style": (cls.getStyleList(),)
* **clip** - CLIP from the model
* **positive_prompt** - text for the positive base prompt
* **negative_prompt** - text for the negative base prompt
* **select_style** - choose the style you want to use### Outputs
* **CONDITIONING** - the first conditioning with style for positive prompt
* **CONDITIONING** - the second conditioning with style for negative prompt