CRUL + ReactJs
Table of Contents
This is an AI Image Generator that uses OpenAi's DALL-E and text-davincii-3. It generates an image out of the provided prompt. This is a game-changing software, it uses text-davincii-3 to suggest prompts for you.
Status: Alpha v1.2.1,
The following dependencies must be installed in order for the software to work:
Frontend (Client folder):
- React
- React-icons
- File-saver
- React-dom
- React-router-dom
- Lodash
- React-helmet
Backend (Server folder):
- Express
- Nodemon
- Mongoose
- Dotenv
- Cors
- Openai
- Cloudinary
To use this software, open your terminal and run
cd server
npm install
once all the dependencies are done installing, run
npm run start
open a new terminal and run
cd client
npm i
then start the frontend by running
npm run start
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Cd into the server folder and create a .env
file and fill it with your credentials from openai, mongodb and cloudinary.
MONGODB_URL=""
OPENAI_API_KEY=""
CLOUDINARY_CLOUD_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""
Visit http://localhost:5173
You can go to /generate-image
route to generate your AI image.
You can also visit the /showcase
route to view all the AI generated images