Skip to content

AutoHDR Guide for LightDiffusion-Next

Welcome to the AutoHDR guide for LightDiffusion-Next. This document will help you understand how to use the AutoHDR feature to enhance the dynamic range and visual quality of your generated images.

Table of Contents

  1. Introduction
  2. What is AutoHDR?
  3. Usage - In the GUI - In the CLI
  4. Visual Comparison
  5. Tips and Tricks
  6. Troubleshooting
  7. FAQ

Introduction

LightDiffusion-Next includes an advanced AutoHDR feature that automatically enhances the dynamic range of generated images, resulting in more vibrant colors, better contrast, and improved overall visual quality. This guide will explain how to use this feature effectively.

What is AutoHDR?

AutoHDR (Automatic High Dynamic Range) is a post-processing technique that:

  • Expands the dynamic range of your images
  • Improves contrast and color saturation
  • Enhances highlights and shadow details
  • Makes images appear more vibrant and visually appealing
  • Adds depth to flat-looking images

The implementation in LightDiffusion-Next is designed to work seamlessly with the generation process, applying intelligent adjustments based on the content of each image.

Usage

In the GUI

In the LightDiffusion-Next graphical interface, AutoHDR is enabled by default. You don’t need to take any additional steps to use this feature.

To generate images with AutoHDR:

  1. Launch LightDiffusion-Next: Start the application using run.bat (Windows) or run.sh (Linux).
  2. Configure Settings: Set your desired parameters for image generation.
  3. Generate Images: Click the “Generate” button to create images with AutoHDR enhancement automatically applied.

In the CLI

When using the command-line interface, AutoHDR is available as a toggle option.

To enable AutoHDR in the CLI:

./pipeline.bat "your prompt here" width height number_of_images batch_size --autohdr

For example:

./pipelin.bat "a beautiful sunset over mountains" 1024 768 1 1 --autohdr

Visual Comparison

To demonstrate the impact of AutoHDR, here is a visual comparison of an image generated with and without AutoHDR:

above: Without AutoHDR - Notice the flatter colors and less defined contrast Under: With AutoHDR - Observe the improved color vibrancy, better contrast, and enhanced details

AutoHDR Comparison AutoHDR Comparison