Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eimaam/text-to-image

Image Generator using #OpenAI Dall-E Model
https://github.com/eimaam/text-to-image

api dall-e dalle openai

Last synced: 20 days ago
JSON representation

Image Generator using #OpenAI Dall-E Model

Awesome Lists containing this project

README

        

# Image Generator using OpenAI

## Generate Images from Text

Easy to use Image Generator built with React using OpenAI Dall-E model that allows creation of images by entering a description.

![text-2-image banner](https://raw.githubusercontent.com/eimaam/text-to-image/main/public/text-2-image%20banner.png)

## To Run on your machine

Download the Repo and Unzip

Visit [OpenAI API Page](https://beta.openai.com/) and Generate your API KEY

Create a file with the exact name `.env.local` to save your API key as env file.

Add your API into it in the format: REACT_APP_API_KEY= `your API key`

Save and Install the depencies by running

```bash
npm install
```

Run the server

```bash
npm start
```

Server should now be available via `http://localhost:5000` .