« Back to Glossary Index

In the realm of image generation, particularly within the Stable Diffusion framework, a refiner is a specialized model designed to enhance the quality and detail of images produced by the base model. While the base model generates images from text prompts, the refiner focuses on adding finer details and improving the overall visual fidelity of these images.

Functionality of the Refiner:

  • Detail Enhancement: The refiner model takes the initial image generated by the base model and refines it by adding intricate details, textures, and improving the overall sharpness.
  • Noise Reduction: It effectively reduces noise and artifacts present in the initial image, resulting in a cleaner and more polished final output.
  • Conditional Refinement: The refiner operates conditionally, meaning it refines images based on specific inputs or prompts, allowing for targeted enhancements.

Usage in Stable Diffusion XL (SDXL):

In the SDXL pipeline, the refiner model serves as the second stage, following the base model. After the base model generates an initial image, the refiner model is applied to add fine details and improve the image’s quality. This two-stage process leverages the strengths of both models to produce high-quality images.

« Back to Glossary Index