CRUL
Description: 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.
Demo
Technology stack
- Javascript Library: ReactJs
- NoSQL Database: MongoDB
- Object Relational Model: Mongoose
- NodeJs Framework: ExpressJs
- Javascript Runtime: NodeJs
- Icons: React-icons
- Media Storage platform: Cloudinary
Status: Alpha v1.1,
Dependencies
The following dependencies must be installed in order form 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
Installation
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
Configuration
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=""
Usage
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