ComfyUI

Node-based Stable Diffusion interface with ComfyUI on Clore.ai

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)

ComfyUI Manager

ComfyUI Manager is an essential extension that adds a GUI for installing, updating, and managing custom nodes. It is the standard way to extend ComfyUI.

Installation

Using ComfyUI Manager

After restart, a Manager button appears in the top-right of the ComfyUI interface.

Key features:

Feature
How to Access

Install custom nodes

Manager → Install Custom Nodes

Update all nodes

Manager → Update All

Disable/enable nodes

Manager → Custom Nodes Manager

Install missing nodes

Manager → Install Missing Custom Nodes

Fetch model info

Manager → Model Manager

Restore snapshot

Manager → Snapshot Manager

Workflow: installing a new node pack

  1. Click Manager button

  2. Select Install Custom Nodes

  3. Search by name (e.g., "FLUX", "AnimateDiff")

  4. Click Install on the desired pack

  5. Click Restart when prompted

  6. New nodes appear in the right-click add menu

Auto-install missing nodes: When you import a workflow JSON that uses nodes you don't have, Manager detects them and offers to install automatically via Install Missing Custom Nodes.

Keeping Nodes Updated


FLUX Workflow in ComfyUI

FLUX uses a different node structure than standard SD models. Below is a complete FLUX.1-dev workflow.

Required Files

Before running the workflow, download:

FLUX.1-dev Workflow JSON

Save as flux_dev_workflow.json and import via Load button in ComfyUI:

FLUX.1-schnell Workflow (4 Steps)

For schnell, change KSampler settings in the JSON above:

  • num_inference_steps: 4

  • cfg: 1.0

  • scheduler: "simple"

  • Model file: flux1-schnell.safetensors

Or set via UI: KSampler → steps: 4, cfg: 1.0, sampler: euler, scheduler: simple

Key Node Differences: FLUX vs SD

Node
SD/SDXL
FLUX

Model loader

Load Checkpoint

UNETLoader

Text encoder

CLIPTextEncode

DualCLIPLoader + CLIPTextEncode

Latent

Empty Latent Image

EmptySD3LatentImage

Extra

ModelSamplingFlux

Negative prompt

Required

Optional (leave empty)


Essential Custom Nodes

Node Pack
GitHub
Use Case

ComfyUI-Manager

ltdrdata/ComfyUI-Manager

Install & manage all other nodes

ComfyUI-FLUX

XLabs-AI/x-flux-comfyui

FLUX ControlNet nodes

was-node-suite

WASasquatch/was-node-suite-comfyui

100+ utility nodes

ComfyUI-Impact-Pack

ltdrdata/ComfyUI-Impact-Pack

Face detection, SAM, ADetailer

ComfyUI-Inspire-Pack

ltdrdata/ComfyUI-Inspire-Pack

Advanced samplers, workflows

ComfyUI-AnimateDiff

Kosinkadink/ComfyUI-AnimateDiff-Evolved

Video / animation generation

ComfyUI-VideoHelperSuite

Kosinkadink/ComfyUI-VideoHelperSuite

Video I/O handling

ComfyUI-GGUF

city96/ComfyUI-GGUF

Run quantized GGUF models

ComfyUI-KJNodes

kijai/ComfyUI-KJNodes

Utility & mask nodes

rgthree-comfy

rgthree/rgthree-comfy

Workflow helpers, better UI

ComfyUI-FLUX (XLabs-AI)

Adds ControlNet support for FLUX inside ComfyUI:

Adds nodes: Apply ControlNet (FLUX), Load ControlNet Model (FLUX), XFlux Sampler

was-node-suite

Over 100 utility nodes for advanced workflows:

Key nodes: Image Batch, Text Operations, Image Analyze, Cache Node, Bus Node, Upscale, Mask operations

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
VRAM
Price/day
SDXL Speed

RTX 3060

12GB

$0.15–0.30

~15 sec/img

RTX 3090

24GB

$0.30–1.00

~8 sec/img

RTX 4090

24GB

$0.50–2.00

~4 sec/img

A100

40GB

$1.50–3.00

~3 sec/img

Prices in USD/day. Rates 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?