Skip to content

asbtlt/CivitAI_Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CivitAI Downloader

A command-line tool for downloading models from CivitAI with resume support.

Features

  • 🚀 Download models from CivitAI using API
  • ⏸️ Resume interrupted downloads
  • 🔐 Secure API token storage
  • 📊 Real-time download progress with speed indicator
  • 🎯 Simple command-line interface

Installation

From PyPI (after publishing)

pip install civitai-downloader

From source

git clone git@github.com:asbtlt/CivitAI_Downloader.git
cd civitai-downloader
pip install .

Development installation

pip install -e .

Usage

After installation, you can use the civitai-dl command:

# Download to current directory
civitai-dl https://civitai.com/api/download/models/46846

# Download to specific directory
civitai-dl https://civitai.com/api/download/models/46846 /path/to/output

# First time usage - you'll be prompted for your CivitAI API token

Getting your CivitAI API token

  1. Go to https://civitai.com
  2. Login to your account
  3. Go to Account Settings > API Keys
  4. Create a new API key
  5. The token will be securely stored in ~/.civitai/config

Requirements

  • Python 3.7+
  • No external dependencies (uses only standard library)

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages