https://github.com/s9roll7/lora2wildcard
Script to generates a wildcard from the lora directory
https://github.com/s9roll7/lora2wildcard
a1111 stable-diffusion
Last synced: 3 months ago
JSON representation
Script to generates a wildcard from the lora directory
- Host: GitHub
- URL: https://github.com/s9roll7/lora2wildcard
- Owner: s9roll7
- Created: 2025-05-14T11:46:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-14T12:40:27.000Z (about 1 year ago)
- Last Synced: 2025-06-08T23:42:24.442Z (about 1 year ago)
- Topics: a1111, stable-diffusion
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lora2wildcard
This is a small script that generates a wildcard from the lora directory of A1111 or reforge.
Extract the tags used for training from the metadata in safetensors and use them in wildcard.
If a json file output by civitai helper exists, it is also used.
### usage
```sh
python lora2wildcard.py LORA_DIR_PATH
python lora2wildcard.py -h
```
### sample output
```sh
,1girl, 2b, black blindfold, black dress, black hairband, blindfold, clothing cutout, dress, hairband, juliet sleeves, long sleeves, mole, mole under mouth, puffy sleeves, short hair, solo, white hair, yorha no. 2 type b
,asuka soryu langley, solo
```