Skip to content

📘 ComfyUI tutorials

The general instructions apply to every template. Where the templates differ, the instructions are split by template.

  • This tutorial reflects my own experience on RunPod.
  • Always consult the excellent official RunPod documentation.

Common tasks

🚀 Starting a Pod

Start a pod on RunPod

🔌 Connecting to Your Pod

RunPod connection documentation

Possible HTTP services

⚠️ Service not ready or browser unauthorized

Unauthorized

Try to connect through the proxy with the pod ID and port number. You can find the URLs at the end of the log file in the RunPod console.

  • ComfyUI: https://<pod-id>-8188.proxy.runpod.net/login
  • Code-Server: https://<pod-id>-9000.proxy.runpod.net/login

🎨 ComfyUI

  1. Select the Connect tab → ComfyUI.
  2. Set the username and password.
  3. Load a workflow from the left menu.
  4. Press Run.
  5. Monitor GPU and RAM usage via Telemetry.

Select the LTX workflow

Select the MiniMax workflow

⚠️ ComfyUI screen remains blank

  • Wait one minute and try again.
  • Restart your browser and/or clear its cache.
  • Try another browser, such as Brave, Chrome, or Edge.

💻 Web Terminal

Web Terminal

  • Select the Connect tab.
  • Enable Web Terminal.
  • The terminal is now available directly in your browser.

🧑‍💻 Code-Server Login

Login without a password variable

No PASSWORD set

Copy the password displayed at the end of the container log in the RunPod console, or open the web terminal and enter:

cat /root/.config/code-server/config.yaml

Copy the password and log in through the Code-Server service on the Connect tab.

PASSWORD set in the RunPod template

Log in through the Code-Server service on the Connect tab.

Information available in the pod

Code-Server

⚠️ Code-Server screen remains blank

  • Wait one minute and try again.
  • Restart your browser and/or clear its cache.
  • Try another browser, such as Brave, Chrome, or Edge.

🔐 Secrets

RunPod secrets documentation

Useful secrets:

  • PASSWORD for the Code-Server login
  • CIVITAI_TOKEN for Civitai
  • HF_TOKEN for Hugging Face

📥 Downloading Models and LoRAs

Use the web terminal, Code-Server, or ComfyUI-Lora-Manager.

🧩 ComfyUI-Lora-Manager

Launch the web interface

ComfyUI top bar

  • Open it from the ComfyUI top bar.
  • Alternatively, use the URL displayed at the end of the container log:
https://<pod-id>-8188.proxy.runpod.net/loras

Civitai token

Go to Preferences and add your CIVITAI_TOKEN if it was not set before starting the pod.

Refresh, fetch, and download models

LoRA Manager top bar

  • Press Refresh and Fetch to download images for LoRAs already available in the pod.
  • Press Download and enter the Civitai page URL, not the download URL.
  • For run-comfyui-wan2, download both the high-noise and low-noise models separately.

Basic integration

For run-comfyui-image, run-comfyui-ltx, and run-comfyui-minimax:

  • Add a Lora-Loader (LoraManager) node to your ComfyUI workflow.
  • Press the Paper Airplane in the LoRA Manager web interface.
  • The LoRA becomes available in your workflow.

Send an Image LoRA

LoRA Loader node

High/Low noise model WAN 2.2

  • Add high-noise and low-noise Lora-Loader (LoraManager) nodes to your workflow.
  • Press the Paper Airplane for both models in the LoRA Manager web interface.
  • Both LoRAs become available in your workflow.

Send the WAN LoRAs

🧩 Model linker

  • It tries to link models found in workflows to the pod provisioning.
  • It can download models, but be aware of the pod's limited volume capacity.
  • Author's example

Example: linking models in a ComfyUI template

Model Linker step 1

Model Linker step 2

Model Linker step 3

🧩 CivitAI CLI

If no CIVITAI_TOKEN was set, create or use a free token from the Civitai website.

Civitai version ID

export CIVITAI_TOKEN="xxxxx"
civitai_com VERSION_ID /workspace/ComfyUI/models/<loras, etc>
civitai_red VERSION_ID /workspace/ComfyUI/models/<loras, etc>

Examples:

civitai_com 2228466 /workspace/ComfyUI/models/loras/
civitai_red 2893442 /workspace/ComfyUI/models/loras/

Refresh ComfyUI nodes

Refresh ComfyUI by pressing R.

☁️ Hugging Face CLI

HF_TOKEN is required for gated repositories and uploads.

Log in:

hf auth login --token xxxxx

Or set the token:

export HF_TOKEN="xxxxx"

Download the example from Hugging Face:

hf download ricecake/wan21NSFWClipVisionH_v10 wan21NSFWClipVisionH_v10.safetensors --local-dir /workspace/ComfyUI/models/clip_vision
Refresh ComfyUI by pressing R.

Manual provisioning

Manual provisioning

  • Information is available in the pod's documentation.
  • Open the web terminal or Code-Server.

🧩 Deleting Models and LoRAs

Web terminal or Code-Server

  • Enter ncdu in the terminal.
  • Follow the on-screen instructions.

LoRA Manager

  • Select the LoRA.
  • Select Delete.

🧩 ComfyUI Manager

Open it from the top bar or menu.

Manage extensions

🧩 Pod management

RunPod pod management

🔄 Uploading and Downloading Files

RunPod file management

🔧 Advanced Features

RunPod advanced features

🔑 RunPod API

RunPod API