Skip to content

A MERN stack application that creates AI generated images using Open AI's Api, built with Tailwind CSS and Cloudinary for image storage

Notifications You must be signed in to change notification settings

RaghavVerma24/Imaginate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Imaginate

This project is a MERN stack application that creates AI generated images using Open AI's API. The frontend is built with React and Tailwind CSS, and the backend is built with Node.js, Express.js, and MongoDB. The images generated by the AI are stored in Cloudinary.

image

Installation

Prerequisites

  • Node.js
  • NPM
  • TailwindCSS
  • MongoDB
  • Cloudinary account and API keys
  • Open AI API key

Steps

  1. Clone the repository to your local machine:
git clone https://github.com/RaghavVerma24/Imaginate
  1. Install dependencies for both the frontend and backend:
cd client
npm install
cd ../server
npm install
  1. Create a .env file in the backend directory and add the following:
PORT=5000
MONGODB_URI=<your-mongodb-cluster-name>
CLOUDINARY_CLOUD_NAME=<your-cloudinary-cloud-name>
CLOUDINARY_API_KEY=<your-cloudinary-api-key>
CLOUDINARY_API_SECRET=<your-cloudinary-api-secret>
OPENAI_API_KEY=<your-openai-api-key>
  1. Start the backend server:
cd server
npm start
  1. Start the frontend:
cd client
npm run dev
  1. Change Server endpoint url:
https://imaginate.onrender.com/api/v1/post" // Make all instances: "https://<projectname>.onrender.com/api/v1/post"

Usage

Creating an Image

  1. Navigate to the creationg page.
  2. Enter a description of the image you want to generate and your name.
  3. Click the "Generate" button.
  4. Post it to the community.

About

A MERN stack application that creates AI generated images using Open AI's Api, built with Tailwind CSS and Cloudinary for image storage

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published