Sign In

Civitai Helper - Civitai.Info to A1111 JSON Convert Script

18
188
0
Type
Other
Stats
188
Reviews
Published
May 2, 2024
Base Model
Other
Hash
AutoV2
D629FE5AB6

This script will create JSON files for Automatic1111 Web UI.

It will parse each of the model.civitai.info files that are created by the Civitai Helper extension.

https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper

It captures the following data:

The Activation Words
The URL the file was downloaded from
The Model the file was trained on
The Description

It will store all of that in the JSON to be easily accessed from the WebUI.

Instructions:

Place the Python file in a folder with the models you want to parse.
It will run recursively through any folder you run it from as well as subfolders.

Run the script by either double-clicking on the Python file or the included .Bat file.

In the cases where you may already have some JSON files with configured Activation Words, it will not overwrite those words in the file, and instead just update the other notes Data. This prevents overwriting models configured with optimal words already set.