ComfyUI

Node-based interface for Stable Diffusion with ultimate flexibility on CLORE.AI GPUs.

circle-check

Server Requirements

Parameter
Minimum
Recommended

RAM

16GB

32GB+

VRAM

8GB (SDXL)

12GB+

Network

500Mbps

1Gbps+

Startup Time

5-10 minutes

-

circle-exclamation
triangle-exclamation

Why ComfyUI?

  • Node-based workflow - Visual programming for image generation

  • Maximum control - Fine-tune every step of the pipeline

  • Efficient - Lower VRAM usage than alternatives

  • Extensible - Huge ecosystem of custom nodes

  • Workflow sharing - Import/export as JSON

Quick Deploy on CLORE.AI

Docker Image:

Ports:

Environment:

Verify It's Working

After deployment, find your http_pub URL in My Orders:

circle-info

If you get HTTP 502 for more than 15 minutes, check:

  1. Server has 16GB+ RAM

  2. Server has 8GB+ VRAM for SDXL, 16GB+ for FLUX

  3. Network speed is adequate for downloading models

Accessing Your Service

When deployed on CLORE.AI, access ComfyUI via the http_pub URL:

  • Web UI: https://your-http-pub.clorecloud.net/

  • API: https://your-http-pub.clorecloud.net/prompt

  • WebSocket: wss://your-http-pub.clorecloud.net/ws

circle-info

All localhost:8188 examples below work when connected via SSH. For external access, replace with your https://your-http-pub.clorecloud.net/ URL.

Installation

Manual Installation

Directory Structure

Download Models

Stable Diffusion Checkpoints

VAE

LoRAs

Basic Workflow

Text to Image

  1. Add nodes:

    • Load Checkpoint → select model

    • CLIP Text Encode (x2) → positive & negative prompts

    • Empty Latent Image → set dimensions

    • KSampler → connect all

    • VAE Decode → latent to image

    • Save Image → output

  2. Connect:

Image to Image

Replace Empty Latent Image with:

  1. Load Image → your source image

  2. VAE Encode → convert to latent

  3. Adjust denoise in KSampler (0.5-0.8)

Essential Custom Nodes

ComfyUI Manager (Must Have)

Restart ComfyUI, then use Manager to install other nodes from UI.

Node Pack
Use Case

ComfyUI-Manager

Install/update nodes

ComfyUI-Impact-Pack

Face detection, SAM

ComfyUI-Inspire-Pack

Advanced samplers

ComfyUI-AnimateDiff

Video generation

ComfyUI-VideoHelperSuite

Video I/O

ComfyUI-GGUF

Run GGUF models

ComfyUI-KJNodes

Utility nodes

rgthree-comfy

Workflow helpers

Install via Manager

  1. Click Manager button

  2. Install Custom Nodes

  3. Search and install

  4. Restart ComfyUI

Advanced Workflows

ControlNet

Workflow:

  1. Load Image → Canny Edge Detector

  2. Apply ControlNet → KSampler

  3. Generate with pose/edge guidance

Upscaling

Workflow:

  1. Generate image at lower res (768x768)

  2. Upscale Image (Model) node

  3. Optional: img2img pass for detail

SDXL + Refiner

  1. Generate with SDXL base (steps 1-20)

  2. Pass latent to SDXL refiner (steps 21-30)

  3. VAE Decode final result

Keyboard Shortcuts

Key
Action

Ctrl+Enter

Queue prompt

Ctrl+Shift+Enter

Queue prompt (front)

Ctrl+Z

Undo

Ctrl+Y

Redo

Ctrl+S

Save workflow

Ctrl+O

Load workflow

Ctrl+A

Select all

Delete

Delete selected

Ctrl+M

Mute node

Ctrl+B

Bypass node

API Usage

Queue Prompt

WebSocket for Progress

Performance Tips

  1. Enable --lowvram for <8GB VRAM

  2. Use fp16 models when possible

  3. Batch size 1 for limited VRAM

  4. Tiled VAE for high-res images

  5. Disable preview for faster generation

GPU Requirements

Model
Minimum VRAM
Recommended VRAM
Min RAM

SD 1.5

4GB

8GB

16GB

SDXL

8GB

12GB

16GB

SDXL + ControlNet

10GB

16GB

16GB

FLUX

16GB

24GB

32GB

GPU Presets

RTX 3060 12GB (Budget)

Best for: SD 1.5, SDXL (with limits)

RTX 3090 24GB (Optimal)

Best for: SDXL, ControlNet workflows, moderate FLUX

RTX 4090 24GB (Performance)

Best for: FLUX, complex workflows, batch generation

A100 40GB/80GB (Production)

Best for: Production workloads, FLUX, high-res generation

Cost Estimate

Typical CLORE.AI marketplace rates:

GPU
CLORE/day
Approx USD/hr
SDXL Speed

RTX 3060 12GB

~80

~$0.02

~15 sec/img

RTX 3090 24GB

~150

~$0.03

~8 sec/img

RTX 4090 24GB

~200

~$0.04

~4 sec/img

A100 40GB

~400

~$0.08

~3 sec/img

Prices vary by provider. Check CLORE.AI Marketplacearrow-up-right for current rates.

Troubleshooting

HTTP 502 for a long time

  1. Check RAM: Server must have 16GB+ RAM

  2. Check VRAM: 8GB+ for SDXL, 16GB+ for FLUX

  3. Dependencies downloading: First run takes 5-10 min

  4. Model downloading: Large models take longer

Out of Memory

Black Images

  • Check VAE is loaded

  • Try different VAE

  • Reduce image size

Slow Generation

  • Enable CUDA

  • Use fp16 models

  • Reduce steps (20-30 is often enough)

Workflow Examples

Import these JSON workflows in ComfyUI:

Next Steps

Last updated

Was this helpful?