ImpactWildcardProcessor
ImpactWildcardProcessorThe 'ImpactWildcardProcessor' processes text prompts written in wildcard syntax and outputs the processed text prompt. TIP: Before the workflow is executed, the processing result of 'wildcard_text' is displayed in 'populated_text', and the populated text is saved along with the workflow. If you want to use a seed converted as input, write the prompt directly in 'populated_text' instead of 'wildcard_text', and set the mode to 'fixed'.
Example
{
"class_type": "ImpactWildcardProcessor",
"inputs": {
"wildcard_text": "example text",
"populated_text": "example text",
"mode": "populate",
"seed": 0,
"Select to add Wildcard": "Select the Wildcard to add to the text"
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
wildcard_text? | STRING | required | - | - |
populated_text? | STRING | required | - | - |
mode? | ENUM3 options
| required | - | "populate" |
seed? | INT | required | min: 0, max: 1.84e+19 | 0 |
Select to add Wildcard | ENUM1 options
| required | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | processed text | STRING | No | ["{node_id}", 0] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this ImpactWildcardProcessor node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
processed text (STRING):["5", 0]