Skip to main content
Browse Models

lllyasviel

ControlNet SD 1.5 Line Art

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_lineart.pth

Model Report

Overview

ControlNet SD 1.5 Line Art is a deep learning model designed to provide fine-grained control over Stable Diffusion 1.5 image generation via line art inputs. Developed as part of the ControlNet 1.1 release, it extends the ControlNet architecture to enable precise conditioning of generative outputs based on structural cues from line drawings. This approach enables detailed and reproducible modification of generated images, making it especially applicable to tasks requiring alignment with user-provided sketches or extracted outlines.

Diagram of ControlNet 1.1 Standard Naming Rules

Figure 1. Diagram explaining the Standard ControlNet Naming Rules (SCNNRs) used for ControlNet 1.1 models, detailing each segment of the model filename.

Architecture and Model Family

ControlNet SD 1.5 Line Art is part of the ControlNet 1.1 release, which includes fourteen models designed for a variety of conditioning modalities such as depth, normals, canny edges, and more. All 1.1 models retain the neural network structure first established in ControlNet 1.0, adhering strictly to the architecture to maintain backward compatibility and reproducibility. The ControlNet 1.1 documentation provides a detailed breakdown of the naming conventions and architecture, exemplified by the model filename control_v11p_sd15_lineart.pth and its associated configuration file.

The Line Art variant is specially trained to accept both automatically extracted line art from existing images and user-created manual sketches. This allows for flexible guidance, using either precise contours or more expressive, rough outlines.

Technical Capabilities

ControlNet SD 1.5 Line Art enhances image generation by enforcing structural fidelity to provided line art constraints. The model is capable of handling a range of input complexity, from sparse, manually sketched outlines to intricate line extractions. Using Stable Diffusion 1.5 as its generative backbone, the model preserves the compositional intent specified by line art while adhering to the semantic and aesthetic guidance described in natural language prompts.

Lineart-based control with Stable Diffusion

Figure 2. Demonstration of image generation guided by extracted line art of a backpack, using the prompt 'bag'. The right panel shows five model outputs conditioned on the lineart.

Diverse input types are supported:

  • Extracted Line Art: Outlines derived algorithmically from photographs, using pre-built preprocessors.
  • Coarse or Detailed Line Art: The model accepts different levels of abstraction, allowing creative interpretation.
  • Manual Line Drawings: Original user sketches serve as direct structure for image synthesis.

Preprocessor algorithms, such as those for line detection or edge mapping, can be toggled to match the user's needs, ensuring that structural elements from the input are accurately reflected in the output.

Coarse lineart input with prompt-based person generation

Figure 3. Example generation where a photo of a woman is transformed via coarse lineart extraction and the prompt 'Michael Jackson's concert', producing portraits aligned structurally to the original.

Training Data and Methodology

ControlNet SD 1.5 Line Art is trained using the awacke1/Image-to-Line-Drawings dataset, which includes a mixture of automatically extracted line drawings and hand-drawn samples. Data augmentation strategies were applied to increase robustness, permitting the model to generalize across both artificial and organic line art styles.

Improvements over earlier versions stem from refining training protocols, such as de-duplicating grayscale samples to reduce bias, filtering out low-quality or artifact-laden images, and correcting misalignment in text-image prompt pairings. These optimizations, outlined in the 1.1 release notes, have contributed to increased reliability and accuracy in conditioned image generation tasks.

Variants and Related Models

A notable variant within the ControlNet line art family is the ControlNet 1.1 Anime Lineart model, optimized for generation from anime-style line drawings. This version employs longer prompt sequences and alternate tokenization strategies, enhancing its ability to synthesize images in stylized, illustrative domains. Training details for the anime variant are not publicly described but it is engineered to leverage the unique properties of anime line art inputs.

Within the broader ControlNet 1.1 ecosystem, a series of models support other conditioning signals, including depth maps, normal maps, canny edge detections, soft edges, segmentation masks, pose estimation, scribbles, and more, each with their dedicated pre- and post-processing pathways as described in the model documentation. For context, this demonstrates the modularity and extensibility of the ControlNet design.

Use Cases

The principal application of ControlNet SD 1.5 Line Art is the generation of images that precisely adhere to the compositional constraints set by line drawings. This is particularly suitable for image-based content creation pipelines where user-provided or algorithmically extracted line art serves as a blueprint or guide for generating illustrations, concept art, or visualizations.

Manual lineart input for wolf head generation

Figure 4. Generation results from a manually drawn wolf head sketch and the prompt 'wolf', illustrating flexibility in responding to hand-drawn structural guides.

In creative settings, the model facilitates:

  • Translating rough sketches or contour maps into richly rendered images.
  • Creating multiple stylistic interpretations from a single line art base.
  • Ensuring reproducibility of structural features across different images.
  • Supporting workflow integration for illustrators and designers seeking to iterate rapidly from outline to completed image.

The anime-oriented variant expands these capabilities to stylized illustration workflows. Model controls, such as prompt length and application of LoRA-based fine-tuning, allow for further refinements suited to specific artistic goals.

Anime-style generation from lineart and descriptive prompt

Figure 5. Outputs generated from an anime character line art, prompted with '1girl, saber, at night, sword, green eyes, golden hair, stocking', demonstrating the specialization of the Anime Lineart model.

Limitations

While ControlNet SD 1.5 Line Art and its anime-specific counterpart offer robust control, there are some constraints. For example, the anime lineart variant does not support Guess Mode and may require external files for demonstration or evaluation, as noted in the project documentation. Certain experimental models in the series, such as Instruct Pix2Pix, may require user moderation of outputs or parameter adjustments to obtain optimal results.

License and Availability

As of the latest available documentation, explicit license information for the SD 1.5 Line Art model and the broader ControlNet-v1-1-nightly repository is not provided. Users are advised to consult the official repository for updates regarding licensing and usage restrictions.

Helpful Links

For further technical insights and up-to-date information, refer to the ControlNet-v1-1-nightly project page.

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 Soft Edge

SD 1.5 ControlNet model to detect soft-edges, especially useful for recoloring and stylizing.
lllyasviel /

ControlNet SD 1.5 Inpaint

SD 1.5 ControlNet model trained with image inpainting.
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.