Nodes/ComfyUI-ArchAi3d-Qwen/πŸ“₯ CivitAI Download (Rename)
ComfyUI Node

πŸ“₯ CivitAI Download (Rename)

Grab a model off CivitAI and rename it before the download even ends

By amir84ferdosΒ·Created 11 months agoΒ·Updated 5 months agoΒ· 70
πŸ“₯ CivitAI Download (Rename)
    • status
    β—„model_id360292β–Ί
    β—„api_tokenβ–Ί
    β—„save_dirβ–Ύβ–Ί
    β—„custom_nameβ–Ί
    β—„overwritefalseβ–Ί
    β—„save_dir_overrideβ–Ί
    β—„connections16β–Ί

    We've all been there: you find a LoRA on CivitAI, download it, and it lands in your loras folder as a_random_sha256_name.safetensors with no clue what it does. ArchAi3D CivitAI Download fixes that by fetching the file and letting you rename it at the same time - plus it's genuinely fast, because the download itself is parallel.

    The key inputs are model_id, api_token, and save_dir. model_id is the version ID from the URL - the long number on the version page, not the model page ID, and the default "360292" is just a placeholder example. api_token comes from civitai.com/user/account and matters more than you'd think: gated and adult models require it, and without it some downloads 403. save_dir is a dropdown of standard model folders (checkpoints, loras, diffusion_models, controlnet, and two dozen more) relative to ComfyUI/models/.

    The rest of the panel

    • custom_name - the rename feature. Leave it empty to keep CivitAI's original filename; fill it in and your model saves as exactly that (the extension is appended).
    • overwrite - replace the file if it already exists. Default off, so re-running a workflow doesn't re-download everything.
    • save_dir_override - a free-text path that beats the dropdown. Useful for niche folders the list doesn't cover.
    • connections (1-64, default 16) - how many parallel connections the download uses. The node tries aria2c first if it's on your system; otherwise it falls back to splitting the file into parallel Range requests. More connections = faster, up to whatever your bandwidth and CivitAI's CDN will give you.

    The single output is a status string describing what happened - a good candidate for a text display node, since this is an output node with nothing else to wire.

    Installation

    It's part of the ComfyUI-ArchAi3d-Qwen pack. Install via ComfyUI Manager (search "ArchAi3d Qwen") or manually:

    cd ComfyUI/custom_nodes/
    git clone https://github.com/amir84ferdos/ComfyUI-ArchAi3d-Qwen.git
    cd ComfyUI-ArchAi3d-Qwen
    pip install -r requirements.txt
    

    Restart ComfyUI; the node sits under ArchAi3d/Download. Note the pack's requirements install a lot of unrelated dependencies, and the license is dual - free for personal, paid for commercial.

    Where people get burned

    The classic failure is using the model page ID instead of the version ID. Open the specific version you want and copy that number - the page ID points at a model, but the download endpoint wants a version. Second: no token on a gated model returns an error instead of a file, and the node will tell you to check your token, so that's usually the fix. And there's a deliberate design detail hidden in the source: downloads are serialized behind a lock, so hammering the node repeatedly won't trigger CivitAI's rate limits (429/503). If it does look stuck, a previous download is still running - wait it out rather than queueing more. It's still CivitAI, so slow days happen; the parallel connections help, they don't perform miracles.

    CategoryArchAi3d/Download

    Inputs (7)

    NameTypeDefaultDescription
    model_idSTRING360292CivitAI model version ID (number from URL)
    api_tokenSTRINGYour CivitAI API token (get from civitai.com/user/account)
    save_dirCOMBODirectory to save the model (relative to ComfyUI/models/)
    custom_nameoptSTRINGCustom filename (leave empty to keep original name)
    overwriteoptBOOLEANfalseOverwrite if file already exists
    save_dir_overrideoptSTRINGCustom save path (overrides save_dir dropdown)
    connectionsoptINT161–64Number of parallel connections (more = faster, default 16)

    Outputs (1)

    NameTypeDescription
    statusSTRINGβ€”