One click Multi-thread download solution for all Civit-Ai models.
-
Parfive python library Automatically installed by
download.py
.
-
Select the RunPod Fast Stable Diffusion Image from Runpod Templates and Deploy it.
-
Adjust your Disk Volume if required from Customize Deployment.
-
Open a terminal from launcher. Clone this repo and copy the contents of downloaded repo to the main folder.
git clone https://github.com/deepratnaawale/CivitAIBatchModelDownloader.git
- Done!
- Open a terminal from launcher. Clone this repo using
git clone https://github.com/deepratnaawale/CivitAIBatchModelDownloader.git
- Done!
Note
The Downloader will Automatically download content from every CSV in the CSVs Directory to the default download location.
- Goto CivitAIBatchModelDownloader directory
cd CivitAIBatchModelDownloader/
- Use downloader to download files from the csvs by typing the following in the terminal.
python download.py
- Choose the option you want to use: 1 for Runpod, and 2 for any other systems. DO NOT TYPE THE BRACKETS, just the number.
- If needed, you can edit the default paths in the
download.py
file.
model_path = {
"checkpoint": Path("models", "Stable-diffusion"),
"lora": Path("models", "Lora"),
"locon": Path("models", "Lora"),
"lycoris": Path("models", "Lora"),
"controlnet": Path("models", "ControlNet"),
"hypernetwork": Path("models", "hypernetworks"),
"vae": Path("models", "VAE"),
"poses": Path("models", "Poses"),
"other": Path("models", "Other"),
"textualinversion": Path("Embeddings"),
"upscaler": Path("models", "ESRGAN"),
"aestheticgradient": Path(r"extensions\stable-diffusion-webui-aesthetic-gradients\aesthetic_embeddings"),
"motionmodule": Path(r"extensions\sd-webui-animatediff\model")
}
The format is
model_type: Path(path/to/download/model/to/)
Don't forget to add the a ,
if your model isn't the last one. Do not use plural in dict key, i.e. lora
NOT loras
, lowercase necessary!
Caution
All your models should be in their respective csvs.
Ex: checkpoint.csv
should have all checkpoint models.
- All your CSVs are should be the following format
Sr.no | Model ID | Model Name | Model URL |
---|---|---|---|
1 | 4201 | Realistic Vision V4.0 | https://civitai.com/api/download/models/114367 |
2 | ... | ... | ... |
3 | ... | ... | ... |
[!HINT] You can automatically create these CSVs using my CivitAI-DownloadLink-Extractor repository.