--- language: - en library_name: diffusers ---

Playground v1

A model from [Playground](https://playground.com).
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") ```