CivArchive
    Custom Character UW Expansion Pack - NSFW Modular Natural Language Wildcards - v1.0.1 - install fix
    NSFW
    Preview 137918731
    Preview 137918771
    Preview 137918930
    Preview 137918659
    Preview 137918697
    Preview 137918772
    Preview 137918773
    Preview 137918932
    Preview 137918935
    Preview 137918936

    Edit: Aug 4th - I just discovered there is a bug with the node that actually increases the prompt generation time by a lot when using this node since it has to rebuild the wildcards everytime... So this was a bad mistake on my part and I rushed out the release of this too quickly, I am releasing the fixed node soon

    VERSION 2 — COMPLETE REWRITE. MUCH EASIER.

    If you used v1: forget the YAML files, build scripts, and twin-router setup. v2 replaces all of that with one ComfyUI node. Install the node, paste a wildcard tag. If you want to replace the 'Subject' within the wildcard prompt, type your new Subject description replacement prompt into a text box in the Node then run the workflow...

    I also have a custom node that will extract a Lora from your prompt, so you can create custom wildcards and embed the Lora you want to be added into the prompt.

    TLDR (how to use it)

    1. Put your wildcard prompt in the node's text input (same as Impact Wildcard Processor).

    2. Want a specific person instead of a random one? Fill in the Subject field.

    3. Want a locked outfit? Fill in the Wardrobe field (optional and only works with specific wildcards that dont require full nudity).

    4. Queue. Done.

    Example wildcard tag:

    uw-krea2-nsfw/router/portrait-bedroom-pics

    Leave populate + randomize on if you want a new scene every queue.

    WHAT THIS IS (plain English)

    This is an upgraded version of the Impact Pack wildcard node.

    The normal Impact Wildcard Processor expands tags into full prompts. This node does the same thing, but it can intercept specific parts of a wildcard before the full expansion finishes — so you can swap them out.

    In practice, that means:

    - The scene, pose, lighting, and camera still come from the wildcard (random or fixed, your choice).

    - The subject (who appears) can be YOUR character — just paste a description in the Subject field.

    - The outfit can be locked the same way in the Wardrobe field.

    No sidecar files. No code generation. No maintaining duplicate YAML trees.

    WHAT CHANGED FROM V1

    v1 (older download on this page):

    - YAML character files + a build script to generate twin routers

    - Starfire and Ivy examples shipped in the zip

    - Workflows used ImpactWildcardProcessor

    v2 (this upload — recommended for new installs):

    - One node: Wildcard Clause Expander

    - Type your character directly in the node UI

    - Works with the updated v2 workflow (WildcardClauseExpander → PromptLoraExtractor)

    The v1 sidecar zip (krea2-custom-character-companion-*.zip) stays available as an older version if you still want file-based kits. For everyone else, use v2.

    NODE FIELDS

    wildcard_text Your router tag or wildcard prompt (required)

    subject_override Natural-language identity (hair, face, skin, age 18+, etc.) — optional

    wardrobe_override Costume or outfit paragraph — optional

    populate On = expand wildcards (same idea as Impact)

    randomize On = new random picks each queue

    INSTALL

    1. Install the base uw-* wildcard pack (required):

    https://civarchive.com/models/2789815/uw-modular-nsfw-wildcards-photoreal-agent-ready-optional-integration-w-aspect-node

    Extract into custom_wildcards/ under your Impact Pack folder.

    2. Extract THIS zip into ComfyUI/custom_nodes/ (folder: ComfyUI-WildcardClause/).

    3. Recommended: PromptAspectSize resolver node

    https://civarchive.com/models/2789943/uw-custom-node-prompt-aspect-size-resolver-wildcard-wh-latent-wh-comfyui

    4. Optional: Prompt LoRA Extractor (pulls <lora:...> tags out of the expanded text)

    https://civarchive.com/models/2818995/lora-extractor-comfyui-node-used-with-uw-wildcards-pack

    5. Restart ComfyUI. Look for "Wildcard Clause Expander" under utils/prompt.

    6. Easiest start: grab the v2 Turbo + Raw workflow

    https://civarchive.com/models/2808026/krea2-minimal-hq-one-click-nsfw-wildcard-workflow-one-router-tag-full-photoreal-scene-every-queue

    AI agents: see AGENT-INSTALL.md inside the zip.

    Base wildcards (required)

    https://civarchive.com/models/2789815/uw-modular-nsfw-wildcards-photoreal-agent-ready-optional-integration-w-aspect-node

    Aspect / width-height resolver (recommended)

    https://civarchive.com/models/2789943/uw-custom-node-prompt-aspect-size-resolver-wildcard-wh-latent-wh-comfyui

    LoRA Extractor (optional)

    https://civarchive.com/models/2818995/lora-extractor-comfyui-node-used-with-uw-wildcards-pack

    Turbo + Raw workflows (recommend, all nodes above pre-wired in one HQ Krea2 workflow)

    https://civarchive.com/models/2808026/krea2-minimal-hq-one-click-nsfw-wildcard-workflow-one-router-tag-full-photoreal-scene-every-queue

    Description

    v1.0.1 — Install layout + builder path fix

    - Clarifies install: extract Character Expansion INTO your base pack folder (e.g. custom_wildcards/uw-krea2/), not as a sibling under custom_wildcards/

    - After install, characters/, identity/, generated/, tools/, and Build-CharacterKits.ps1 sit next to shared/ and krea2/

    - Build-CharacterKits.ps1 finds .\krea2\ next to the script; clearer errors + optional -Krea2Dir override

    - Adds INSTALL-LAYOUT.md with the final directory tree

    - Fixes v1.0.0 failure where the builder only searched an internal maintainer path (user-wildcards/krea2)

    Requires base krea2-uw ≥ v1.0.0 (pairs with v1.1.0 with-aspect).

    FAQ

    Comments (8)

    bradcausa9919Jul 27, 2026
    CivitAI

    I feel like I'm following the directions closely...but everytime I try to run .\Build-CharacterKits.ps1 it tells me I don't have krea2 folder and to install the base....which I have and can generate successfully from. Any chance you can post a final directory structure?

    Vesperra
    Author
    Jul 27, 2026· 1 reaction

    Hey! sorry about that, yes I will do that now. Let me run your error through on my side and figure out what the discrepency is.

    Vesperra
    Author
    Jul 27, 2026

    Hey I just uploaded a version 1.0.1 zip. So please redownload that, the build.ps1 file is a little different.

    You're right to ask for a final tree — the v1.0.0 docs/builder were confusing.

    Correct layout: Character Expansion goes INTO your base pack folder (not next to it under custom_wildcards/).

    Example:

    ComfyUI/custom_nodes/comfyui-impact-pack/custom_wildcards/

    └── uw-krea2/ ← your base pack folder

    ├── shared/ ← from base zip

    ├── krea2/ ← from base zip (must contain krea2-nsfw-templates.yaml)

    ├── characters/ ← from Character Expansion

    ├── identity/

    ├── generated/

    ├── tools/

    └── Build-CharacterKits.ps1 ← run from THIS folder

    Install:

    1) Base pack already extracted so you have uw-krea2/shared + uw-krea2/krea2

    2) Extract Character Expansion INTO uw-krea2/ (merge folders)

    3) From that folder: .\Build-CharacterKits.ps1

    If you extracted Character Expansion as a sibling under custom_wildcards/, move characters/, identity/, generated/, tools/, and Build-CharacterKits.ps1 into uw-krea2/, then re-run.

    Why gens worked but the builder failed: Impact already loads the YAML; the v1.0.0 builder only looked for an internal path (user-wildcards/krea2). v1.0.1 looks for .\krea2\ next to the script and ships INSTALL-LAYOUT.md with this tree.

    bradcausa9919Jul 27, 2026

    @Vesperra Trying it now.

    bradcausa9919Jul 27, 2026

    Getting a venv python error now...I'll see if Claude can fix it.

    bradcausa9919Jul 27, 2026

    Looks related to ComfyUI portable...working through that now.

    bradcausa9919Jul 27, 2026

    Fixed for comfyui portable...I'll message you the new file.

    Vesperra
    Author
    Jul 27, 2026
    CivitAI

    Hey everyone who downloaded this, if you had a problem with the original setup / install please redownload the newest version zip I have v1.0.1

    Brad pointed out the error with the build and I realized that the install directory was confusing so I fix it and provided an example directory structure in my post so you can see how the folders need to look when you unzip everything.

    Wildcards
    Krea 2

    Details

    Downloads
    161
    Platform
    CivitAI
    Platform Status
    Available
    Created
    7/27/2026
    Updated
    9/12/2026
    Deleted
    -

    Files

    customCharacterUWExpansion_v101InstallFix.zip