civitai

Search, download, and install Civitai models into ComfyUI for local generation.

715|111|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/artokun/comfyui-mcp --skill civitai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: civitai
Source: https://github.com/artokun/comfyui-mcp/tree/main/plugin/skills/civitai
Command: npx skills add https://github.com/artokun/comfyui-mcp --skill civitai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finding the right checkpoint, LoRA, or embedding on Civitai and getting it working inside ComfyUI normally requires manual browsing, downloading, file placement, and figuring out trigger words and base-model compatibility. This Skill automates that entire find-install-generate loop through comfyui-mcp's built-in Civitai actions.

Core Features & Use Cases

  • Built-in Civitai Search: Query Civitai with filters for model type (LORA, checkpoint) and base model (Flux.1 D, SDXL 1.0, SD 1.5, Pony, Wan Video) using download_model with action:"search_civitai", no API key required.
  • One-step Install: Download a specific model_version_id directly into the correct ComfyUI subfolder (loras, checkpoints, vae, controlnet, embeddings) with action:"download_civitai".
  • Generation Wiring: Add a LoraLoader node, set the model, and apply the hit's trigger words in the prompt, either through the panel or headless via generate_image.
  • Use Case: A user asks for "a good anime LoRA for Flux." The Skill searches Civitai filtered to Flux.1 D, presents the top results with version IDs, downloads the chosen one into loras, wires it into the graph, and inserts its trigger words into the prompt.

Quick Start

Ask the agent to find an anime-style LoRA for Flux on Civitai, install it into ComfyUI, and generate an image using its trigger words.

Frequently Asked Questions about civitai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search and install Civitai models in ComfyUI?

Use download_model with action "search_civitai" and a query, filtering by types and base_models. Then call action "download_civitai" with the chosen model_version_id and the correct target_subfolder such as loras or checkpoints.

How do I download a model from a Civitai URL?

Parse the modelVersionId from the pasted URL and pass it to download_civitai, or pass the model id to resolve the latest version. Raw civitai.com/api/download links also work via action "download" with CIVITAI_API_TOKEN set.

Do I need a Civitai API key to search and download models?

No API key is needed for search and standard downloads. CIVITAI_API_TOKEN from civitai.com/user/account unlocks gated and early-access downloads and gated search results, set once in panel Settings or as an environment variable.

Why won't my downloaded LoRA load on my checkpoint?

LoRAs are base-model specific, so a Flux LoRA will not load on an SDXL checkpoint. Always filter searches with the base_models parameter matching your checkpoint family, such as Flux.1 D, SDXL 1.0, or SD 1.5.

What is the difference between the built-in Civitai search and the official Civitai MCP?

The built-in search_civitai action covers discovery, download, and local generation with no extra server. The official Civitai MCP at mcp.civitai.com adds community features like browsing example images, collections, posting, and reviews.