---
title: "Dall-E 2 AI Art Generator"
description: "Dall-E 2 frontend using Upstash for message queue + Redis."
url: "https://vercel.com/templates/next.js/dall-e"
links:
  repository: "https://github.com/domeccleston/dalle-2"
  demo: "https://github.com/domeccleston/dalle-2"
  deploy: "https://vercel.com/new/clone?demo-title=Dall-E+2+AI+Art+Generator&demo-description=Dall-E+2+frontend+using+Upstash+for+message+queue+%2B+Redis.&demo-url=https%3A%2F%2Fgithub.com%2Fdomeccleston%2Fdalle-2&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F3ulf3cJhGCjsBEoALnQd6c%2Fde6a1bddc1eae9422d73e285cd879a6e%2FCleanShot_2022-12-09_at_09.28.09.png&project-name=Dall-E+2+AI+Art+Generator&repository-name=dall-e&repository-url=https%3A%2F%2Fgithub.com%2Fdomeccleston%2Fdalle-2&from=templates&integration-ids=oac_V3R1GIpkoJorr6fqyiwdhl17&env=OPENAI_API_KEY&envDescription=Get+an+API+key+at+OpenAI%3A&envLink=https%3A%2F%2Fopenai.com"
---

# Dall-E 2 AI Art Generator

Dall-E 2 frontend using Upstash for message queue + Redis.

# Dall-E 2 AI Art Generator

This project will generate images from text using AI.

![OG Image](https://github.com/domeccleston/dalle-2/blob/main/public/ogimage.png?raw=true)

## Running Locally

To run this locally, you'll need to sign up to https://openai.com and create a new API key ($18 of free credit is available for new users) and set OPENAI_API_KEY accordingly.

Then, run the application in the command line and it will be available at `http://localhost:3000`.

```bash
npm run dev
```

## One-Click Deploy

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples):

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/randomteam/clone?demo-title=Dall-E%202%20AI%20Art%20Generator&demo-description=Dall-E%202%20frontend%20using%20Upstash%20for%20message%20queue%20%2B%20Redis.&demo-url=https%3A%2F%2Fdalle-2.vercel.app%2F&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F3ulf3cJhGCjsBEoALnQd6c%2Fde6a1bddc1eae9422d73e285cd879a6e%2FCleanShot_2022-12-09_at_09.28.09.png&project-name=Dall-E%202%20AI%20Art%20Generator&repository-name=dall-e&repository-url=https%3A%2F%2Fgithub.com%2Fdomeccleston%2Fdalle-2&from=templates&integration-ids=oac_V3R1GIpkoJorr6fqyiwdhl17&env=OPENAI_API_KEY&envDescription=Get%20an%20API%20key%20at%20OpenAI%3A&envLink=https%3A%2F%2Fopenai.com)

## Related Templates

### [Alt Text Generator](https://vercel.com/templates/next.js/ai-alt-text-generator)

Generate descriptions for your images using AI.

### [Inpainter with Stable Diffusion](https://vercel.com/templates/next.js/inpainter-stable-diffusion)

Next.js application for inpainting with Stable Diffusion using the Replicate API.

## Related Integrations

### [Upstash](https://vercel.com/marketplace/upstash)

Serverless DB (Redis, Vector, Queue, Search)

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
