--- language: - en license: creativeml-openrail-m tags: - stable-diffusion - stable-diffusion-diffusers - text-to-image - diffusers inference: true --- Diffuser model for this SD checkpoint: https://civitai.com/models/34686/kencanmix **emilianJR/KenCanMix_V2** is the HuggingFace diffuser that you can use with **diffusers.StableDiffusionPipeline()**. Examples | Examples | Examples ---- | ---- | ---- ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d34f71e3-0758-4191-9b0a-21a7061dbe1a/width=450/00036-4172672612.1.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ba37f78b-5243-4758-92cc-65ecad916e34/width=450/#00174-3429012026.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6d532716-0ee6-4878-a1e5-961850f61e8d/width=450/#00269-3029983761.1.jpeg) ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/bac54aab-adab-446f-8c70-13669f4cd017/width=450/00020-2520809669.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/106fbf7d-1196-4612-990a-642b282cc996/width=450/#00253-1713213393.1.jpeg) | ![](https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ba37f78b-5243-4758-92cc-65ecad916e34/width=450/#00174-3429012026.jpeg) ------- ## 🧨 Diffusers This model can be used just like any other Stable Diffusion model. For more information, please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). ```python from diffusers import StableDiffusionPipeline import torch model_id = "emilianJR/KenCanMix_V2" pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) pipe = pipe.to("cuda") prompt = "YOUR PROMPT" image = pipe(prompt).images[0] image.save("image.png") ``` ## License This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies: [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)