Skip to main content

Model Downloader for CivitAI

Model Downloader Package for Python Developer and CLI for CivitAI.

It is recommanded on Amazon Web Services, Microsoft Azure, Google Cloud Platform.

How to Use

First, Install civitai-model-downloader

# Install from PyPI
pip3 install civitai-model-downloader

# Install from GitHub
pip3 install git+https://github.com/bean980310/civitai-downloader.git

# Install from Source
git clone https://github.com/bean980310/civitai-downloader.git
cd civitai-downloader
pip3 install -e .

and, Insert your Access token

from civitai_downloader import login

login()

Import Your CivitAI API Token and Next, Download a model

from civitai_downloader import login
from civitai_downloader import civitai_download, url_download

login()

# example
url_download(url="https://civitai.com/api/download/models/90854", local_dir="./models/checkpoints/sd15")

# or
civitai_download(model_version_id=90854, local_dir="./models/checkpoints/sd15")

Also, you can use to civitai-downloader command line

# example
civitai-downloader-cli download 90854

# prefix local dir
civitai-downloader-cli download 90854 --local-dir ./models/checkpoints/sd15

# to use url
civitai-downloader-cli url-download https://civitai.com/api/download/models/90854

Metadata

Release files for civitai-model-downloader 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for civitai-model-downloader 0.5.0
File Size Uploaded Provenance Actions
civitai_model_downloader-0.5.0.tar.gz 59.0 kB Without provenance Details for civitai_model_downloader-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for civitai-model-downloader 0.5.0
File Interpreter ABI Platform Actions
civitai_model_downloader-0.5.0-py3-none-any.whl Python 3 none any Details for civitai_model_downloader-0.5.0-py3-none-any.whl

Total release size: 117.8 kB

Release files / civitai_model_downloader-0.5.0.tar.gz

Download URL civitai_model_downloader-0.5.0.tar.gz
Size 59.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cf39b0d45c0d835a7163d08d1a22caf8351ecf1c8c8ba0292fcd934c2402ef9c
BLAKE2b-256 checksum
How to use checksums
c1b0c04800bbdc5321781f700ba9ee3695e9a7d960f2fcd5a97fc30635943f67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / civitai_model_downloader-0.5.0-py3-none-any.whl

Download URL civitai_model_downloader-0.5.0-py3-none-any.whl
Size 58.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c53ef6c4d223db01cae8780b85184d6bf9ce8739d72375593a5249794f9a478a
BLAKE2b-256 checksum
How to use checksums
8be04e2dbf038a3f735c6daf436db2706eb0ebb5e52d8a021daadccc9d270d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for civitai-model-downloader 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page