Logo
SDXL Best Practices: Settings, Prompts & Workflows

SDXL Best Practices: Settings, Prompts & Workflows

October 23, 2025
7 min read

Stable Diffusion XL (SDXL) is a major upgrade from SD 1.5, offering enhanced realism, sharper details, better composition, and improved text rendering. However, here’s the thing: SDXL behaves differently than earlier models and requires specific techniques for best results. This guide is designed to give you professional-grade results with clear explanations and actionable settings — no fluff, just what works.


This guide is based on practical testing and trusted resources from:

  • Stability AI SDXL documentation
  • Hugging Face SDXL model insights
  • Community research and expert workflows
  • StableDiffusionArt.com
  • Industry prompt engineers and workflow experts

✅ Table of Contents

  1. What makes SDXL different?
  2. Recommended software & environments
  3. SDXL model structure explained
  4. Best generation settings (tested configurations)
  5. Prompting for SDXL – structure and techniques
  6. Negative prompting best practices
  7. Refiner usage – when and how to apply
  8. Resolution and aspect ratios
  9. SDXL LoRA and training compatibility
  10. SDXL with ControlNet
  11. Upscaling strategies
  12. Performance tips
  13. Troubleshooting
  14. Conclusion

1. What Makes SDXL Different?

SDXL is not just a bigger version of Stable Diffusion 1.5 – it’s actually a next-generation model built for realism, composition control, and high-resolution output. Understanding how it differs from SD1.5 is key to using it effectively — they’re more different than you might think.

SDXL improves over SD1.5, but it requires more GPU VRAM (minimum 8GB recommended) — keep that in mind. Key differences:

FeatureSD 1.5SDXL
Output qualityGoodHigh
Detail & realismMediumHigh
Text generationPoorImproved
Handles complex promptsLimitedYes
Base resolution512×5121024×1024
VRAM required6GB8–12GB

Important: SDXL responds differently to prompts—short tag-based prompts from SD1.5 do not work well. SDXL prefers descriptive sentence-style prompts — think full sentences, not just keywords. This is a common mistake people make.


SDXL works well in the following UIs:

SoftwareWhy use it
ComfyUIBest for SDXL workflows and refiners
Stable Diffusion WebUI ForgeFaster SDXL performance
AUTOMATIC1111 (latest)Works but slower
InvokeAIBest for inpainting & unified canvas

ComfyUI and Forge are highly recommended for SDXL.


3. SDXL Model Structure

SDXL uses two models:

  1. Base model – Creates initial image structure
  2. Refiner model – Improves details and textures

Both can be used together for optimal quality, especially in portrait and product rendering use cases.


These settings are based on benchmark testing across Forge, ComfyUI, and A1111 environments. They balance quality and render time. These are tested settings for high quality:

SettingValue
Steps25–35
SamplerDPM++ 2M Karras
CFG Scale5–7
Refiner switchAt step 0.75
Seed-1 (random)
Resolution1024×1024 (base)

For portraits use: Euler a or DPM++ SDE.



5. Prompting for SDXL – Best Practices

Unlike SD1.5 which prefers short tag-style prompts, SDXL works best with natural language prompts. You should write descriptive phrases like a photographer or filmmaker — the more descriptive, the better. Think storytelling, not just keywords.

✅ SD1.5 vs SDXL Prompt Example

ModelWeak PromptStrong Prompt
SD1.5”cyberpunk girl, neon”✅ Works well
SDXL”portrait of a cyberpunk woman, neon lights, dramatic rim light, shallow depth of field, detailed skin”✅ Best results

✅ Prompt Template for SDXL

[Subject], [Scene], [Lighting], [Camera], [Style], [Details]

✅ Good SDXL Prompt Example

Cinematic portrait of a Scandinavian woman with freckles, soft studio lighting, 85mm lens photography, film look, ultra detailed skin texture, sharp depth of field, magazine editorial style

6. Negative Prompting for SDXL

Negative prompts help control quality — they’re your way of telling SDXL what you don’t want. SDXL does not need long negative lists like SD 1.5, which is nice because you can keep things simpler.

low quality, blurry, pixelated, distorted, extra limbs, watermark, text, deformed hands

Optional Advanced Negative Prompt

bad anatomy, low detail, overexposed, underexposed, noisy, overly saturated, cartoonish, artifacts


7. SDXL Refiner – When and How to Use It

SDXL includes a base model and an optional refiner model. The refiner improves fine details like eyes, skin, shadows, and edges — it’s basically a polish pass that can make a big difference in final quality.

When to Use the Refiner

Use CaseRefiner Needed?
Portraits✅ Yes
Realistic Photography✅ Yes
Products/Logos✅ Yes
Anime/Concept ArtOptional
Fast Preview Tests❌ No
SettingValue
Refiner Switch0.65 – 0.80
Steps (Base + Refiner)15 + 10
SamplerDPM++ 2M Karras

8. Aspect Ratios & Resolution for SDXL

SDXL was trained at 1024×1024 but supports flexible resolutions.

Best Resolutions for SDXL

RatioResolution
Square1024×1024
Portrait832×1216 / 896×1152
Landscape1152×896 / 1216×832
Ultra-Wide1536×640

Avoid unusual values like 1000×1000 or 900×900 — they reduce model quality.


9. SDXL with ControlNet

ControlNet works well with SDXL but requires SDXL-compatible models.

ModelUse Case
controlnet-canny-sdxlEdge maps
controlnet-depth-sdxlDepth & lighting
controlnet-openpose-sdxlHuman poses

Enable pixel-perfect for best results.



10. Using LoRA with SDXL – Best Practices

LoRA models for SD 1.5 are not compatible with SDXL. You must use SDXL LoRAs only.

Correct LoRA Folder Paths

Place LoRA files here:

models/Lora/
TypeStrength
Character LoRA0.6 – 0.9
Style LoRA0.4 – 0.7
Clothing/Item LoRA0.3 – 0.6

Use no more than 3 LoRAs at once to maintain model stability.


11. Upscaling for SDXL – High Quality Strategy

SDXL images can be upscaled without losing detail.

Best Upscaling Methods

MethodToolQuality
HighRes FixA1111/Forge⭐ Good
Latent UpscaleComfyUI⭐⭐ Better
4x-UltraSharpComfyUI/ESRGAN⭐⭐⭐ Excellent
OptionValue
Denoise strength0.35 – 0.45
Upscale by1.5x – 2x
Steps15 – 20

Based on testing:

GoalSampler
Fast previewsEuler a
Best balanced qualityDPM++ 2M Karras
PortraitsDPM++ SDE
Sharp detailsDPM++ 3M SDE


13. SDXL Workflow Examples

Workflow A – Standard SDXL (Beginner Friendly)

  1. Load SDXL Base model
  2. Set resolution 1024×1024
  3. Steps 30, Sampler DPM++ 2M Karras
  4. Generate base image
  5. Optional: Apply upscaler (4x UltraSharp)

Workflow B – SDXL with Refiner (High Quality)

  1. Generate with SDXL Base (70% of steps)
  2. Switch to SDXL Refiner (30% of steps)
  3. Use DPM++ SDE for refined detail

14. Performance Tips (VRAM Saving)

GPU VRAMRecommended SDXL Settings
4–6GBUse 768×768 + medvram
8GB1024×1024 default
12GB+2-pass upscale workflow

Tips:

  • Lower resolution first, upscale later
  • Use “schnell” samplers for previews
  • Avoid too many LoRAs (VRAM heavy)

15. Troubleshooting

ProblemSolution
Flat imagesLower CFG to 5–6
Washed out imagesIncrease contrast in prompt
Blurry outputUse refiner
Hands look badUse ControlNet “openpose”
Missing detailIncrease steps to 35


✅ Conclusion

SDXL is a powerful model for realistic and artistic image generation when used correctly. With the right settings, refined prompting, and control workflows, it produces significantly better detail and coherence than SD1.5 — but you need to use it the right way, not the SD1.5 way. That’s the key takeaway here.