Skip to content

nuelScript/dataBrain-ai

Repository files navigation

DataBrain AI - AI SaaS Application Readme

Welcome to DataBrain AI, this AI SaaS application built with Next.js 13, React.js, MySQL, Prisma, OpenAI, Replica AI, and Clerk Authentication. DataBrain AI leverages the power of artificial intelligence to provide various creative and practical features, including conversation, image generation, video generation, code generation, and music generation.

Table of Contents

Introduction

DataBrain AI is an AI SaaS application designed to empower users with advanced artificial intelligence capabilities. It enables seamless interactions with AI models through intuitive interfaces, allowing users to create and access generated content with ease.

Features

DataBrain AI offers the following powerful features:

  1. Conversation: Engage in interactive and natural conversations with AI models, receiving human-like responses based on the context.

  2. Image Generation: Create unique and visually stunning images using AI-powered algorithms with customizable parameters.

  3. Video Generation: Generate dynamic and captivating videos with the assistance of AI algorithms, tailoring them to specific requirements.

  4. Code Generation: Automate code snippet generation based on input requirements, streamlining development workflows.

  5. Music Generation: Compose original music using AI models capable of harmonizing and producing melodies based on user preferences.

Technologies Used

DataBrain AI is built on the following technologies:

  • Next.js 13: A powerful React framework for building server-side rendered React applications.

  • React.js: A popular JavaScript library for building user interfaces.

  • MySQL: A robust relational database management system for storing and managing application data.

  • Prisma: An ORM (Object-Relational Mapping) tool that simplifies database access and management.

  • OpenAI: A leading AI research lab that provides state-of-the-art AI models and APIs for natural language processing tasks.

  • Replica AI: An AI platform specializing in generating synthetic media, such as images and videos.

  • Clerk Authentication: A secure authentication service that handles user authentication and authorization.

Getting Started

To run DataBrain AI locally or deploy it to a production server, follow the instructions below.

Setup

  1. Clone the repository:
   git clone https://github.com/nuelScript/dataBrain-ai/
   cd <repository_directory>
  1. Install dependencies:

  2. Set up the database and configure Prisma to establish a connection to MySQL.

  3. Obtain API keys or authentication credentials for OpenAI, Replica AI, and Clerk Authentication.

  4. Configure the application to use the necessary API keys and credentials.

Usage

To start the development server, run the following command:

   npm run dev

Visit http://localhost:3000 in your web browser to access DataBrain AI.

API Endpoints

DataBrain AI provides API endpoints for programmatically interacting with the AI models. Key endpoints include:

  • /api/conversation: Endpoint to handle interactive conversations with AI.

  • /api/image: Endpoint for generating AI-powered images.

  • /api/video: Endpoint for generating dynamic videos using AI.

  • /api/code: Endpoint for automatic code generation.

  • /api/music: Endpoint for creating AI-generated music compositions.

Authentication

DataBrain AI uses Clerk Authentication to manage user authentication and access control. Users can sign up, log in, and access specific features based on their permissions.

Upgrade to Pro Plan

Users of DataBrain AI have 10 free generations available. After reaching this limit, they will be restricted from using further generations until they upgrade to the Pro plan. The Pro plan provides extended access to all features without generation limitations.

Contributing

I welcome contributions to enhance DataBrain AI's features, fix bugs, or improve documentation.

License

DataBrain AI is licensed under the MIT License, allowing free use, modification, and distribution.

Thank you for choosing DataBrain AI! If you encounter any issues or have suggestions for improvement, please don't hesitate to reach out. Happy generating!

About

An AI SaaS application that utilizes OpenAI's GPT turbo-3.5

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published