RunComfy

Search

ComfyUI Workflows

ComfyUI Online

Try RunComfy, we help you focus on ART instead of red errors

RC ComfyUI Versions

RunComfy System Status

ComfyUI How-tos

ComfyUI
ComfyUI
(Legacy) How to upload Civitai/Huggingface model to RunComfy machine?
(Legacy) How to upload Civitai/Huggingface model to RunComfy machine?

(Legacy) How to upload Civitai/Huggingface model to RunComfy machine?

  1. Click to enter the required model storage location in filebrowser, such as ComfyUI/models/checkpoints
image
  1. Click the three dots in the upper right corner, click toggle shell to open the command line
image
  1. Confirm the current directory through pwd, ls
  2. image
  3. Download the corresponding model through the wget command and specify the name
    1. Get the model connection
      • civitai.com, make sure the link has the type=xxx&format=xxx in it. If it doesn't, then check if you are copying the right link (the one in file section with button "Download").
      • Sometime it is couple of cells down,

        image
      • Huggingface, RIGHT click on the download button and select “Copy Link Address”
      • image

      b. Use wget to download the model

      This is the basic usage. For more information, please refer to https://www.gnu.org/software/wget/manual/.

      MAKE SURE YOU READ ALL NOTE #1, #2, #3 before you run the following wget command.

      # make sure THE_FILE_NAME_YOU_WANT_TO_SAVE only contains alphanumerical, dot, underscore and hyphen
      # make sure you don't have space in the THE_FILE_NAME_YOU_WANT_TO_SAVE
      wget -b "PUT_LINK_HERE" -O THE_FILE_NAME_YOU_WANT_TO_SAVE
      
      # For example
      wget -b "https://civitai.com/api/download/models/344398?type=Model&format=SafeTensor&size=pruned&fp=fp16" -O photonLCM_v10.safetensors

      Note #1

      Make sure to use -b with wget to run it in the background, otherwise there may be timeout issues.

      Note #2

      For Civitai models, please make sure your link looks like this, double quoted, "https://civitai.com/api/download/models/261911?type=Model&format=SafeTensor", make sure it has the type=Model&format=SafeTensor in it. If it doesn't, then check if you are copying the right address (the one in file section with button "Download")

      Note #3

      For certain models/loras, Civitai will require an token in the download link. You will notice an error in the wget-log file like “HTTP request sent, awaiting response... 401 Unauthorized Username/Password Authentication Failed.”. Please follow the Civitai token guide to get an API token and run the following command one more time,

      # replace the following xxxx with your token
      wget -b "PUT_LINK_HERE&token=xxxx" -O THE_FILE_NAME_YOU_WANT_TO_SAVE
      
      # for example, replace the "xxxx" with your token
      wget -b "https://civitai.com/api/download/models/344398?type=Model&format=SafeTensor&size=pruned&fp=fp16&token=xxxx" -O photonLCM_v10.safetensors

      Example

      civitai.com

      image

      huggingface

      image
  4. check `wget-log` for download progress
    1. Enter the directory where you downloaded the model and look for `wget-log` to check the progress (double click on it to open, command + down_arrow to go to the bottom of the file).

      Example

      image
      image
    2. Once the download is done, make sure you refresh the browser to see the new models in ComfyUI interface.
RunComfy

ComfyUI

ComfyUI Online

ComfyUI Web

ComfyUI Workflows

ComfyUI Cloud