A comprehensive full-stack AI SaaS application that empowers users to create content, generate images, and enhance their digital assets using cutting-edge artificial intelligence.
π Live Demo β’ π Documentation β’ π Quick Start β’ π€ Contributing
Transform your content creation workflow with AI-powered tools
- AI Article Writer: Generate high-quality, engaging articles with customizable length (500-1600+ words)
- Blog Title Generator: Create catchy and SEO-optimized titles across 8 different categories
- AI Image Generation: Produce stunning images from text prompts with 8+ artistic styles
- Background Removal: Automatically remove backgrounds from images using AI
- Object Removal: Seamlessly erase unwanted objects from photos
- Resume Reviewer: Get AI-driven feedback and suggestions to improve your resume
- Authentication: Secure user management with Clerk
- Dashboard: Personal workspace to view all your AI creations
- Community Gallery: Share and discover AI-generated content from other users
- Like System: Engage with community content through likes
- Usage Plans: Free tier with limits + Premium unlimited access
- Responsive Design: Mobile-first approach with Tailwind CSS
- Real-time Feedback: Toast notifications for all user actions
- File Upload: Secure image and PDF upload functionality (5MB limit)
- Content Management: Publish/unpublish your creations
- Database Persistence: All creations are stored and retrievable
- Download Functionality: Download all generated content (images as PNG, text as TXT)
- Loading Animations: Beautiful animated loading states during processing
- Error Handling: Comprehensive error handling with user-friendly messages
- Rate Limiting: Built-in API rate limiting and usage tracking
- React 19 - Modern UI library
- Vite - Fast build tool and development server
- React Router DOM - Client-side routing
- Tailwind CSS - Utility-first CSS framework
- Axios - HTTP client for API requests
- Lucide React - Beautiful icon library
- React Hot Toast - Elegant notifications
- React Markdown - Markdown rendering
- Clerk - Authentication and user management
- Node.js - Runtime environment
- Express.js - Web application framework
- PostgreSQL - Primary database (via Neon)
- Clerk Express - Authentication middleware
- Cloudinary - Image storage and processing
- Multer - File upload handling
- OpenAI API - AI text generation (via Gemini)
- ClipDrop API - AI image generation
- PDF Parse - Resume processing
- Neon PostgreSQL - Serverless PostgreSQL database
- Cloudinary - Cloud-based image and video management
Get Vector.AI running in under 5 minutes:
# 1. Clone the repository
git clone https://github.com/aashutosh585/Vector.AI.git
cd Vector.AI
# 2. Install dependencies (both client and server)
npm run install:all
# 3. Set up environment variables (see .env.example files)
cp client/.env.example client/.env
cp server/.env.example server/.env
# 4. Start development servers
npm run devCreate a .env file in the client directory:
VITE_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
VITE_BASE_URL=http://localhost:3000Create a .env file in the server directory:
# Database
DATABASE_URL=your_neon_postgresql_connection_string
# Authentication
CLERK_SECRET_KEY=your_clerk_secret_key
CLERK_WEBHOOK_SECRET=your_clerk_webhook_secret
# AI Services
GEMINI_API_KEY=your_gemini_api_key
CLIPDROP_API_KEY=your_clipdrop_api_key
# Cloud Storage
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
# Server
PORT=3000
NODE_ENV=development- Start the Backend Server:
cd server
npm run server- Start the Frontend Development Server:
cd client
npm run dev- Access the Application:
- Frontend:
http://localhost:5173 - Backend API:
http://localhost:3000
- Frontend:
- Build the Frontend:
cd client
npm run build- Start the Production Server:
cd server
npm start| Method | Endpoint | Description | Parameters | Response | Auth |
|---|---|---|---|---|---|
| POST | /generate-article |
Generate articles with custom length | prompt, length |
{success, content} |
β |
| POST | /generate-blog-title |
Create blog titles by category | prompt |
{success, content} |
β |
| POST | /generate-images |
Generate images from text prompts | prompt, publish |
{success, content} |
β |
| POST | /remove-background |
Remove image backgrounds | image (file) |
{success, content} |
β |
| POST | /remove-image-object |
Remove objects from images | image (file), object |
{success, content} |
β |
| POST | /resume-review |
Analyze and review resumes | resume (PDF file) |
{success, content} |
β |
| Method | Endpoint | Description | Parameters | Response | Auth |
|---|---|---|---|---|---|
| GET | /get-user-creations |
Fetch user's all creations | - | {success, creations[]} |
β |
| GET | /get-published-creations |
Fetch public community creations | - | {success, creations[]} |
β |
| POST | /toggle-like-creation |
Like/unlike community creations | id |
{success, message} |
β |
CREATE TABLE creations (
id SERIAL PRIMARY KEY,
user_id VARCHAR(255) NOT NULL,
prompt TEXT NOT NULL,
content TEXT NOT NULL,
type VARCHAR(50) NOT NULL, -- 'article', 'blog-title', 'image'
publish BOOLEAN DEFAULT false,
likes TEXT[], -- Array of user IDs who liked
created_at TIMESTAMP DEFAULT NOW(),
updated_at TIMESTAMP DEFAULT NOW()
);- Generate articles from 500 to 1600+ words
- Customizable prompts and topics
- Markdown formatting support
- Instant preview and editing
- 8 categories: General, Technology, Health, Lifestyle, Travel, Food, Education, Business
- SEO-optimized suggestions
- Multiple title variations per request
- 8 artistic styles: Realistic, Ghibli, Cartoon, Anime, Fantasy, 3D, Portrait
- High-quality image output
- Cloudinary integration for storage
- Community sharing options
- AI-powered precision removal
- Support for JPG, PNG formats
- Real-time processing feedback
- Download and save functionality
- Public gallery of user creations
- Like and engagement system
- Real-time updates
- User authentication integration
π Built with β€οΈ by Ashutosh Maurya
"Empowering creators with AI - one prompt at a time"
π¨βπ» Developer Portfolio: www.aashutosh.me

