Nodes/Orel's Nodes/Format Text
ComfyUI Node

Format Text

Build a STRING from a multiline template. Placeholders are {a}..{f}. Missing placeholders become empty (or missing_placeholder). No eval(). Brace escaping is not supported: any {name} token is a placeholder.

By DarkOrel·Created 10 days ago·Updated 2 days ago· 0
Format Text
  • a
  • b
  • c
  • d
  • e
  • f
  • text
◄templateWorkflow Done Face similarity: {a}% LoRA: {b}►
◄missing_placeholder►
CategoryOrel's Nodes/Text

Inputs (8)

NameTypeDefaultDescription
templateSTRINGWorkflow Done Face similarity: {a}% LoRA: {b}—
aopt*—
bopt*—
copt*—
dopt*—
eopt*—
fopt*—
missing_placeholderoptSTRINGReplacement used when a placeholder has no connected value.

Outputs (1)

NameTypeDescription
textSTRING—