Sign In

SD wildcard lora tool

32
239
4
Updated: Oct 6, 2024
toolwildcardlora
Type
Other
Stats
239
0
Reviews
Published
Sep 9, 2023
Base Model
Other
Hash
AutoV2
8540E7098D
default creator card background decoration
vorm's Avatar
vorm

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.