Skip to main content

ImpactWildcardEncode

ImpactPack/Prompt
ImpactWildcardEncode

The '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

JSON 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

NameTypeStatusConstraintsDefault
modelMODELrequired--
clipCLIPrequired--
wildcard_text?STRINGrequired--
populated_text?STRINGrequired--
mode?ENUM
3 options
  • populate
  • fixed
  • reproduce
required--
Select to add LoRAENUM
1 options
  • Select the LoRA to add to the text
required--
Select to add WildcardENUM
1 options
  • Select the Wildcard to add to the text
required--
seed?INTrequiredmin: 0, max: 1.84e+190

Outputs

IndexNameTypeIs ListConnection Reference
0modelMODELNo["{node_id}", 0]
1clipCLIPNo["{node_id}", 1]
2conditioningCONDITIONINGNo["{node_id}", 2]
3populated_textSTRINGNo["{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]
Was this page helpful?