For the complete documentation index, see llms.txt. This page is also available as Markdown.

DreamBooth

Train custom image models with DreamBooth on Clore.ai GPUs

Train Stable Diffusion to generate images of specific subjects.

Renting on CLORE.AI

  1. Filter by GPU type, VRAM, and price

  2. Choose On-Demand (fixed rate) or Spot (bid price)

  3. Configure your order:

    • Select Docker image

    • Set ports (TCP for SSH, HTTP for web UIs)

    • Add environment variables if needed

    • Enter startup command

  4. Select payment: CLORE, BTC, or USDT/USDC

  5. Create order and wait for deployment

Access Your Server

  • Find connection details in My Orders

  • Web interfaces: Use the HTTP port URL

  • SSH: ssh -p <port> root@<proxy-address>

What is DreamBooth?

DreamBooth fine-tunes SD on your images:

  • Train on 5-20 images

  • Generate new images of your subject

  • Any style or context

  • Works with SD 1.5 and SDXL

Requirements

Model
VRAM
Training Time

SD 1.5

12GB

15-30 min

SDXL

24GB

30-60 min

SD 1.5 + LoRA

8GB

10-20 min

Quick Deploy

Docker Image:

Ports:

Command:

Accessing Your Service

After deployment, find your http_pub URL in My Orders:

  1. Go to My Orders page

  2. Click on your order

  3. Find the http_pub URL (e.g., abc123.clorecloud.net)

Use https://YOUR_HTTP_PUB_URL instead of localhost in examples below.

Installation

Prepare Training Data

  1. Collect 5-20 images of your subject

  2. Crop to face/subject

  3. Resize to 512x512 (or 1024x1024 for SDXL)

  4. Remove backgrounds if needed

Memory-efficient training:

Using diffusers Training Script

Training Parameters

Parameter
Recommended
Effect

learning_rate

1e-4 to 5e-6

Higher = faster, lower = stable

max_train_steps

400-1000

More = better fit

train_batch_size

1-2

Higher needs more VRAM

resolution

512 (SD1.5) / 1024 (SDXL)

Training size

Instance Prompt

Choose a unique identifier:

With Class Preservation

Prevent overfitting:

SDXL DreamBooth

Using Trained Model

Load LoRA

Full Fine-tune

Gradio Interface

Training Tips

For People

  • Use varied angles (front, side, 3/4)

  • Different lighting conditions

  • Various expressions

  • Clear, high-resolution photos

For Objects

  • Multiple angles

  • Different backgrounds

  • Consistent lighting

  • No occlusion

For Styles

  • 10-20 example images

  • Consistent artistic style

  • Various subjects in that style

Troubleshooting

Overfitting

  • Reduce max_train_steps

  • Lower learning_rate

  • Use prior preservation

  • More training images

Underfitting

  • Increase max_train_steps

  • Higher learning_rate

  • More training images

  • Check image quality

Style Not Learned

  • Increase LoRA rank (r=16 or 32)

  • Train longer

  • Use more examples

Cost Estimate

Typical CLORE.AI marketplace rates (as of 2024):

GPU
Hourly Rate
Daily Rate
4-Hour Session

RTX 3060

~$0.03

~$0.70

~$0.12

RTX 3090

~$0.06

~$1.50

~$0.25

RTX 4090

~$0.10

~$2.30

~$0.40

A100 40GB

~$0.17

~$4.00

~$0.70

A100 80GB

~$0.25

~$6.00

~$1.00

Prices vary by provider and demand. Check CLORE.AI Marketplace for current rates.

Save money:

  • Use Spot market for flexible workloads (often 30-50% cheaper)

  • Pay with CLORE tokens

  • Compare prices across different providers

Next Steps

Last updated

Was this helpful?