ComfyUI Node
Kotodama Prompt Enhancer
Rewrites an input prompt through an OpenAI-compatible chat model using a system prompt picked from the node's system_prompts/ folder. Output wires into a CLIPTextEncode text input.
Kotodama Prompt Enhancer
- prompt
◄text►
◄system_prompttext-to-image►
◄model▾►
◄temperature0.80►
◄max_tokens1024►
◄seed0►
◄passthrough_on_emptyfalse►
Categorykotodama
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | The rough prompt to enhance. Wire it in or type it here. | |
| system_prompt | COMBO | text-to-image | A file in the node's system_prompts/ folder. |
| model | COMBO | Endpoint unavailable or unconfigured; showing the fallback list. | |
| temperature | FLOAT | 0.800–2 | — |
| max_tokens | INT | 102464–32768 | — |
| seed | INT | 00–18446744073709550000 | Bump to force a re-run with identical other inputs. ComfyUI caches node output on input identity, so without a new seed the same text comes back. Changing system_prompt, model, temperature, or max_tokens already invalidates the cache. |
| passthrough_on_empty | BOOLEAN | false | Empty input text returns empty without calling the LLM. Off = an empty input is an error. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |