{"repo":"Confuzu/CivitAI-Model-grabber","free":true,"listed":false,"github":"https://github.com/Confuzu/CivitAI-Model-grabber","clone":"git clone https://github.com/Confuzu/CivitAI-Model-grabber.git","description":"API-driven bulk downloader (Python) with content-type filtering (LoRA, LyCORIS, embeddings, etc.) plus related images, pagination, incremental sync, token auth, retries/threads, inventory export, and structured output.","language":"Python","stars":63,"topics":["api","civitai","python3"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"Civit-Model-grabber The script Supports different download types: Lora, Checkpoints, Embeddings, Training Data, Other, or All and related images from a given CivitAI username, organizing them into appropriate directories and maintaining details in a text file. It's designed to download only the files that are not already present in the specified username's folder. If the user uploads new models, running the script again will download only the newly uploaded files. Example of Details.txt File Structure The downloaded files will be organized in the following structure: How to use API Token Setup The script needs a CivitAI API token. You can provide it in three ways (checked in this order): 1. CLI argument: --token YOUR TOKEN 2. Environment variable: CIVITAI API TOKEN=YOUR TOKEN 3. .env file in the script directory containing CIVITAI API TOKEN=YOUR TOKEN 4. If none of the above are set, the script will prompt you securely (hidden input) Without a token, only public models can be downloaded. With a token, models behind the CivitAI login are also accessible. Running the script The script will interactively prompt for: - Download mode: Choose (1) By username or (2) By model ID - Username(s): (mode 1) Enter one or multiple usernames separated by commas - Model ID(s): (mode 2) Enter one or multiple model IDs separated by commas (e.g., 12345, 67890 ) - Download type: Choose from Lora, Checkpoints, Embeddings, Training Data, Other, All, or All except Checkpoints Download by Model ID Yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/Confuzu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Confuzu/CivitAI-Model-grabber/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}