Dynamic Text¶
Build a text string from a template by inserting up to 10 variable inputs. It scans the template for placeholders like {{input_1}} through {{input_10}} and replaces them with the provided values. Useful for composing prompts, filenames, or messages that depend on user-supplied or upstream values.

Usage¶
Use this node when you need to assemble a final text from a template and a set of variable fields. Type your template in the text field (press / to see available inputs), connect or type values into input_1..input_10 as needed, and the node will output the compiled string for downstream use.
Inputs¶
| Field | Required | Type | Description | Example | 
|---|---|---|---|---|
| text | True | DYNAMIC_STRING | The template string. Use placeholders {{input_1}} ... {{input_10}} to insert values from the optional inputs. Press / to quickly insert available placeholders. | User {{input_1}} requested style {{input_2}} with seed {{input_3}}. | 
| input_1 | False | STRING | Value to replace {{input_1}} in the template. | alice | 
| input_2 | False | STRING | Value to replace {{input_2}} in the template. May be shown after input_1 is set. | photorealistic | 
| input_3 | False | STRING | Value to replace {{input_3}} in the template. May be shown after input_2 is set. | 12345 | 
| input_4 | False | STRING | Value to replace {{input_4}} in the template. May be shown after input_3 is set. | v2 | 
| input_5 | False | STRING | Value to replace {{input_5}} in the template. May be shown after input_4 is set. | landscape | 
| input_6 | False | STRING | Value to replace {{input_6}} in the template. May be shown after input_5 is set. | high contrast | 
| input_7 | False | STRING | Value to replace {{input_7}} in the template. May be shown after input_6 is set. | evening lighting | 
| input_8 | False | STRING | Value to replace {{input_8}} in the template. May be shown after input_7 is set. | ISO 100 | 
| input_9 | False | STRING | Value to replace {{input_9}} in the template. May be shown after input_8 is set. | F/2.8 | 
| input_10 | False | STRING | Value to replace {{input_10}} in the template. May be shown after input_9 is set. | 35mm | 
Outputs¶
| Field | Type | Description | Example | 
|---|---|---|---|
| text | STRING | The compiled string after substituting all matching placeholders with provided values. | User alice requested style photorealistic with seed 12345. | 
Important Notes¶
- Placeholders: Use double curly braces around keys exactly as {{input_1}} ... {{input_10}}.
- Case-sensitive keys: Placeholder names must match the input field names exactly.
- Empty values: If an input is left empty, its placeholder is replaced with an empty string.
- Progressive reveal: Additional inputs (input_2..input_10) may appear in the UI only after the prior input is set.
- No advanced templating: This node performs simple text replacement and does not support conditionals, loops, or default-value syntax.
Troubleshooting¶
- Output unchanged: If placeholders remain in the output, verify that they are spelled exactly (e.g., {{input_1}}) and that the corresponding input fields have values.
- Missing input fields: If later inputs are not visible, set a value in the preceding input to reveal the next one.
- Unexpected blanks: If parts of the template are missing, check for extra spaces or confirm that the intended inputs were actually provided.
- Literal braces needed: Literal '{{' or '}}' are interpreted as placeholders; if you need them as plain text, consider using different delimiters or post-processing.
Example Pipelines¶
