CozyGen String Input
A text box for prompts that works from your phone
- STRING
If you're using CozyGen at all, this is probably the node you'll wire first. CozyGen String Input is the text-field version of the pack's typed "Static" inputs: it exposes one string to the /cozygen web page, and because it's typed STRING in the graph, your value sticks around when you reload the workflow in ComfyUI (the original dynamic node kept everything in browser cache and lost it).
The whole point of CozyGen is "drive a workflow from your phone," and a prompt is the thing you'll most want to type from a phone. This node is that text box.
The inputs that matter
param_name- the label on the web page.default_value- the starting prompt. Leave it as your workflow's default prompt so the page loads with something usable.display_multiline- controls whether the page shows a single-line field or a taller text area. For prompts, turn this on.
Output is a single STRING, which is the honest, stable choice: wire it into a CLIPTextEncode's text input (positive or negative) and the page gives you a plain prompt box. Because it's typed STRING rather than the dynamic node's loose ANY, ComfyUI won't complain when it checks the graph.
Where you'd actually use it
The obvious setup is positive prompt + negative prompt, two of these nodes, both with display_multiline on. After that, anything text-y you want to control from afar: a style suffix, an image-edit instruction (the pack ships a Qwen image-edit example workflow that leans on this), or a batch of wildcard-ish words.
Install
Same routine as every node in the pack. ComfyUI Manager (search "CozyGen"), or:
cd ComfyUI/custom_nodes
git clone https://github.com/gsusgg/ComfyUI_CozyGen
cd ComfyUI_CozyGen
pip install -r requirements.txt
Restart, add --listen if you want it on the network, and export the workflow with API into the pack's workflows/ folder. The field appears at http://<your-comfyui-ip>:8188/cozygen.
The one thing to know
Prompt text typed on the page is remembered per browser (localStorage), so your phone keeps its last prompt even though the desktop ComfyUI graph doesn't know about it. That's a feature for iteration, but it also means two different browsers can show two different "defaults" for the same node. If a field looks wrong on one device, check that device's cached value, not the node in ComfyUI.
It's a dead-simple utility node, but it's the most-used one in the pack for most people. No slider, no dropdown, just a text box - exactly what a prompt deserves.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| param_name | STRING | String Parameter | — |
| priority | INT | 10 | — |
| default_value | STRING | — | |
| display_multiline | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |