plat-diffusion / README.md
p1atdev's picture
doc: add sample images
1641ada
|
raw
history blame
4.51 kB
---
license: creativeml-openrail-m
inference: true
thumbnail: https://bit.ly/3Is8sF8
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.
`.safetensors` file is [here](https://huggingface.co./p1atdev/pd-archive/tree/main).
![thumbnail](https://bit.ly/3Is8sF8)
### 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
```
# Samples
- Autumn 1girl
![sample1](https://huggingface.co./p1atdev/plat-diffusion/resolve/main/samples/sample1.jpg)
```
masterpiece, best quality, 1girl, brown hair, long hair, green eyes, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
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,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```
- Autumn 1boy
![sample2](https://huggingface.co./p1atdev/plat-diffusion/resolve/main/samples/sample2.jpg)
```
masterpiece, best quality, 1boy, solo, male focus, medium hair, blonde hair, blue eyes, autumn, cumulonimbus clouds, lighting, blue sky, falling leaves, garden
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,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```
- Abandoned city
![sample3](https://huggingface.co./p1atdev/plat-diffusion/resolve/main/samples/sample3.jpg)
```
masterpiece, best quality, scenery, abandoned city, buildings, ruins, rust, blue sky, clouds
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,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```
- Grey hair school uniform 1girl
![sample4](https://huggingface.co./p1atdev/plat-diffusion/resolve/main/samples/sample4.jpg)
```
masterpiece, best quality, 1girl, upper body, long hair, grey hair, grey eyes, curly hair, twintails, school uniform, black ribbon, light smile
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,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```
- 1girl with feathers
![sample5](https://huggingface.co./p1atdev/plat-diffusion/resolve/main/samples/sample5.jpg)
```
masterpiece, best quality, 1girl, angel, silver hair, white wings, hair flower, school uniform, upper body, sunlight, lily, feathers, ultra detailed illustration
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,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```
- Many girls
![sample6](https://huggingface.co./p1atdev/plat-diffusion/resolve/main/samples/sample6.jpg)
```
masterpiece, best quality, high quality, 4girls, everyone, beautiful detailed
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,
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```
(typo)
# 🧨 Diffusers
```py
from diffusers import StableDiffusionPipeline
import torch
model_id = "p1atdev/plat-diffusion"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32) # not working with float16
pipe = pipe.to("cuda")
prompt = "masterpiece, best quality, 1girl, orange feather, blue crystals, blurry foreground"
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"
image = pipe(prompt, negative_prompt=negative_prompt).images[0]
image.save("girl.png")
```