ComfyUI Node
Refine Text
Sit between an upstream text node and downstream consumers to capture the upstream text into an editable multiline field. With lock off the node passes the upstream input through and repopulates the widget after each run. The lock flips on automatically the moment you type in the widget; while locked, the widget value is output and the upstream input is ignored. Untick lock to resync from upstream.
Refine Text
- text
◄lockfalse►
◄edited_text►
◄text►
Categorytext
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| lock | BOOLEAN | false | When on, output the edited text below instead of the upstream input. Auto-engages when you type in the widget. |
| edited_text | STRING | Editable copy of the upstream text. Auto-populated after each run while unlocked; freely edited while locked. | |
| textopt | STRING | Upstream text. Socket-only; wire from Prompt Enhancer or any string source. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |