Skip to main content

ImpactWildcardProcessor

ImpactPack/Prompt
ImpactWildcardProcessor

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

JSON 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

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

Outputs

IndexNameTypeIs ListConnection Reference
0processed textSTRINGNo["{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]
Was this page helpful?