Skip to content

bashlogs/EDI-Project

Repository files navigation

EDI-Project

AI Fusion - Creation with pixel, word and sound

An user-friendly website interface that seamlessly allows users to initiate content generation tasks.

Models used in our system

OpenAI

Text Generation
Code Generation
Image Generation

Replicate AI

Music Generation
Video Generation

Pre-requisites

Node JS

.env file setup

Rename the .env.example file to .env and add the following keys

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

OPENAI_API_KEY=
REPLICATE_API_TOKEN=

DATABASE_URL=

STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=

Prisma setup

Enter here the connection details to your database. In this case, we are using PostgreSQL. you can use Mysql or SQLite as well.

datasource db {
  provider = "postgresql"
  url = env("DATABASE_URL")
  relationMode = "prisma"
}

Enter this command to migrate tables to your database

npx prisma db push

Start the app

npm run dev

Home Page

image

Dashboard

image

Architecture Diagram

image