playground-v1 / README.md
patrickhul's picture
readme touches
91c42b9
|
raw
history blame
957 Bytes
metadata
language:
  - en
library_name: diffusers

Playground v1

A model from Playground.

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, no updates expected

Run Playground v1

First, install dependencies:

pip install diffusers torch accelerate transformers

Run the model:

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")