ComfyUI Node
Prompt Template
Supports // and /* ... */ comments, Dynamic Prompts-compatible templates, weighted wildcard lines from user/info_prompt_toolkit/wildcards, and custom $key replacement from extras.
Prompt Template
- extras
- string
- normalized_string
◄template►
◄suffix—►
◄seed—►
CategoryInfo-Prompt-Toolkit/Prompt
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| template | STRING | Prompt template body. Type __ to suggest wildcards, then # after __name__ for item list. | |
| suffixopt | STRING | String to append to template | |
| extrasopt | IPT-ImageInfoExtras | extras used for $key replacement in Dynamic Prompts | |
| seedopt | INT | Optional seed for deterministic random sampler |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |
| normalized_string | STRING | — |