ImpactWildcardEncode
ImpactWildcardEncodeThe 'ImpactWildcardEncode' node processes text prompts written in wildcard syntax and outputs them as conditioning. It also supports LoRA syntax, with the applied LoRA reflected in the model's output. TIP1: 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'. TIP2: If the 'Inspire Pack' is installed, LBW(LoRA Block Weight) syntax can also be applied.
Example
{
"class_type": "ImpactWildcardEncode",
"inputs": {
"model": [
"node_id",
0
],
"clip": [
"node_id",
0
],
"wildcard_text": "example text",
"populated_text": "example text",
"mode": "populate",
"Select to add LoRA": "Select the LoRA to add to the text",
"Select to add Wildcard": "Select the Wildcard to add to the text",
"seed": 0
}
}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 |
|---|---|---|---|---|
model | MODEL | required | - | - |
clip | CLIP | required | - | - |
wildcard_text? | STRING | required | - | - |
populated_text? | STRING | required | - | - |
mode? | ENUM3 options
| required | - | - |
Select to add LoRA | ENUM1 options
| required | - | - |
Select to add Wildcard | ENUM1 options
| required | - | - |
seed? | INT | required | min: 0, max: 1.84e+19 | 0 |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | model | MODEL | No | ["{node_id}", 0] |
1 | clip | CLIP | No | ["{node_id}", 1] |
2 | conditioning | CONDITIONING | No | ["{node_id}", 2] |
3 | populated_text | STRING | No | ["{node_id}", 3] |
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 ImpactWildcardEncode node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
model (MODEL):["5", 0]clip (CLIP):["5", 1]conditioning (CONDITIONING):["5", 2]