--- license: creativeml-openrail-m library_name: diffusers tags: - Safetensors - stable-diffusion - stable-diffusion-diffusers - text-to-image pipeline_tag: text-to-image --- # AWPainting ## v1.2 ![Generated Sample](preview.jpeg) ### Description: > ### Creator: DynamicWang ### Civitai Page: https://civitai.com/models/84476 You can use this with the [🧨Diffusers library](https://github.com/huggingface/diffusers) ### Diffusers ```py from diffusers import StableDiffusionPipeline import torch model_id = "sam749/AWPainting-v1-2" 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") ```