How to install ComfyUI

If you would like to install Videcool on your system, you also need to setup ComfUI. ComfyUI isn’t just another front-end, it’s the actual AI-model execution engine that Videcool relies on to generate images and videos using diffusion pipelines. Installing ComfyUI gives Videcool the runtime backbone it needs; without it, Videcool has nowhere to plug in its nodes and no way to fire the GPU kernels that turn your text prompts into frames. In this guide you can find the installation steps needed to setup ComfuUI on your computer.

Step 1: Enable the NVIDIA driver

To generate Images and Videos with AI you need an NVIDIA GPU. Linux needs the NVIDIA drivers enabled to make it possible to work with the GPU.

Step 2: Install NVIDIA CUDA toolkit

Once the NVIDIA driver is enabled, you need to Install the NVIDIA toolkit. This software package released by NVIDIA provides functionality for AI model execution.

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-ubuntu2404.pin
sudo mv cuda-ubuntu2404.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.8.0/local_installers/cuda-repo-ubuntu2404-12-8-local_12.8.0-570.86.10-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2404-12-8-local_12.8.0-570.86.10-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2404-12-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-8
sudo apt-get -y install nvidia-gds

export PATH=${PATH}:/usr/local/cuda-12.8/bin
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda-12.8/lib64

Step 3: Install Conda environment

The Conda framework is an environment virtualization system for Python. It makes it possible to run different python programs without version conflicts.

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash ~/Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc

Step 4: Install ComfyUI

Once all the prerequisites are installed, you are ready to setup ComfyUI on your system.

conda create -n ComfyUI python=3.12.11
conda activate ComfyUI

pip install comfy-cli

comfy --install-completion

comfy install

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128

Summary

To run Videcool’s AI image- and video-generation pipelines you must first install ComfyUI. ComfyUI is the underlying execution engine that turns text prompts into GPU-rendered frames. The process begins by enabling NVIDIA drivers on Ubuntu, then adding the CUDA toolkit and cuDNN libraries that supply the GPU kernels. Next, Miniconda is installed to isolate Python dependencies, after which a fresh Conda environment (Python) is created. Finally, ComfyUI itself is pulled in via the comfy-cli package, PyTorch with CUDA support is layered on top, and the environment is ready for Videcool to plug in its diffusion nodes.

More information