| | --- |
| | license: creativeml-openrail-m |
| | inference: true |
| | tags: |
| | - stable-diffusion |
| | - stable-diffusion-diffusers |
| | - text-to-image |
| | - diffusers |
| | --- |
| | |
| | # Plat Diffusion v1.3.0 |
| |
|
| | Plat Diffusion is a fine-tuned model based on [Waifu Diffusion v1.4 Anime Epoch 1](https://huggingface.co/hakurei/waifu-diffusion-v1-4) with images generated with niji・journey. |
| |
|
| |  |
| |
|
| |
|
| | ``` |
| | masterpiece, best quality, 1girl, orange feather, blue crystals, blurry foreground |
| | ``` |
| |
|
| | ### Recomended Negative Prompt |
| |
|
| | ``` |
| | nsfw, worst quality, low quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry |
| | ``` |
| |
|
| |
|
| | # 🧨 Diffusers |
| |
|
| | ```py |
| | from diffusers import StableDiffusionPipeline |
| | import torch |
| | |
| | model_id = "p1atdev/plat-diffusion" |
| | pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
| | pipe = pipe.to("cuda") |
| | |
| | prompt = "masterpiece, best quality, 1girl, orange feather, blue crystals, blurry foreground" |
| | image = pipe(prompt).images[0] |
| | |
| | image.save("girl.png") |
| | ``` |