A sleek, modern full-stack SaaS platform to generate stunning AI images from text prompts. Built with the MERN stack, secure authentication, and seamless Razorpay payments.
Experience Imagify live:
👉 imagify-ai-saasl.vercel.app
- 🔐 Secure JWT login/signup
- ✨ Text-to-image AI (ClipDrop API)
- 📦 Credit-based usage (1 credit = 1 image)
- 💳 Easy credit purchase via Razorpay
- 🧑💻 User dashboard for credits & images
- 🪄 Smooth animations & notifications
- 📱 Fully responsive UI
| Frontend | Backend |
|---|---|
| React.js | Node.js |
| Tailwind CSS | Express.js |
| Axios | MongoDB |
| Framer Motion | Mongoose |
| React Router | JWT Auth |
| Toastify | Bcrypt |
| Razorpay SDK | |
| ClipDrop API |
| Plan | Credits | Price |
|---|---|---|
| Basic | 100 | $10 |
| Advanced | 500 | $50 |
| Business | 5000 | $250 |
-
Clone the Repository
git clone https://github.com/your-username/imagify.git cd imagify -
Backend Setup
- Go to the backend folder:
cd backend npm install - Create a
.envfile insidebackend/and add your secrets:PORT=4000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret CLIPDROP_API=your_clipdrop_api_key RAZORPAY_KEY_ID=your_razorpay_key_id RAZORPAY_KEY_SECRET=your_razorpay_key_secret CURRENCY=INR - Start the backend server:
npm run dev
- Go to the backend folder:
-
Frontend Setup
- Go to the frontend folder:
cd ../frontend npm install - Create a
.envfile insidefrontend/and add:VITE_BACKEND_URL=http://localhost:4000 VITE_RAZORPAY_KEY_ID=your_razorpay_key_id - Start the frontend client:
npm run dev
- Go to the frontend folder:
POST /api/user/register– RegisterPOST /api/user/login– LoginPOST /api/user/pay-razor– Create Razorpay orderPOST /api/user/verify-razor– Verify payment & add creditsPOST /api/image/generate– Generate AI image
Sanskar Shukla
Full Stack Developer | DSA Learner | Passionate Builder
🔗 GitHub • 🔗 LinkedIn
- Star this repo
- Fork it
- Contribute
- Share on social media
HIMANSHU JASAIWAL
If something doesn't work, just skip that part and enjoy the rest! The setup is clean and easy—get creative and make it yours.


