ComfyUI Extension: comfyui-template-string
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
A simple ComfyUI custom node for string interpolation.
README
ComfyUI Template String
A simple ComfyUI custom node for string interpolation. Define a template with {} placeholders, wire up to 10 string inputs, and the node substitutes them in order. Anything inside the braces — e.g. {subject} — is treated as a comment and discarded during substitution, so you can label slots for readability without affecting the output.
Usage
- Add the Template String node (category:
text) - Write a template with
{}placeholders. You can put anything inside the braces (like{subject}or{1}) as a label — it's ignored during substitution, only the position matters - Wire string outputs from other nodes (Set/Get, primitives, etc.) into
input_1throughinput_10(all 10 slots are optional) - Placeholders are replaced left-to-right by the connected inputs
Example
Template:
a {subject} in a {setting}, {lighting} lighting, {quality}
Inputs:
- input_1:
burger - input_2:
dim restaurant - input_3:
cinematic - input_4:
8k
Output:
a burger in a dim restaurant, cinematic lighting, 8k
The names subject, setting, lighting, and quality are just labels — a {} in a {}, {} lighting, {} would produce the same result. Unconnected inputs are skipped, and unused placeholders are left as-is.
Install
Copy or symlink into your ComfyUI custom nodes directory:
cd /path/to/ComfyUI/custom_nodes
git clone https://github.com/YOUR_USERNAME/comfyui-template-string.git
Restart ComfyUI. No pip dependencies required.
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.