Instructions to use p1atdev/plat-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use p1atdev/plat-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("p1atdev/plat-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,169 Bytes
f339ffe 34e6a75 f339ffe d5bc3ba 163e192 d5bc3ba 163e192 d5bc3ba 163e192 d5bc3ba 34e6a75 d5bc3ba 34e6a75 163e192 34e6a75 a90cfcf 34e6a75 163e192 34e6a75 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | ---
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")
``` |