49 lines
2.0 KiB
Markdown
49 lines
2.0 KiB
Markdown
## General
|
|
|
|
[![made-with-python][Python]](https://www.python.org/)
|
|
[![License: MIT][MIT]](LICENSE)
|
|
|
|
**PromptTermList** (1-6) are some nodes that help with the creation of Prompts inside [ComfyUI](https://github.com/comfyanonymous/ComfyUI).
|
|
|
|
|
|
### Screenshots
|
|
|
|

|
|
|
|
<!-- <p align="center">
|
|
<a href="https://raw.githubusercontent.com/noembryo/ComfyUI-noEmbryo/master/stuff/Screen2.png">
|
|
<img src="https://raw.githubusercontent.com/noembryo/ComfyUI-noEmbryo/master/stuff/Screen2.png" height="180"></a>
|
|
</p> -->
|
|
|
|
## Usage
|
|
Every one of the 6 nodes have a different `json` file that stores its Prompt Terms in "label"/"value" pairs.
|
|
The "label" part is what we see at the node's dropdown menu, and the "value" part is what it produces at its `Term` output when we run a generation job.
|
|
|
|
These `json` files are located inside the `TermLists` directory, in the node's folder.
|
|
There are two ways to add a new term.
|
|
* From within ComfyUI:
|
|
* Connect a text box to the node's `text` input.
|
|
* Write the "label"/"value" part in the box using the following format:
|
|
label=Descriptive text
|
|
value=masterpiece, artful and cozy
|
|
* Enable the `store_input` switch.
|
|
* Run a generation job.
|
|
* Refresh the page.
|
|
* Manually:
|
|
* Just open the `json` file and add/remove/change entries.
|
|
|
|
Of course we must be very careful with this, to keep the `json` format of labels/values (with the appropriate commas), otherwise the file will not be parsed.
|
|
|
|
This `text` input is also useful if we want to manually add something *after* our term, or as the *only* term if we select the `None` label of the dropdown.
|
|
The `strength` value is changing the impact of the term by using the parenthesis format like this: `(a great term:1.3)`
|
|
|
|
|
|
## Installation
|
|
* cd to `ComfyUI\custom_nodes`
|
|
* git clone https://github.com/noembryo/ComfyUI-noEmbryo.git
|
|
* Restart ComfyUI
|
|
|
|
|
|
[Python]:https://img.shields.io/badge/Made%20with-Python-1f425f.svg
|
|
[MIT]:https://img.shields.io/badge/License-MIT-green.svg
|