> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Import models

> Learn how to import models from Civitai and Hugging Face to Comfy Cloud

<Note>
  This is a **Comfy Cloud** feature and is only available in the cloud version. To learn more about Comfy Cloud, see [Comfy Cloud](/get_started/cloud).
</Note>

## Overview

Comfy Cloud allows you to import models directly from Civitai and Hugging Face. This feature is available for users with a **Creator** subscription or higher.

## Requirements

* **Subscription**: Creator tier or above
* **Supported sources**: Civitai and Hugging Face

## How to import models

### 1. Access the import feature

<img src="https://mintcdn.com/dripart/-QDp41xfxDglkAeZ/images/cloud/import_model/import_model.png?fit=max&auto=format&n=-QDp41xfxDglkAeZ&q=85&s=0621b50c1cc510ddcdd5bb69f96625b7" alt="Import" width="2140" height="1034" data-path="images/cloud/import_model/import_model.png" />

1. Click the **Models** button in the left sidebar to open the Model Library.
2. In the Model Library modal, click the **Import** button.

### 2. Paste the link

1. Paste the model link you obtained from Hugging Face or Civitai.
   <img src="https://mintcdn.com/dripart/04-EVgSb3UFO1T4M/images/cloud/import_model/import_model_modal-1.png?fit=max&auto=format&n=04-EVgSb3UFO1T4M&q=85&s=077d3bf113f8139db1ce9f94e3c42202" alt="Import Modal" width="1720" height="1262" data-path="images/cloud/import_model/import_model_modal-1.png" />

2. If the link is valid, you will see a confirmation indicator and can click the `Continue` button to proceed.
   <img src="https://mintcdn.com/dripart/04-EVgSb3UFO1T4M/images/cloud/import_model/import_model_modal-2.png?fit=max&auto=format&n=04-EVgSb3UFO1T4M&q=85&s=3b35abf880dc14c6d0186e1e6a104f92" alt="Import Modal" width="1720" height="1262" data-path="images/cloud/import_model/import_model_modal-2.png" />

3. Select the model type and target folder.
   <img src="https://mintcdn.com/dripart/04-EVgSb3UFO1T4M/images/cloud/import_model/import_model_modal-3.png?fit=max&auto=format&n=04-EVgSb3UFO1T4M&q=85&s=10c28ec6293b6d2658d2899ebbae072f" alt="Import Modal" width="1720" height="1262" data-path="images/cloud/import_model/import_model_modal-3.png" />

4. Wait for the model to finish downloading.
   <img src="https://mintcdn.com/dripart/04-EVgSb3UFO1T4M/images/cloud/import_model/import_model_modal-4.png?fit=max&auto=format&n=04-EVgSb3UFO1T4M&q=85&s=d80d9bb488937b1b2493dfc4929b7a17" alt="Import Modal" width="1720" height="1242" data-path="images/cloud/import_model/import_model_modal-4.png" />

5. Once downloaded, you can find the model in your Model Library.

## How to view imported models

In the Model Library, select "My Models" in the dropdown filter to filter out the models you imported.

<img src="https://mintcdn.com/dripart/506FEUHoNW04mqdV/images/cloud/import_model/imported_model.png?fit=max&auto=format&n=506FEUHoNW04mqdV&q=85&s=9e0b5c5f1a200c7337f94aa67d7ffd36" alt="Imported Models" width="1703" height="964" data-path="images/cloud/import_model/imported_model.png" />

## How to get model import links

### 1. Get link from Civitai

1. Go to [Civitai](https://civitai.com/) and find the model you want to import.
2. Right-click the download button and select "Copy link address" to get the model download link.

<img src="https://mintcdn.com/dripart/-QDp41xfxDglkAeZ/images/cloud/import_model/copy_civitai_link.png?fit=max&auto=format&n=-QDp41xfxDglkAeZ&q=85&s=48e3791d2dda7a9df235b1b4e73b0942" alt="Copy Civitai Link" width="1385" height="729" data-path="images/cloud/import_model/copy_civitai_link.png" />

### 2. Get link from Hugging Face

1. Go to [Hugging Face](https://huggingface.co/) and find the model repository you want to import.
2. Navigate to the model files page. Supported formats are typically ".safetensor" or ".sft" files. Click on the specific model name to enter its detail page.

<img src="https://mintcdn.com/dripart/04-EVgSb3UFO1T4M/images/cloud/import_model/copy_huggingface_link-1.png?fit=max&auto=format&n=04-EVgSb3UFO1T4M&q=85&s=786214df669fd53613b295e6bd6e8cef" alt="Copy Huggingface model link" width="1276" height="1059" data-path="images/cloud/import_model/copy_huggingface_link-1.png" />

3. On the detail page, click the `Copy Download Link` button to get the model download link.

<img src="https://mintcdn.com/dripart/04-EVgSb3UFO1T4M/images/cloud/import_model/copy_huggingface_link-2.png?fit=max&auto=format&n=04-EVgSb3UFO1T4M&q=85&s=4681f3e56576eb36ad4e26287bebc65b" alt="Copy Huggingface model link" width="1276" height="815" data-path="images/cloud/import_model/copy_huggingface_link-2.png" />

## Import private models

If you want to import private models from Hugging Face or Civitai, you need to configure your API keys first.

### 1. Generate your API keys

First, you need to generate API keys from the respective platforms:

<Tabs>
  <Tab title="Civitai">
    1. Log in to Civitai and visit [https://civitai.com/user/account](https://civitai.com/user/account).
    2. Generate your API key in the account settings.

           <img src="https://mintcdn.com/dripart/dkKbceCnXIcxFyjM/images/cloud/import_model/civitai_key-1.png?fit=max&auto=format&n=dkKbceCnXIcxFyjM&q=85&s=50e93b8937fe90a70f7aec140db65d30" alt="Civitai API Key" width="4132" height="3264" data-path="images/cloud/import_model/civitai_key-1.png" />
  </Tab>

  <Tab title="Hugging Face">
    1. Visit [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens).

    2. Generate your API token.

           <img src="https://mintcdn.com/dripart/dkKbceCnXIcxFyjM/images/cloud/import_model/huggingface_key-1.png?fit=max&auto=format&n=dkKbceCnXIcxFyjM&q=85&s=32729b7a20a9ebe16d546c4836b92b49" alt="Hugging Face API Key" width="4132" height="3264" data-path="images/cloud/import_model/huggingface_key-1.png" />

    3. Make sure your token has read access to the repositories containing the private models you want to import.

           <img src="https://mintcdn.com/dripart/dkKbceCnXIcxFyjM/images/cloud/import_model/huggingface_key-2.png?fit=max&auto=format&n=dkKbceCnXIcxFyjM&q=85&s=2ae808aa8052e3cc98e8d91b5fde551c" alt="Hugging Face Token Permissions" width="4132" height="3264" data-path="images/cloud/import_model/huggingface_key-2.png" />
  </Tab>
</Tabs>

### 2. Save your API keys

1. Go to [Comfy Cloud Settings](https://cloud.comfy.org) and navigate to the **Secrets** section.

<img src="https://mintcdn.com/dripart/dkKbceCnXIcxFyjM/images/cloud/import_model/setting_secerts-1.png?fit=max&auto=format&n=dkKbceCnXIcxFyjM&q=85&s=15ea8a8aeeb50da9bedc00429c9c05b1" alt="Settings Secrets" width="4268" height="3774" data-path="images/cloud/import_model/setting_secerts-1.png" />

2. Click to add your API keys (you can name the key anything you like):

<img src="https://mintcdn.com/dripart/dkKbceCnXIcxFyjM/images/cloud/import_model/setting_secerts-2.png?fit=max&auto=format&n=dkKbceCnXIcxFyjM&q=85&s=b87a3c87203a4e3929ae41295281a823" alt="Add Secret Key" width="4268" height="3774" data-path="images/cloud/import_model/setting_secerts-2.png" />

3. Make sure your API keys have access permissions to the private models you want to import.

### 3. Import the private model

Once your API keys are configured, you can import private models using the same process as public models:

1. Get the model link from Hugging Face or Civitai.
2. Paste the link in the import modal.
3. The system will automatically use your saved API keys to access the private model.

<Note>
  Make sure your API key has the necessary permissions to access the specific private model you want to import.
</Note>

## FAQ

<AccordionGroup>
  <Accordion title="Are there restrictions on what models I can upload?">
    Yes. Only **safetensor** file types are supported. There is effectively no file size limit (up to 100GB).
  </Accordion>

  <Accordion title="Are the models I upload private or shared with everyone?">
    Models you import are **private to you**. Only you can see the models in your library.
  </Accordion>

  <Accordion title="Can I upload my own custom models from my local hard drive?">
    Currently, you need to upload the model to a **public Hugging Face or Civitai repository** first, then import from those platforms.
  </Accordion>

  <Accordion title="Can I upload chunked model files?">
    No. You will need to combine chunked model files into one file before importing.
  </Accordion>

  <Accordion title="Is this feature included in my current cloud subscription?">
    This feature is available for **Creator** and **Pro** plans only.
  </Accordion>

  <Accordion title="Is this feature accessible on the Desktop or portable versions of Comfy?">
    No. This is a **Cloud-only** feature.
  </Accordion>

  <Accordion title="Can I delete a model that I uploaded?">
    Yes. You can delete models you imported. Note that models uploaded by the Comfy internal team cannot be deleted.
  </Accordion>
</AccordionGroup>
