Sign In

Organize models script

549
1.6k
18
Updated: Oct 5, 2024
toolscript
Type
Other
Stats
824
Reviews
Published
May 5, 2023
Base Model
Other
Hash
AutoV2
E5AE5A71A6

Simple script, execute it from the directory you want to organize. Sorts models into different sub directories by Person and NSFW flags base on the ".civitai.info" files created by Civitai Helper. AUTOMATIC1111 will show sub-directories when the show/hide extra network icon is used so you can filter your results. You need to "Scan Models for Civitai" in the Civitai Helper tab prior to running the script in the model directory you want to organize.

Prerequisite: Civitai Helper

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

Procedure:

  1. Install Civitai Helper

  2. Restart AUTOMATIC1111

  3. Check the checkboxes (ti, hyper, ckp, lora) of the model types you want to organize in the "Scan Models for Civitai" section in the "Civitai Helper" tab

  4. Run "Scan Models for Civitai" in the "Civitai Helper" tab by clicking the "Scan" button

  5. Wait for scan to complete

  6. Make sure that ".civitai.info" files have been created in the AUTOMATIC1111 model directories you selected

  7. Download the script zip archive

  8. Extract the Organize Script from the downloaded zip file

  9. Place this Organize Script file in the AUTOMATIC1111 model directory you want to organize (".\models\hypernetworks", ".\models\lora", ".\models\Stable-diffusion", ".\embeddings")

  10. Run the Organize Script file

  11. Wait for the script to finish organizing your models

  12. Verify the models have been organized into sub-directories as expected