CivArchive
    SD wildcard lora tool - v1.1
    Preview 2425273

    SD Wildcard Lora Tool

    Script to generate wildcards based on your Loras.

    How to Use

    1. Install the following Extensions:

    2. Start automatic1111.

    3. Go to the extension tab "Civitai Helper." There is a button called "Scan model."

    4. In model types, select "lora" and click "scan." This will download preview images for your Loras and a .info file that will contain the trigger words.

    5. After this is finished, go to the config.json file, and:

    • Add to the whitelist the path to your Lora folder.

    • Add to the blacklist what folders to ignore.

    6. Run run.bat, and then copy the generated files to "/path/to/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcard".

    Other Configurations

    • subfolders: If set to true, it will search all subfolders.

    • createWildcardForSubfolders: If set to true, it will create a separate wildcard for each subfolder.

    • subfolderName: Name for the subfolder containing the trigger word combinations.

    • WildcardName: The name of the wildcard text file. Subfolders will be named after their folder name.

    • maximumNumberOfCombinations: Set to zero to get all possible trigger word variations.

    • weights: Specify what weights are supposed to be used in the Loras. This will create maximumNumberOfCombinations x number of weights.

    Description

    bug fixing

    FAQ

    Comments (4)

    zzcseSep 9, 2023
    CivitAI

    what's actually mean of wildcard lora? reading lora's tag datas and making wildcard by that?

    or i can use random lora by produced wildcard?

    can you show sample of wildcard by that?

    vorm
    Author
    Sep 9, 2023

    The first one, the scrip will read all the lora and create a txt file with them, the final result will be something like this:

    all.txt

    _ _trigger_combinations_wildcard_ _, <lora:lora_name:random_weight>

    so when you call in your prompt _ _all_ _, you will get a random combination of triggers and weight

    jackwu10826Sep 27, 2023
    CivitAI

    getting "main.py has been closed. Press any key to exit." msg when run.bat :(

    Mr_BlackSheepAug 21, 2024

    Hello did you ever get it working? I had the same problem a long time ago and today I tried it once again and still same damn thing...

    Other
    Other
    by vorm

    Details

    Downloads
    257
    Platform
    CivitAI
    Platform Status
    Available
    Created
    9/9/2023
    Updated
    6/12/2026
    Deleted
    -

    Files

    sdWildcardLoraTool_v11.zip

    Mirrors

    CivitAI (1 mirrors)

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.