my-dalle

My-dall-e

This is a simple project that showcases the use of ReactJS, NodeJS, and OpenAI’s DALL-E API to replicate a DALL-E like image generator.

Requirements

To run this project, you will need:

Node.js installed on your machine OpenAI API key

Installation

  1. Clone the repository:

git clone https://github.com/jefftrojan/my-dalle.git

  1. Navigate to the project directory:
cd my-dalle


  1. Install the project dependencies: ```bash npm install

4. Create a .env file in the root directory and add the following environment variables:

```makefile
OPENAI_API_KEY=<your_api_key>

  1. Run the project
npm start

Usage

Visit http://localhost:3000/ in your browser to view the application. You can deploy the application if you want to

Enter a prompt for the image you want to generate in the input field.

Click on the “Generate Image” button.

The generated image will be displayed on the screen.

Limitations

The DALL-E API is still in the beta version and may not always work as expected. The free tier of OpenAI’s API has a limit of 5,000 requests per month, after which you will be charged. This project is for educational purposes only and should not be used for commercial purposes.

Credits

This project was created by Jeff Trojan. It was built using ReactJS, NodeJS, and OpenAI’s DALL-E API.