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.
- Introduction
- Features
- Technologies Used
- Getting Started
- Setup
- Usage
- API Endpoints
- Authentication
- Upgrade to Pro Plan
- Contributing
- License
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.
DataBrain AI offers the following powerful features:
-
Conversation: Engage in interactive and natural conversations with AI models, receiving human-like responses based on the context.
-
Image Generation: Create unique and visually stunning images using AI-powered algorithms with customizable parameters.
-
Video Generation: Generate dynamic and captivating videos with the assistance of AI algorithms, tailoring them to specific requirements.
-
Code Generation: Automate code snippet generation based on input requirements, streamlining development workflows.
-
Music Generation: Compose original music using AI models capable of harmonizing and producing melodies based on user preferences.
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.
To run DataBrain AI locally or deploy it to a production server, follow the instructions below.
- Clone the repository:
git clone https://github.com/nuelScript/dataBrain-ai/
cd <repository_directory>
-
Install dependencies:
-
Set up the database and configure Prisma to establish a connection to MySQL.
-
Obtain API keys or authentication credentials for OpenAI, Replica AI, and Clerk Authentication.
-
Configure the application to use the necessary API keys and credentials.
To start the development server, run the following command:
npm run dev
Visit http://localhost:3000
in your web browser to access DataBrain AI.
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.
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.
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.
I welcome contributions to enhance DataBrain AI's features, fix bugs, or improve documentation.
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!