File size: 957 Bytes
997fb81
 
 
 
 
 
2f94e62
 
 
997fb81
91c42b9
997fb81
91c42b9
2f94e62
997fb81
91c42b9
 
 
 
6c10dd3
 
 
997fb81
 
6c10dd3
997fb81
 
6c10dd3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
---
language:
- en
library_name: diffusers
---

<center>
  
<img width="600px" style="margin: 0 auto;" src="https://storage.googleapis.com/pai-marketing/external_misc/playground-v1-hf.jpg" />

<h1 style="margin-top: 30px;"> Playground v1 </h1>

A model from [Playground](https://playground.com).
</center>

Playground v1 is a latent diffusion model that improves the overall HDR quality to get more stunning images. 

Status: no longer active on [playground.com](https://playground.com), no updates expected

## Run Playground v1

First, install dependencies:

```bash
pip install diffusers torch accelerate transformers
```

Run the model:

```python
from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained("playgroundai/playground-v1")

if torch.cuda.is_available():
    pipe.to("cuda")

prompt = "An Astronaut in a jungle, photorealistic"
image  = pipe(prompt=prompt).images[0]

image.save("playground-v1.png")
```