Control every line!
MistoLine: A Versatile and Robust SDXL-ControlNet Model for Adaptable Line Art Conditioning
MistoLine is an SDXL-ControlNet model that can adapt to any type of line art input, demonstrating high accuracy and excellent stability. It can generate high-quality images (with a short side greater than 1024px) based on user-provided line art of various types, including hand-drawn sketches, different ControlNet line preprocessors, and model-generated outlines. MistoLine eliminates the need to select different ControlNet models for different line preprocessors, as it exhibits strong generalization capabilities across diverse line art conditions.
We developed MistoLine by employing a novel line preprocessing algorithm (Anyline) and retraining the ControlNet model based on the Unet of stabilityai/stable-diffusion-xl-base-1.0, along with innovations in large model training engineering. MistoLine showcases superior performance across different types of line art inputs, surpassing existing ControlNet models in terms of detail restoration, prompt alignment, and stability, particularly in more complex scenarios.
MistoLine maintains consistency with the ControlNet architecture released by lllyasviel, as illustrated in the following schematic diagram:

reference:https://github.com/lllyasviel/ControlNet
More information about ControlNet can be found in the following references:
https://github.com/lllyasviel/ControlNet
https://huggingface.co/docs/diffusers/main/en/api/pipelines/controlnet_sdxl
The model is compatible with most SDXL models, except for PlaygroundV2.5 and CosXL. It can be used in conjunction with LCM and other ControlNet models. We have open-sourced the corresponding model weight files for non-commercial use by individual users.
Apply with different line preprocessor

Mistoline compere with other Controlnet

Application examples
Sketch rendering
The following case only utilized MistoLine as the controlnet:
Model rendering
The following case only utilized Anyline as the preprocessor and MistoLine as the controlnet.

ComfyUI Recommended Parameters:
sampler steps:30
CFG:7.0
sampler_name:dpmpp_2m_sde
scheduler:karras
denoise:0.93
controlnet_strength:1.0
stargt_percent:0.0
end_percent:0.9
Checkpoints
• mistoLine_rank256.safetensors : General usage version, for ComfyUI and AUTOMATIC1111-WebUI.
• mistoLine_fp16.safetensors : FP16 weights, for ComfyUI and AUTOMATIC1111-WebUI.
ComfyUI Usage

中国(大陆地区)便捷下载地址:
链接:https://pan.baidu.com/s/1DbZWmGJ40Uzr3Iz9RNBG_w?pwd=8mzs
提取码:8mzs
Citation
@misc{
title={Adding Conditional Control to Text-to-Image Diffusion Models},
author={Lvmin Zhang, Anyi Rao, Maneesh Agrawala},
year={2023},
eprint={2302.05543},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
Description
FAQ
Comments (23)
You have a better image of that workflow, because that chinese site is down for some reason, or maybe just a PNG that you made with this workflow?
We just published our own line preprocessor: Anyline. You can check it here: https://github.com/TheMistoAI/ComfyUI-Anyline
There is a simple ComfyUI example provided.
@TheMisto_AI thx, I'll try it out this weekend
@TheMisto_AI in that image they are using a "resize image"-node I do not have not do I know where it comes from? any ideas?
@TheMisto_AII think I have it, it's the one from palant, right?
Could you please do an example workflow
Is it possible to make franco grinani lineart with this? I can't seem to get them fancy lines..
this is a controlnet model to create images from lineart maps, not a model to create lineart images :)
@eurotaku yeah but franco grignani is especially difficult. Im desparate to make it work : P . And mistoline is the worlds best lineart tool right now it seems. (Im Sorry for making a bad comment. I can delete my comment if you want sorry). Oh well either way! thanks for sharing the controlnet ! :)
@yofoton174609 no problem. just wanted to point out that the purpose of this model is not to create lineart outputs but to guide the generation of images with other models with masks or maps, that look like lineart. these can be created with so called preprocessors, ai models that translate a source image into a mask/map that this controlnet model can use. the creator of this model have created their own preprocessor for that called anyline, but if you want to generate proper images in a certain artist's lineart style, then you are better off searching for a model trained on that artist's artwork, a style lora e.g. or you train your own one on our on site training service :)
add version 2 of mistoline please. mistolineV2
Where can we find it?
afaik there is no v2
ok... i found the HowTo A1111/Forge Controlnet model for mistoline (https://github.com/TheMistoAI/ComfyUI-Anyline?tab=readme-ov-file#use-in-a1111-sd-webui-controlnet) - but where do i get the preprocessor?
@Rovor that's the model :) i need the preprocessor
@slartibart353 I don't believe they've released their preprocessor yet, but it works great with traditional lineart preprocessors anyway
As the description above, seems this model doesn't have a preprocessor, it can use any type of SD 1.5 ControlNet line preprocessor, I think
@feiyuhuahuo The preprocessor is Anyline which is implemented for ComfyUI here https://github.com/TheMistoAI/ComfyUI-Anyline
I thought misto line is a per-processor, why this all so confusing :D . So misto line is a Lora of SD 1.5 or what is it?
someone please share a ComfyUI or other workflow if you assembled it to work in a correct way? pls pls pls
Hi, I want to know whether it can be used for commercial use. I noticed that the description says that "We have open-sourced the corresponding model weight files for non-commercial use by individual users.
". I'm not sure whether the "corresponding model" refers the model herein.
Details
Files
mistoline_v10.safetensors
Mirrors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
lineart_xl_lineart_rank256.safetensors
mistoline_v10.safetensors
mistoLine_rank256.safetensors
sdxl-mistoLine_rank256.safetensors
sdxl-mistoline.safetensors
mistoLine_rank256.safetensors
softedge_mistoLine-sdxl-lora256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
mistoLine_rank256.safetensors
Available On (1 platform)
Same model published on other platforms. May have additional downloads or version variants.

