Run ComfyUI Remotely
Run ComfyUI on a remote GPU with full custom node support.
1. Create a pod
Section titled “1. Create a pod”swm pod create -p runpod -g "RTX 4090" -n comfy \ --lifecycle auto-down --idle-timeout 20 -y2. Install ComfyUI
Section titled “2. Install ComfyUI”swm setup install comfyui <provider>:<pod-id>3. Add custom nodes (before starting)
Section titled “3. Add custom nodes (before starting)”swm run <provider>:<pod-id> \ "cd /workspace/ComfyUI/custom_nodes && \ git clone --depth 1 https://github.com/example/my-node.git && \ /workspace/ComfyUI/venv/bin/pip install -r my-node/requirements.txt"4. Start ComfyUI
Section titled “4. Start ComfyUI”swm setup start comfyui <provider>:<pod-id>5. Access
Section titled “5. Access”ComfyUI will be available at the proxy URL or via SSH tunnel at http://localhost:8188.
6. Download workflows
Section titled “6. Download workflows”swm download <provider>:<pod-id> /workspace/ComfyUI/output/ -d ~/Downloads