--- library_name: diffusers pipeline_tag: image-feature-extraction license: creativeml-openrail-m tags: - controlnet - stable-diffusion-xl - stable-diffusion-xl-diffusers - text-to-image - diffusers --- [Origin model](https://huggingface.co/kataragi/controlnetXL_line2color) ``` from diffusers import ControlNetModel import torch controlnet = ControlNetModel.from_pretrained( "r3gm/controlnet-line2color-v2-sdxl-fp16", torch_dtype=torch.float16, variant="fp16" ) ```