AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

Archiving Deleted Models and Syncing Checkpoints to ComfyUI and Automatic1111 with Civitai Vault and Link

Baptiste Aulanier · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Digital concept artists, technical directors, and indie game developers running Stable Diffusion and Flux locally face two recurring operational disasters: local storage depletion and upstream model disappearance. A production-ready local setup requires dozens of base models, fine-tuned checkpoints, and hundreds of task-specific LoRAs. With Flux.1 checkpoints weighing between 12 GB and 24 GB, SDXL models sitting at 6.5 GB, and SD 1.5 weights hovering around 2 GB to 4 GB, a creative library quickly devours multiple terabytes of high-speed NVMe space. Worse, community fine-tuners frequently delete models, set repositories to private, or abandon accounts, instantly breaking production pipelines that rely on reproducible seeds and specific checkpoint hashes.

Civitai addresses both issues through two tightly coupled tools: Civitai Vault, a cloud locker that physically clones and preserves model weights even after their original authors delete them from public listings, and Civitai Link v2, an operating-system-level desktop daemon that routes models and trigger word metadata directly into local ComfyUI and Automatic1111 directories with a single browser click.

At 365Finds, our institutional stance is unambiguous: Civitai Vault and Link form an essential reliability layer for any commercial digital artist who cannot afford pipeline breakage caused by disappearing community weights. However, treating Vault as an unthinking catch-all is an expensive mistake. To build a cost-effective, bulletproof asset pipeline, creators must understand what Vault actually protects, configure Link to avoid redundant local storage duplication between ComfyUI and Automatic1111, and follow strict storage triage.


How Civitai Vault Solves the "Deleted Model" Catastrophe

When browsing open AI model repositories, saving a model to your favorites or a collection only preserves a hyperlink. If the creator deletes the model version, toggles it to private, or closes their account, the download link yields a 404 error, leaving existing generation workflows unrepeatable.

Physical Cloud Isolation

Civitai Vault operates differently from a bookmark:

Critical Limitations and Edge Cases

Vault provides robust commercial insurance, but it is not invulnerable:


Civitai Link v2: The Bridge Between Cloud and Local Workflows

The original Civitai Link existed as an Automatic1111-specific webUI extension. Civitai Link v2 is a complete rewrite: a standalone, cross-platform desktop application (Windows, macOS, Linux) that runs in the background. Because it interfaces directly with your local operating system's filesystem, it works agnostic of your front-end, whether you use Automatic1111, ComfyUI, SD WebUI Forge, or Fooocus.

Core Architecture

Link v2 establishes two persistent communication channels:

  1. Link RPC/WebSocket: Connects the Civitai web interface in your browser to the desktop client via a generated Link shortcode.
  2. Civitai API Key: Authenticates your desktop client with your personal Civitai Vault bucket, enabling bi-directional weight management (pulling from Vault and pushing local fine-tunes to Vault).

When connected, browsing Civitai surfaces a blue Send via Link button on model cards. Clicking it instructs the local Link client to fetch the file directly into pre-assigned subdirectories, complete with preview images and trigger word sidecars, eliminating manual drag-and-drop file organization.


Step-by-Step Setup: Vault Archival and Dual Sync to ComfyUI & Automatic1111

To avoid wasting storage by downloading identical multi-gigabyte models twice, artists should establish a Single Source of Truth storage topology before configuring Link.

[Civitai Cloud / Vault]
         │ (1-Click Send via Link v2)
         ▼
[Central Shared Directory]
  ├── Checkpoints/ (SD 1.5 / SDXL / Flux)
  └── LoRAs/
         │
         ├──► ComfyUI (via extra_model_paths.yaml)
         └──► Automatic1111 (via webui-user.bat CLI args or Symlinks)

Step 1: Install and Authenticate Civitai Link v2

  1. Download the installer for your OS from the official Civitai Link desktop repository or product page.
  2. Launch the Link desktop application.
  3. Open Civitai.com in your web browser while logged into your paid account.
  4. Click the small Computer icon located beside the top-navigation "Create" button. Follow the prompt to copy your unique Link Key / Shortcode.
  5. In the Link desktop app, click Disconnected in the upper left, paste your Shortcode, and name your client instance (e.g., Studio-Workstation). The status icon turns green.
  6. Open Civitai Account Settings, generate a dedicated Civitai API Key, navigate to Link v2's Settings tab, paste the API key into the designated field, and click Save. This activates private Vault communication.

Step 2: Establish a Centralized Model Repository

Rather than maintaining separate model folders for Automatic1111 and ComfyUI:

  1. Create a master directory on your fastest NVMe storage drive (for example, D:\AI_Models\Checkpoints and D:\AI_Models\LoRAs).
  2. Open Civitai Link v2 Settings -> Folder Paths.
  3. Map each resource type to its centralized directory:
    • Checkpoint -> D:\AI_Models\Checkpoints
    • LORA -> D:\AI_Models\LoRAs
    • VAE -> D:\AI_Models\VAE
    • Embeddings -> D:\AI_Models\Embeddings

Step 3: Link the Central Repository to ComfyUI

ComfyUI provides native directory passthrough via YAML configuration:

  1. Locate the file extra_model_paths.yaml.example in your ComfyUI root directory.
  2. Rename it to extra_model_paths.yaml.
  3. Open the file in a code editor and define your shared root:
    civitai_shared:
        base_path: D:/AI_Models/
    
        checkpoints: Checkpoints
        loras: LoRAs
        vae: VAE
        embeddings: Embeddings
    
  4. Restart ComfyUI. Every model downloaded by Link now appears in ComfyUI loaders immediately without file duplication.

Step 4: Link the Central Repository to Automatic1111

Automatic1111 can ingest shared directories using launch arguments:

  1. Open your webui-user.bat (Windows) or webui-user.sh (Linux/macOS) in a text editor.
  2. Append the target path flags to COMMANDLINE_ARGS:
    set COMMANDLINE_ARGS=--ckpt-dir "D:\AI_Models\Checkpoints" --lora-dir "D:\AI_Models\LoRAs" --vae-dir "D:\AI_Models\VAE"
    
  3. Alternatively, on Windows NTFS drives, execute command prompt directory junctions:
    mklink /J "C:\stable-diffusion-webui\models\Stable-diffusion\Shared" "D:\AI_Models\Checkpoints"
    mklink /J "C:\stable-diffusion-webui\models\Lora\Shared" "D:\AI_Models\LoRAs"
    
  4. Launch Automatic1111. The webUI recognizes the entire shared hierarchy.

Step 5: Archiving at Discovery and Syncing to Local Folders

  1. Immediate Cloud Vaulting: Whenever you discover an exceptional style LoRA or custom community checkpoint on Civitai, click Add to Vault before doing anything else. The progress indicator tracks upload to your cloud bucket. Once complete, the asset is shielded against author deletion.
  2. One-Click Local Deployment: Click Send via Link from the Civitai web interface or inside Link v2's Vault tab. The file streams directly into your mapped shared folder.
  3. Trigger Words & Metadata Extraction: Civitai Link downloads companion metadata and preview cards alongside the model weights. Opening Link v2 displays the model's verified trigger words, recommended weights, and training base, allowing you to copy activation tags without searching old web bookmarks.
  4. Pushing Custom Checkpoints to Vault: If you train an in-house LoRA or create a unique checkpoint merge locally, open Link v2, select the local file, and choose Push to Vault. The weight uploads to your private cloud storage, freeing up local drive space while keeping the model ready for re-download.

Strategy Comparison: Local Drives vs. Civitai Vault vs. Raw Cloud Buckets

DimensionPure Local NVMe / HDD StorageCivitai Vault + Link v2Private Hugging Face / S3 Bucket
Protection from Creator DeletionHigh (if already downloaded); Zero (if author deletes before local save)High (physical cloud copy preserved indefinitely; immune to author removal)High (if manually mirrored); High complexity
Disk Space OverheadSevere (multi-TB libraries fill local SSDs quickly; requires multiple physical drives)Minimal (cloud cold storage; local files can be deleted and re-pulled on demand)Minimal (cloud cold storage; manual CLI/API pulls required)
Workflow FrictionModerate (manual browser download, manual folder sorting, manual trigger word hunting)Ultra-low (1-click browser push to target folders; trigger words visible in Link UI)High (requires git lfs, huggingface-cli, or AWS S3 CLI synchronization scripts)
Metadata PreservationPoor (manual screenshot and text file saving required)High (automated .pdf documentation, showcase gallery .zip, sidecar metadata)Low (requires custom script to archive model cards and trigger tags)
Vulnerability to ToS PurgesNone (local files on physical drives are never remotely altered)Moderate (models violating severe platform ToS are globally purged from Vault)Low to Moderate (depends on hosting service terms)
Cost ProfileOne-time hardware cost ($100-$150 per 2TB NVMe)Recurring monthly subscription ($10/mo for 100GB to $50/mo for 500GB)Pay-as-you-go bandwidth and storage costs ($0.023/GB/mo on standard cloud)

365Finds Research Verdict & Operational Guidelines

At 365Finds, we evaluate creator tooling by its ability to protect commercial production schedules. Our operational assessment of Civitai Vault and Link yields clear rules of engagement:

1. The Triage Rule: Do Not Waste Vault Gigabytes on Base Models

A 100 GB Bronze Vault fills up after storing just four to eight raw Flux or SDXL checkpoints. Never add official base checkpoints (such as Flux.1-dev, Flux.1-schnell, SDXL base 1.0, or SD 1.5) to Civitai Vault. Official base weights are permanently hosted across dozens of mirror repositories, including Hugging Face and academic archives; they will not vanish overnight.

2. Never Treat Civitai Vault as an Archival Substitute for Local Hard Drives

Civitai Vault is a warm production cache, not an immutable cold-storage legal archive. Because Civitai reserves the right to wipe models that breach platform ToS, mission-critical proprietary assets and client training runs must always have an offline, cold backup on an external hard drive or in-house NAS. Vault protects against community author volatility, not catastrophic platform policy changes.

3. Maintain Subscription Awareness

If you plan to pause or cancel your Civitai membership, calendar the strict 7-day download deadline immediately. Letting the 7-day grace period lapse turns your active models into locked placeholders for 23 days, after which retrieving critical project weights requires repurchasing a subscription.

By combining Civitai Vault as a selective cloud locker with Civitai Link v2 driving a centralized extra_model_paths.yaml architecture, digital artists eliminate local drive bloat while establishing a resilient, 404-proof generation pipeline.


References