How To Fix Faces with Face Detailer — ComfyUI and Stable Diffusion WebUI

Emanuele
5 min readJan 16, 2024

Generating AI images sometimes requires many attempts until an almost perfect image is achieved. Distorted faces, missing details, and unnatural expressions are common issues that could potentially ruin an otherwise great picture

In this article, I will introduce you to Face Detailer, a collection of tools and techniques designed to fix faces and facial features. These methods involve removing distortions, adjusting the position of the eyes and mouth, and even adding finer details. Face Detailer proves particularly useful when generating images with small faces or when tweaking elements such as colors and facial expressions.

There are several models available to perform face restorations, as well as many interfaces; here I will focus on two solutions using ComfyUI and Stable-Diffusion-WebUI. Follow the table of content to skip directly to the UI that interests you.

ComfyUI

This guide assumes that you have a functioning setup for ComfyUI, and all these examples are using models based on Stable Diffusion 1.5.

In order to run face detailer to fix a face from an image, you can download this basic workflow on OpenArt, then load in it ComfyUI and install any missing custom node.

--

--

Emanuele

Coding and GenAI enthusiast // Flutter apps creator // Experimenting with LLMs and Stable Diffusion