Skip to content

Wildcards

Will Miao edited this page Nov 16, 2026 · 1 revision

Wildcards for Text and Prompt Nodes

Text (LoraManager) and Prompt (LoraManager) support /wildcard autocomplete and runtime wildcard expansion.

Wildcard files live in the wildcards/ directory inside LoRA Manager's settings folder. When you type /wildcard and no wildcard files exist yet, the autocomplete dropdown shows the exact folder path and lets you open it.

Supported formats are .txt, .yaml, .yml, and .json.

Names and paths

A file at wildcards/animals/cat.txt becomes __animals/cat__.

Text files use one option per line:

# wildcards/color.txt
red
blue
green

Use it as __color__.

YAML and JSON files use nested keys that end in string arrays:

# wildcards/colors.yaml
palette:
  warm:
    - red
    - orange

Use it as __palette/warm__.

The file extension is not part of the wildcard name. Folder names and nested keys become path segments.

Related settings

Portable Mode and LORA_MANAGER_SETTINGS_DIR change the settings directory and therefore change where the wildcards/ folder is located. See Configuration.

For prompt-node autocomplete settings and other canvas integration, see ComfyUI Integration.

Clone this wiki locally