Genify is an innovative AI-powered application that transforms text descriptions into stunning images in seconds. Built with modern web technologies, it offers a seamless user experience for creative image generation.
- AI-Powered Generation: Leverage advanced AI models to create high-quality images from text prompts
- User Authentication: Secure login and registration system with JWT tokens
- Credit System: Manage image generation credits with flexible pricing plans
- Responsive Design: Fully responsive interface that works on all devices
- Real-time Generation: Instant image generation with loading indicators
- Download Support: Easy download of generated images
- GitHub Integration: Direct links to project repository
- React - Modern JavaScript library for building user interfaces
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- Framer Motion - Animation library for React
- React Router - Declarative routing for React
- Axios - HTTP client for API requests
- React Toastify - Toast notifications
- Node.js - JavaScript runtime
- Express.js - Web application framework
- MongoDB - NoSQL database
- Mongoose - MongoDB object modeling
- JWT - JSON Web Tokens for authentication
- Bcrypt - Password hashing
- CORS - Cross-origin resource sharing
- Razorpay - Payment gateway integration
- Clipdrop API - AI image generation service
Before running this application, make sure you have the following installed:
- Node.js (v16 or higher)
- npm or yarn
- MongoDB (local or cloud instance)
- Git
-
Clone the repository
git clone https://github.com/msd131102/genify.git cd genify -
Install server dependencies
cd server npm install -
Install client dependencies
cd ../client npm install -
Environment Setup
Create
.envfiles in bothserverandclientdirectories.Server/.env:
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_secretClient/.env:
VITE_BACKEND_URL=http://localhost:4000 -
Start MongoDB Make sure MongoDB is running on your system or provide a cloud MongoDB URI.
-
Start the backend server
cd server npm startThe server will run on
http://localhost:4000 -
Start the frontend client
cd client npm run devThe client will run on
http://localhost:5173 -
Access the application Open your browser and navigate to
http://localhost:5173
🚀 Live Application: Genify - AI Text-to-Image Generator
Note: The live demo may have limited credits or features compared to the full local setup.
- Sign Up/Login: Create an account or log in to access the application
- Buy Credits: Purchase credits to generate images (Free plan available with 10 credits)
- Generate Images: Enter a text prompt and click "Generate Images"
- Download: Download your generated images
- Manage Account: View credit balance and account details
POST /api/user/register- User registrationPOST /api/user/login- User login
POST /api/image/generate- Generate image from text prompt
GET /api/user/credits- Get user credit balance
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- GitHub: https://github.com/msd131102
- Email: [your-email@example.com]
- Clipdrop API for AI image generation
- React and Vite communities
- All contributors and users
Note: This is a demo project. For production use, ensure proper security measures and API rate limiting.
