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

# ComfyUI

> Run ComfyUI on high-performance GPUs

## ComfyUI and GPU Trader

ComfyUI is a powerful, node-based interface for running Stable Diffusion and other diffusion-based models. It gives creators, developers, and researchers full control over their image generation workflows through a visual graph editor. Each step—from prompt handling and model selection to sampling and post-processing—is represented as a customizable node, making it easy to experiment, iterate, and optimize. ComfyUI is popular among advanced users for its transparency, modularity, and reproducibility, and it runs locally or on GPU-powered containers without requiring complex setup.

GPU Trader supports ComfyUI out of the box, so you can launch your own fully configured environment in minutes—no installs, no guesswork. Use this guide to rent your first GPU Trader instance and start creating!

## Install ComfyUI on GPU Trader

Watch this quick video on installing ComfyUI on GPU Trader or follow the steps below.

<iframe src="https://www.loom.com/embed/6f58d4ff36274f3b9e231b2729f6a410?sid=1d44ad71-1193-4c51-bf65-2ceb266c6d69" width="100%" height="600" />

<Steps>
  <Step title="Sign Up and Create an Account">
    Start by [signing in](https://console.gputrader.io) or creating an account on GPU Trader. If you need help, watch the GPU Trader [Quickstart](/quickstart) or read the [docs](/renters/signin).

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/PlULXMRHxtekImgv/renters/images/signup/signin.png?fit=max&auto=format&n=PlULXMRHxtekImgv&q=85&s=63e584e46e679297dee63330e41c193a" width="431" height="602" data-path="renters/images/signup/signin.png" />
  </Step>

  <Step title="Find and Rent a Compatible Instance">
    Use the Find a Device page to browse available GPUs. Filter by model, price, or provider to select a system that meets ComfyUI’s requirements.

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/PlULXMRHxtekImgv/renters/images/find-an-instance/filter.png?fit=max&auto=format&n=PlULXMRHxtekImgv&q=85&s=1b50d183cf8dabe4185d58afbafefbf0" width="1720" height="633" data-path="renters/images/find-an-instance/filter.png" />

    Once selected, rent the instance directly from the dashboard.

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/PlULXMRHxtekImgv/renters/images/find-an-instance/details.png?fit=max&auto=format&n=PlULXMRHxtekImgv&q=85&s=0506383f6a6d09588fb5cc8a857da7e1" width="1150" height="1005" data-path="renters/images/find-an-instance/details.png" />

    <Tip>Remember that ComfyUI only needs a single card. Either find a single card instance or use GPU Trader's card configurability feature to configure your instance with a single card.</Tip>

    Need more help? Read the [docs](/renters/find-an-instance) on finding and renting an instance.
  </Step>

  <Step title="Configure Your Instance for ComfyUI">
    After renting your instance, configure it with GPU Trader's pre-built template ComfyUI template. To deploy them template click "Add Stack", browse and select the ComfyUI template. Click "Use Template."

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/Zyo1imopfCEetfyQ/tutorials/images/comfyui/templates.png?fit=max&auto=format&n=Zyo1imopfCEetfyQ&q=85&s=b491a67739f2d8cf6e5d2872005eac52" width="1697" height="1294" data-path="tutorials/images/comfyui/templates.png" />

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/Zyo1imopfCEetfyQ/tutorials/images/comfyui/template-details.png?fit=max&auto=format&n=Zyo1imopfCEetfyQ&q=85&s=1e69467c26a97a956dc3b34b2b33f734" width="800" height="617" data-path="tutorials/images/comfyui/template-details.png" />

    Template:

    ```YAML theme={null}
    services:
      comfyui-nvidia-docker:
        stdin_open: true
        tty: true
        volumes:
          - ./run:/comfy/mnt
          - ./basedir:/basedir
        environment:
          - BASE_DIRECTORY=/basedir
          - SECURITY_LEVEL=normal
          - NVIDIA_VISIBLE_DEVICES=all
          - NVIDIA_DRIVER_CAPABILITIES=all
          - WANTED_UID=0
          - WANTED_GID=0
        labels:
          - io.gputrader.ports.name.8188=ComfyUI
        ports:
          - 8188-8288:8188
        user: root
        image: mmartial/comfyui-nvidia-docker:ubuntu22_cuda12.3.2-20250418
    ```

    Need more help? Read the [docs](/renters/managing-an-instance) on managing an instance or [templates](/renters/templates).
  </Step>

  <Step title="Launch ComfyUI and Start Creating">
    Once ComfyUI is installed, launch the application by selecting the port dropdown or kebab menu to access the UI from your browser. Now you can load your models, LoRAs, or custom workflows and start building.

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/Zyo1imopfCEetfyQ/tutorials/images/comfyui/launch-comfyui.png?fit=max&auto=format&n=Zyo1imopfCEetfyQ&q=85&s=0949027e824324b4916c67c546b906ad" width="2216" height="1282" data-path="tutorials/images/comfyui/launch-comfyui.png" />

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/Zyo1imopfCEetfyQ/tutorials/images/comfyui/comfyui.png?fit=max&auto=format&n=Zyo1imopfCEetfyQ&q=85&s=abb5b8a4995a858d3735f1fb8ad7a07a" width="2216" height="1282" data-path="tutorials/images/comfyui/comfyui.png" />

    <img style={{ borderRadius: '0.5rem' }} src="https://mintcdn.com/gputrader/Zyo1imopfCEetfyQ/tutorials/images/comfyui/comfyui-aiimage.png?fit=max&auto=format&n=Zyo1imopfCEetfyQ&q=85&s=8fe093709f7aa08a9bafb76d51a17e11" width="2216" height="1282" data-path="tutorials/images/comfyui/comfyui-aiimage.png" />
  </Step>
</Steps>

## Get Started with ComfyUI

We will be the first to tell you, we are not experts in ComfyUI even though we think it is really fun. If you are new to ComfyUI the best way to get started is to use the ComfyUI documentation or follow many of the tutorials that exist online. Here is a list of resources that we find helpful. Let us know what worked for you and we will add it to the list.

### Resources

#### Docs

* [ComfyUI Documentation](https://docs.comfy.org/get_started/introduction)

#### Reddit

* [/r/comfyui](https://www.reddit.com/r/comfyui/)

#### YouTube

* [Creative Exploration with Purz](https://www.youtube.com/@purzbeats)
