Skip to main content
Browse Models

lllyasviel

ControlNet SD 1.5 Soft Edge

Released

2023-04-13

Family

Stable Diffusion 1

Type

ControlNet Model

Downloads

External Download

You are about to open a link to an external source. Verify the URL before continuing.

Download

Model Checkpoint

FP16 · control_v11p_sd15_softedge.pth

Model Report

Overview

ControlNet SD 1.5 Soft Edge is a member of the ControlNet 1.1 family, a suite of models designed to provide precise control over image generation in Stable Diffusion 1.5 through the use of auxiliary input conditions. The Soft Edge variant is focused on leveraging soft edge maps as guidance, enabling nuanced and robust control for synthesizing images with boundary-aware features. Sharing the same core architecture as ControlNet 1.0, the 1.1 release incorporates improvements in dataset quality, robustness, and output fidelity, with dedicated preprocessing options for optimal results.

Naming convention diagram for ControlNet 1.1 models

Figure 1. A diagram clarifying the Standard ControlNet Naming Rules (SCNNRs), exemplified by a ControlNet 1.1 model filename.

Model Architecture and Functionality

ControlNet SD 1.5 Soft Edge retains the neural network architecture established in the initial ControlNet release, facilitating consistency across the model family. This architecture supports integration with Stable Diffusion 1.5 and accommodates control-specific models via a modular system of explicit control channels. For Soft Edge, various preprocessors—such as SoftEdge_PIDI, SoftEdge_PIDI_safe, SoftEdge_HED, and SoftEdge_HED_safe—can generate soft edge maps from source images to guide the diffusion process.

The model utilizes these edge maps to provide fine-grained, boundary-focused conditioning during generation, allowing users to influence the layout and structure of generated imagery. The core model is distributed as control_v11p_sd15_softedge.pth alongside its configuration file, maintaining compatibility with Stable Diffusion's existing framework and resource ecosystem.

Training Data and Robustness Enhancements

A central advancement in ControlNet 1.1 Soft Edge over its predecessor involves improvements to training protocols and data integrity. The model was trained on edge maps generated by PIDI, HED, and their respective safe-filtered counterparts. The "safe" filtering approach removes problematic grayscale artifacts that previous estimators could hide within edge maps, which previously led to data leakage and compromised model generalization. Approximately 75% of training data underwent this filtering, leading to enhanced robustness and reliability in diverse scenarios.

Earlier issues in prior versions, including duplicated content, poor image quality, and inconsistent prompts, were systematically addressed. The result is a model less susceptible to edge-based overfitting and better equipped for high-fidelity, boundary-aware image synthesis.

Preprocessing Options and Use Cases

Preprocessing is a fundamental component of the Soft Edge workflow. SoftEdge_PIDI is generally recommended for its balanced performance, while SoftEdge_PIDI_safe and SoftEdge_HED_safe cater to scenarios demanding higher robustness against image artifacts. For situations requiring the highest possible output quality—with a potential trade-off in robustness—SoftEdge_HED can be employed.

Interface screenshot: Test output for Stable Diffusion with Soft Edge

Figure 2. Batch test output for 'Control Stable Diffusion with Soft Edge', using the prompt 'a handsome man' (seed 12345). The image shows the soft edge processed control input and a set of generated outputs demonstrating the model's ability to follow soft edge guidance.

In practical applications, ControlNet SD 1.5 Soft Edge is used to guide generative processes where boundary information is important, including style transfer, image re-creation, and research scenarios demanding stable, boundary-aware outputs. The model demonstrates versatility comparable to depth-based control models and is suitable for both exploratory academic experiments and controlled image generation pipelines.

Position Within the ControlNet Family

ControlNet 1.1 encompasses 14 models, 11 of which are classified as production-ready and three as experimental. These adhere to uniform naming conventions (Standard ControlNet Naming Rules), ensuring clarity and consistency across the family. Alongside Soft Edge, the suite includes models for Canny, MLSD, Depth, Normal, Segmentation, Inpainting, Lineart, Anime Lineart, OpenPose, and Scribble. Each model is constructed using the same architectural framework, with improvements targeted at dataset quality and robustness to different control circumstances.

While every model in the family offers a specialized form of control, Soft Edge is specifically oriented towards scenarios requiring smooth, context-aware boundaries. Comparative improvements in other models include updates to depth processing with more robust estimators, physically meaningful normal maps (reference protocol), and expanded capabilities in pose, segmentation, and inpainting modalities.

Limitations and Technical Considerations

Despite improvements in robustness, the choice of preprocessor introduces a degree of trade-off between output fidelity and resistance to artifacts. Users should select configuration parameters best suited to their application requirements. The primary reference repository is designed for research and academic experimentation, and developers recommend against copying code directly into the Automatic1111 platform; instead, specialized plugins are suggested for broader workflow integration. Additionally, features such as Multi-ControlNet composition and tiled upscaling are officially supported only through Automatic1111 integrations.

Licensing and Availability

The explicit licensing terms for ControlNet SD 1.5 Soft Edge are not stated in the official documentation. However, the model and associated files are publicly distributed through HuggingFace, facilitating accessibility for research and noncommercial purposes.

Helpful Links

About Stable Diffusion 1: Stable Diffusion is an open-source text-to-image generative AI model that transforms textual adminDescriptions into corresponding images. Technologically, it employs a latent diffusion model architecture, enhancing computational efficiency by performing diffusion processes in a compressed latent space, which enables high-quality image generation with reduced resource requirements.

More in the Stable Diffusion 1 Family

stabilityai /

Stable Diffusion 1.1

A latent text-to-image diffusion model trained on LAION datasets that generates 512×512 images from natural language prompts using compressed latent space processing.
stabilityai /

Stable Diffusion 1.5

Text-to-image diffusion model trained on LAION dataset subset, generating 512x512 images from natural language prompts using latent space processing.
prompthero /

OpenJourney v4

SD 1.5 fine-tuned on 124k+ additional images generated with Midjourney v4, leading to results that resemble this other closed-source image generation model.
Photographer /

Photon

Photon aims to generate photorealistic and visually appealing images effortlessly.
KandooAI /

Juggernaut

Popular SD 1.5 fine-tune with capability to produce detailed images of a versatile breadth of subjects.
wavymulder /

Analog Diffusion

SD 1.5 fine-tuned on a diverse set of analog images, yielding a vintage photographic look.
Lykon /

Dreamshaper

SD 1.5 fine-tune with strong art generation ability and a broad generalist capabilities.
SG_161222 /

Realistic Vision

SD 1.5 fine-tune specialized in creating photorealistic portraits of humans.
Meina /

Meina Mix

Model resulting for merging 7 different anime-focused SD 1.5 checkpoints.
epinikion /

epiCRealism

Popular SD 1.5 fine-tune with high competence in translating simple text prompts into realistic images of people.
Lykon /

Absolute Reality

One of the top SD 1.5 variant for generating life-like images of people and objects.
Cyberdelia /

Cyber Realistic

Versatile photorealistic SD 1.5 fine-tune capable of generating a wide range of convincing photographic images.
Merjic /

MajicMIX Realistic

Popular SD 1.5 photorealism fine-tune with training data weighted on people of asian descent.
epinikion /

epiCPhotoGasm

A Stable Diffusion 1.5-based checkpoint model designed for photorealistic image generation with simplified prompting and demographic diversity.
lllyasviel /

ControlNet SD 1.5 Canny

SD 1.5 ControlNet model to replicate the composion of a source image using edge-detection.
lllyasviel /

ControlNet SD 1.5 IP2P

SD 1.5 ControlNet trained with pixel-to-pixel instruction.
lllyasviel /

ControlNet SD 1.5 Depth

SD 1.5 ControlNet model to replicate the depth of a source image.
lllyasviel /

ControlNet SD 1.5 MLSD

SD 1.5 ControlNet model to detect straight-lines, useful for architecture and man-made objects.
lllyasviel /

ControlNet SD 1.5 Normal

SD 1.5 ControlNet model to replicate the depth of a source image, with additional surface details and geometry.
lllyasviel /

ControlNet SD 1.5 Open Pose

SD 1.5 ControlNet model for copying human poses.
lllyasviel /

ControlNet SD 1.5 Scribble

SD 1.5 ControlNet model for converting sketches to images.
lllyasviel /

ControlNet SD 1.5 Segmentation

SD 1.5 ControlNet model for detecting and segmenting distinct parts of images to use in the generation.
lllyasviel /

ControlNet SD 1.5 Inpaint

SD 1.5 ControlNet model trained with image inpainting.
lllyasviel /

ControlNet SD 1.5 Line Art

SD 1.5 ControlNet model trained with line art generation.
lllyasviel /

ControlNet SD 1.5 Lineart Anime

SD 1.5 ControlNet model trained with anime line art generation.
lllyasviel /

ControlNet SD 1.5 Shuffle

SD 1.5 ControlNet model trained with image shuffling.
lllyasviel /

ControlNet SD 1.5 Tile

SD 1.5 ControlNet model trained with image tiling.
tencent /

ControlNet 1.5 IP Adapter

SD 1.5 ControlNet model for conditioning on an image prompt.
tencent /

ControlNet 1.5 QR Code

SD 1.5 ControlNet model for generating stylized QR codes.