Sign In

anything-model-batch-downloader

67

326

4

Updated: Oct 5, 2024

toolutilitycolabsagemaker

Type

Other

Stats

326

0

Reviews

Published

Mar 19, 2023

Base Model

Other

Hash

AutoV2
0607BAAC1A
default creator card background decoration
Supporter Badge October 2023
HuyNguyen's Avatar

HuyNguyen

Get in GitHub: https://github.com/kanjiisme/anything-model-batch-downloader

Introduce:

  • Anything Model Batch Downloader allows you to batch download models from civitai, hugging face easily just through model URL.

  • Anything Model Bacth Downloader is designed to run on cloud systems like Google Colab, and Amazon SageMaker.

Feature:

Batch download:

  • The download will be done via a JSON file.

Automatically download necessary parts like checkpoint and VAE if it is the model on CivitAI.

Arguments System:

  • The arguments system allows you to add download conditions to the downloader.

Easy Expansion:

  • Anything Model Batch Download is written as modules, allowing you to use the source code in a simpler way.

Use:

First, you need to have a download list file in JSON format, it should look like this:

{
    "urls" : [
        {
            "model_url": "https://civitai.com/models/2583/grapefruit-hentai-model"
        },
        {
            "model_url" : "https://civitai.com/models/11367/tifameenow",
            "args" : "sub"
        },
        {
            "model_url" : "https://civitai.com/api/download/models/12477",
            "args" : "raw=\"arknights-suzuran.safetensors\" type=\"lora\" sub forcerewrite"
        },
        {
            "model_url" : "https://civitai.com/models/4514/pure-eros-face",
            "args" : "sub saveto=\"nsfw\""
        }
    ]
}

In there:

  • model_url is the model link (or download link if using raw arguments).

  • args are the conditions required for the download.

Run:

python batch_download.py

Or if you have a custom JSON file:

python batch_download.py --listpath="you/path/to/json"

Arguments:

See it here.

Have fun (●'◡'●).