Skip to main content

Overview

Stable Diffusion 3 (SD3) is Stability AI’s latest generation text-to-image model, featuring a completely redesigned architecture. It introduces significant improvements in text rendering, prompt understanding, and image quality compared to SDXL.
SD3 uses a new Multimodal Diffusion Transformer (MMDiT) architecture, making it fundamentally different from SDXL’s UNet-based approach.

Key Features

Text Rendering

Outstanding text generation:
  • Accurate spelling in images
  • Multiple text elements
  • Various fonts and styles
  • Proper text integration

Prompt Understanding

Improved comprehension:
  • Better complex prompt handling
  • More accurate composition
  • Better spatial relationships
  • Fewer artifacts

Image Quality

Enhanced visuals:
  • Better detail preservation
  • Improved colors and lighting
  • More coherent compositions
  • Reduced common artifacts

Efficiency

Optimized performance:
  • Similar VRAM to SDXL
  • Competitive speed
  • Better quality per step
  • Efficient training

Model Variants

SD3 Medium

The primary SD3 model optimized for quality and accessibility.
Specifications:
  • Parameters: 2B (transformer), 8B total with text encoders
  • Resolution: Native 1024x1024
  • VRAM: 12GB minimum, 16GB recommended
  • Architecture: Multimodal Diffusion Transformer (MMDiT)

SD3 Large (Coming Soon)

A larger variant with enhanced capabilities.
SD3 Large is not yet publicly available. Check the Stability AI website for release information.

What’s New in SD3

Architectural Changes

SD3 introduces several key differences from SDXL:
Multimodal Diffusion Transformer:
  • Replaces UNet with transformer architecture
  • Processes text and image jointly
  • Better cross-modal understanding
  • More efficient attention mechanisms
Impact:
  • Superior text rendering
  • Better prompt comprehension
  • More coherent compositions

Improvements Over SDXL

Loading SD3 with HyperGen

Basic Loading

SD3 excels at generating text in images. Try prompts that include signs, labels, or text elements!

Optimized Loading

For better performance:

Memory-Optimized Loading

For 12GB VRAM GPUs:

Training LoRAs with SD3

SD3 supports LoRA training with HyperGen’s optimized pipeline.

Basic LoRA Training

For fast iteration:
Settings:
  • Standard rank (16)
  • Works on 12GB VRAM
  • Training time: ~12 minutes (50 images)

Training for Different Use Cases

Learning an artistic style:
Dataset:
  • 50-200 images in target style
  • Consistent aesthetic
  • High resolution (1024x1024+)
  • Captions describing content
Learning a specific subject:
Dataset:
  • 20-100 images of subject
  • Variety of poses and angles
  • Detailed captions
  • Different lighting conditions
Learning text rendering:
Dataset:
  • Images with various text elements
  • Different fonts and styles
  • Captions describing the text content
  • Variety of text placements

Inference Parameters

Basic Generation

Parameter Guide

str
required
Text description of the desired imageSD3 excels at complex, detailed prompts with multiple elements.
str
default:""
What to avoid in the generated imageRecommended:
int
default:28
Number of denoising stepsSD3’s default is 28 steps (vs 50 for SDXL):
  • 15-20: Fast, good quality
  • 28-40: Better quality (recommended)
  • 40-50: Highest quality
float
default:7
How closely to follow the promptSD3 uses slightly lower guidance than SDXL:
  • 5-6: More creative
  • 7-8: Balanced (recommended)
  • 9-10: Very literal

Speed Priority

Time: ~2.5s (RTX 4090)

Balanced

Time: ~3.5s (RTX 4090)

Quality Priority

Time: ~5s (RTX 4090)

Text Generation in Images

SD3’s standout feature is accurate text rendering:
For best text results:
  • Put text in quotes
  • Describe the text style (bold, neon, handwritten, etc.)
  • Specify the object containing the text (sign, poster, label)
  • Keep text relatively short (1-5 words)

Performance Benchmarks

Generation Performance

Based on NVIDIA RTX 4090, 1024x1024 resolution:

Training Performance

LoRA training on RTX 4090, 50 images:

Comparison with SDXL

Best Practices

Prompt Engineering for SD3

SD3 excels at complex scenes: Good:
SD3 better understands spatial relationships and multiple elements.

Training Best Practices

1

Dataset Preparation

Prepare high-quality data:
  • Use 1024x1024 or higher resolution
  • 20-150 images for most use cases
  • Ensure consistent quality
  • Remove duplicates
  • Include variety in poses/angles
2

Caption Quality

Write effective captions: Good caption:
L Poor caption:
Tips for SD3:
  • Describe spatial relationships
  • Include text content if present
  • Describe lighting and colors
  • Be detailed but natural
3

Hyperparameter Selection

Start with recommended settings:
Adjust based on results and VRAM.
4

Monitoring Progress

Save and test checkpoints:
Test multiple checkpoints to find optimal stopping point.

Memory Optimization

  • Reduces VRAM by ~10-15%
  • Minimal performance impact
  • Recommended for all users
  • Reduces VRAM by ~15-20%
  • Small performance impact
  • Useful for 12GB GPUs
  • Reduces VRAM by ~40-50%
  • Minimal quality impact
  • Strongly recommended

Troubleshooting

Solutions:
  1. Use float16 precision:
  2. Enable memory optimizations:
  3. Reduce resolution:
Solutions:
  1. Reduce LoRA rank:
  2. Use gradient accumulation:
  3. Use float16:
Tips for better text:
  1. Put text in quotes:
  2. Describe the text container:
  3. Keep text short (1-5 words)
  4. Increase inference steps:
  5. Adjust guidance:
Solutions:
  1. Increase training steps:
  2. Improve dataset quality:
    • Add more images
    • Write better captions
    • Use higher resolution
  3. Adjust learning rate:
  4. Increase LoRA rank:

Example Workflows

Text-Rich Image Generation

LoRA Training for Character

Batch Generation with SD3

SD3 vs SDXL: When to Use Which

SD3 is better for: Text in images (signs, labels, posters)  Complex compositions with multiple elements  Precise spatial relationships  Detailed scene understanding  Latest technology and improvementsExample use cases:
  • Product mockups with labels
  • Signage and branding
  • Posters and advertisements
  • Complex scene compositions

GPU Requirements

Minimum

VRAM: 12GBGPUs:
  • RTX 3060 (12GB)
  • RTX 4070
Capabilities:
  • Generation: 1024x1024 
  • Training: Rank 16 
  • Batch size: 1 

Recommended

VRAM: 16GBGPUs:
  • RTX 4080
  • RTX 4090
  • A10
Capabilities:
  • Generation: 1024x1024 
  • Training: Rank 32 
  • Batch size: 1-2 

Optimal

VRAM: 24GB+GPUs:
  • RTX 4090
  • A100
  • H100
Capabilities:
  • Generation: Up to 2048x2048 
  • Training: Rank 64+ 
  • Batch size: 2-4 

Next Steps

Training Guide

Complete LoRA training documentation

Dataset Preparation

Learn how to prepare training data

SDXL Guide

Compare with SDXL

FLUX.1 Guide

Explore the latest models

Additional Resources