Browse Models
The simplest way to self-host ControlNet SD 1.5 Soft Edge. Launch a dedicated cloud GPU server running Lab Station OS to download and serve the model using any compatible app or framework.
Download model weights for local inference. Must be used with a compatible app, notebook, or codebase. May run slowly, or not work at all, depending on your system resources, particularly GPU(s) and available VRAM.
ControlNet SD 1.5 Soft Edge generates images with smooth, natural contours using soft edge detection. Available in PIDI and HED variants with optional "safe" preprocessing for improved consistency. Features smart resampling for resolution-independent control and adjustable parameters for balancing prompt vs. control image influence.
ControlNet SD 1.5 Soft Edge, also known as HED (Holistically-Nested Edge Detection), is a specialized model within the ControlNet 1.1 family designed to add conditional control to Stable Diffusion 1.5 image generation. The model focuses on producing smooth lines around objects, making it particularly effective for tasks involving recoloring and stylization, as detailed in the Civitai guide to ControlNet.
The model represents a significant evolution from its predecessor in ControlNet 1.0, incorporating improved robustness through the introduction of "SoftEdge_safe" pre-processing. This technique, documented in the ControlNet v1.1 repository, helps mitigate issues caused by hidden patterns in original images that could potentially distract the model.
The training data for ControlNet SD 1.5 Soft Edge comprised multiple datasets:
These variants offer different trade-offs between robustness and maximum achievable image quality. The performance hierarchy, as documented in the official repository, is:
Robustness:
SoftEdge_PIDI_safe > SoftEdge_HED_safe >> SoftEdge_PIDI > SoftEdge_HED
Maximum result quality:
SoftEdge_HED > SoftEdge_PIDI > SoftEdge_HED_safe > SoftEdge_PIDI_safe
The default recommendation is to use SoftEdge_PIDI for most applications.
The model is available in multiple formats, including a more efficient Low-Rank Adaptation (LoRA) version developed by Stability AI. The LoRA variants significantly reduce the model size from 4.7GB to approximately 738MB (Rank 256) or 377MB (Rank 128), as detailed in the Stability AI Control-LoRA repository.
For implementation, users can run the model through various interfaces:
gradio_softedge.py
script from the original repositoryWhen using the sd-webui-controlnet extension (version 1.1.400 and later), the model can be placed in either:
stable-diffusion-webui\extensions\sd-webui-controlnet\models
stable-diffusion-webui\models\ControlNet
For optimal performance on systems with limited VRAM:
--medvram-sdxl
command-line argument--lowvram
argument