Stable Diffusion WebUI

The most popular web interface for Stable Diffusion on CLORE.AI GPUs.

circle-check

Server Requirements

Parameter
Minimum
Recommended

RAM

16GB

32GB+

VRAM

8GB

12GB+

Network

500Mbps

1Gbps+

Startup Time

10-20 minutes

-

circle-exclamation

Why SD WebUI?

  • Feature-rich - txt2img, img2img, inpainting, outpainting

  • Extensions - Huge ecosystem of plugins

  • User-friendly - Intuitive web interface

  • Well documented - Large community support

Quick Deploy on CLORE.AI

Docker Image:

Ports:

Command:

Verify It's Working

After deployment, find your http_pub URL in My Orders:

circle-info

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

  1. Server has 16GB+ RAM

  2. Server has 8GB+ VRAM

  3. Network speed is adequate for downloading dependencies

Accessing Your Service

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

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

  • API (if enabled): https://your-http-pub.clorecloud.net/sdapi/v1/

circle-info

All localhost:7860 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

Checkpoints

VAE (Better Colors)

Basic Usage

txt2img (Text to Image)

  1. Select model from dropdown

  2. Enter positive prompt: what you want

  3. Enter negative prompt: what to avoid

  4. Set dimensions (512x512 for SD1.5, 1024x1024 for SDXL)

  5. Click Generate

img2img (Image to Image)

  1. Go to img2img tab

  2. Upload source image

  3. Enter prompt describing desired changes

  4. Adjust Denoising strength (0.3-0.8)

  5. Generate

Inpainting

  1. Go to img2img → Inpaint

  2. Upload image

  3. Draw mask over area to change

  4. Enter prompt for masked area

  5. Generate

Essential Settings

Generation Settings

Setting
SD 1.5
SDXL

Width

512

1024

Height

512

1024

Steps

20-30

20-40

CFG Scale

7

5-7

Sampler

DPM++ 2M Karras

DPM++ 2M Karras

Command Line Arguments

For Low VRAM

Must Have

Extension
Purpose

ControlNet

Guided generation

ADetailer

Auto face/hand fix

Ultimate SD Upscale

Better upscaling

sd-webui-segment-anything

Segmentation

Regional Prompter

Multi-region prompts

Install Extensions

  1. Go to Extensions tab

  2. Click Available

  3. Click Load from

  4. Search and Install

  5. Apply and Restart UI

Or manually:

ControlNet

Installation

Usage

  1. Expand ControlNet section

  2. Upload control image

  3. Select preprocessor (Canny, OpenPose, etc.)

  4. Select model matching preprocessor

  5. Generate

API Usage

Enable with --api flag, then:

img2img API

Prompt Writing

Basic Structure

Example Prompts

Negative Prompts

Performance Tips

  1. Enable xFormers - Significant speed boost

  2. Use VAE - Better colors

  3. Batch size 1 - For limited VRAM

  4. Hires Fix - Generate small, then upscale

  5. ADetailer - Auto-fix faces

GPU Requirements

Model
Minimum VRAM
Recommended VRAM
Min RAM

SD 1.5

4GB

8GB

16GB

SD 2.1

6GB

8GB

16GB

SDXL

8GB

12GB

16GB

With ControlNet

+2GB

+4GB

16GB

GPU Presets

RTX 3060 12GB (Budget)

Best models: SD 1.5, DreamShaper, RealisticVision

RTX 3090 24GB (Optimal)

Best models: SDXL, Juggernaut, RealVisXL

RTX 4090 24GB (Performance)

Best models: SDXL, Pony Diffusion, Any high-res model

A100 40GB/80GB (Production)

Best for: Batch generation, complex workflows, video

Cost Estimate

Typical CLORE.AI marketplace rates:

GPU
CLORE/day
Approx USD/hr
SD1.5 Speed
SDXL Speed

RTX 3060 12GB

~80

~$0.02

~4 sec

~12 sec

RTX 3090 24GB

~150

~$0.03

~2 sec

~6 sec

RTX 4090 24GB

~200

~$0.04

~1 sec

~3 sec

A100 40GB

~400

~$0.08

~0.5 sec

~2 sec

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: Must have 8GB+ for SDXL

  3. Dependencies installing: First run takes 10-20 min

  4. Slow network: Low bandwidth causes longer startup

Black Images

Out of Memory

Extensions Not Loading

Slow Generation

  1. Enable xFormers

  2. Reduce image size

  3. Lower steps (20 is often enough)

Next Steps

Last updated

Was this helpful?