| license: creativeml-openrail-m | |
| library_name: diffusers | |
| tags: | |
| - Safetensors | |
| - stable-diffusion | |
| - stable-diffusion-diffusers | |
| - text-to-image | |
| pipeline_tag: text-to-image | |
| # Western Animation Diffusion | |
| ## v1 | |
|  | |
| ### Description: | |
| > | |
| ### Creator: Lykon | |
| ### Civitai Page: https://civitai.com/models/86546 | |
| You can use this with the [🧨Diffusers library](https://github.com/huggingface/diffusers) | |
| ### Diffusers | |
| ```py | |
| from diffusers import StableDiffusionPipeline | |
| import torch | |
| model_id = "sam749/Western-Animation-Diffusion-v1" | |
| pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) | |
| pipe = pipe.to("cuda") | |
| prompt = "masterpiece, best quality, 1girl, (colorful),(delicate eyes and face), volumatic light, ray tracing, bust shot ,extremely detailed CG unity 8k wallpaper,solo,smile" | |
| image = pipe(prompt).images[0] | |
| image.save("result.png") | |
| ``` | |