Streamline Your Stable Diffusion Setup
Download Link Extractor + DownloaderΒ
TL;DR: A powerful combo of tools that lets you batch download CivitAI models with zero manual work - perfect for setting up new Stable Diffusion installations, migrating to cloud services like RunPod, or managing large model collections.
Inspiration: I needed to download all my local models to Runpod, didn't find any tool to ease my workflow. Made One.
The Problem Every SD User Faces
If you've ever had to:
π Restore your Stable Diffusion WebUI after a system crash.
βοΈ Set up models on RunPod/cloud services from scratch.Β
π¦ Download dozens of models one by one (we've all been there...)
π Deal with different CivitAI URL formats that don't work with download scripts
...then you know the pain of manually downloading models for hours. This tool combination solves that completely.
Meet Your New Best Friends
π CivitAI Download Link Extractor
https://github.com/deepratna-awale/CivitAI-DownloadLink-Extractor
What it does: Automatically extracts download links from your CivitAI downloads history/ info files in your stable diffusion directory and generates CSV files ready for batch downloading.
β¬οΈ CivitAI Model Downloader
https://github.com/deepratna-awale/CivitAI-Model-DownloaderΒ
What it does: Takes those CSV files and downloads everything automatically with proper organization, progress tracking, and error handling.
The Magic Workflow
Step 1: Extract Your Model Links
# Get all your liked models as downloadable CSV files
git clone https://github.com/deepratnaawale/CivitAI-DownloadLink-Extractor.git
cd CivitAI-DownloadLink-Extractor
python extractor.py --api-key your-civitai-api-key
Result: CSV files with all your models, properly categorized:
Β
checkpoint.csv
- Your base modelsΒ
lora.csv
- LoRA modelsΒ
controlnet.csv
- ControlNet modelsΒ
vae.csv
- VAE modelsΒ And more...
Step 2: Download Everything Automatically
# Download all models with perfect organization
git clone https://github.com/deepratnaawale/CivitAI-Model-Downloader.git
cd CivitAI-Model-Downloader
# Copy your CSV files to the CSVs/ directory
python download.py --sd /path/to/stable-diffusion-webui --api-key your-api-key
Result: All models downloaded to correct folders automatically!
Why This Combo Is Game-Changing
π Lightning Fast Setup
What used to take hours now takes minutes. No more:
Right-clicking "Save As" on hundreds of models
Manually organizing files into correct folders
Dealing with failed downloads or connection issues.
β‘ Smart & Efficient
Async multi-threading: Downloads 4+ models simultaneously
Intelligent URL processing: Works with ANY CivitAI URL format
Automatic retry logic: Handles network hiccups gracefully
Progress tracking: See exactly what's happening in real-time
π― Perfect Organization
Models automatically go to the right place:
stable-diffusion-webui/
βββ models/
β βββ Stable-diffusion/ β Checkpoint models
β βββ Lora/ β LoRA models
β βββ ControlNet/ β ControlNet models
β βββ VAE/ β VAE models
β βββ ESRGAN/ β Upscaler models
βββ embeddings/ β Textual Inversions
Real-World Use Cases
π₯οΈ Local Setup/Restore
# Your SSD died and you need to restore everything
python download.py --sd ~/stable-diffusion-webui --api-key your-key
# Grab coffee, come back to fully restored setup
βοΈ RunPod/Cloud Deployment
# Setting up on RunPod for the first time
cd /workspace
git clone https://github.com/deepratnaawale/CivitAI-Model-Downloader.git
cd CivitAI-Model-Downloader
python download.py --sd /workspace/stable-diffusion-webui --api-key your-key
# Your pod is ready with all your models in minutes
π¦ Bulk Collection Management
# You found 50 amazing models and want them all
# Just add URLs to text file and run:
python download.py --text-files my-new-models.txt --api-key your-key
Advanced Features That Make the Difference
π URL Preprocessing Magic
The downloader handles ANY CivitAI URL format:
https://civitai.com/models/123456/model-name
βhttps://civitai.com/api/download/models/123456
β123456
(just the ID) βEven some broken or incomplete URLs get automatically fixed!
βοΈ Fully Configurable
{
"download_settings": {
"max_concurrent_downloads": 4, // Adjust for your internet
"timeout_seconds": 300, // Handle slow downloads
"retry_attempts": 3, // Never give up
"chunk_size": 8192 // Optimize for your setup
}
}
Real-world tested on thousands of model downloads
π¨ Recovery Mode
# If downloads fail, just run again - it resumes automatically
# Already downloaded models are skipped
python download.py --api-key your-key
The Bottom Line
This tool combination transforms the most tedious part of Stable Diffusion setup into a one-command operation. Whether you're:
π A home user setting up after a reinstall
βοΈ A cloud user spinning up new pods regularly
π¨ An artist managing large model collections
π¬ A researcher needing consistent setups across environments
You'll save hours of manual work and eliminate the frustration of broken downloads, wrong folders, and repetitive clicking.
Ready to never manually download models again?
β Star the repositories and try them out:
[CivitAI Download Link Extractor](https://github.com/deepratna-awale/CivitAI-DownloadLink-Extractor)
[CivitAI Model Downloader](https://github.com/deepratna-awale/CivitAI-Model-Downloader)
Your future self will thank you! π
---
Questions? Issues? Find me on GitHub, I probably won't be checking the comments often. Happy generating! π¨