Skip to content

Iamsidar07/NextGenVisions

Repository files navigation

NextGenVisions

nextgenvisions

nextgenvisions is an image generation platform built on top of dalle2 and openai api that generates the prompt for dalle2 to generate images based on the your input and uses those prompts to generate images using dalle2.

Tech stacks

  • nextjs
  • reactjs
  • cloudinary ( for image store)
  • file saver ( to save file on computer)
  • typescript
  • openai api (dalle2 and chat completetion to get prompt)
  • typescript
  • tailwindcss
  • mongodb

Setup in local machine

  • Clone this repository using command
git clone https://github.com/Iamsidar07/NextGenVisions.git
  • Change your current directory to the project folder using command
cd NextGenVisions
  • rename .env.example to .env.local and fill all the properties
MONGODB_URI=
OPENAI_API_KEY=
OPENAI_ORGANIZATION_ID=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_SECRETE_KEY=
  • To install dependencies run command
npm install
  • To see your project run command
npm run dev

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.