ComfyUI Node: String Formatter

Authored by Lex-DRL

Created

Updated

4 stars

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.

Category

String Constructor

Inputs

template STRING
recursive_format BOOLEAN
safe_format BOOLEAN
show_status BOOLEAN
dict DICT

Outputs

STRING

Extension: String Constructor (Text-Formatting)

Composing prompt variants from the same text pieces with ease: • Build your "library" (dictionary) of named text chunks (sub-strings) to use it across the entire workflow. • Compile these snippets into different prompts in-place - with just one string formatting node. • Freely update the dictionary down the line - get different prompts. • Reference text chunks within each other to build dependent hierarchies of less/more detailed descriptions. • A real life-saver for regional prompting (aka area composition).

Authored by Lex-DRL

Looking for a different node?

More nodes in String Constructor (Text-Formatting)

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.

Learn more