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
maximumNumberOfCombinationsxnumber of weights.
Description
bug fixing
FAQ
Comments (4)
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?
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
getting "main.py has been closed. Press any key to exit." msg when run.bat :(
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...
