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.
To run this project, you will need:
Node.js installed on your machine OpenAI API key
git clone https://github.com/jefftrojan/my-dalle.git
cd my-dalle
4. Create a .env file in the root directory and add the following environment variables:
```makefile
OPENAI_API_KEY=<your_api_key>
npm start
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.
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.
This project was created by Jeff Trojan. It was built using ReactJS, NodeJS, and OpenAI’s DALL-E API.