Commit Graph

5 Commits

Author SHA1 Message Date
Oleg Proskurin 298898f79d feat: implement apikey auth 2025-10-01 00:14:14 +07:00
Oleg Proskurin babcbe29db feat: move to monorepo 2025-09-29 21:58:43 +07:00
Oleg Proskurin 405ffafe11 fix: esm issue 2025-09-27 00:07:31 +07:00
Oleg Proskurin 52549836e4 style: Apply Prettier formatting to all source files
- Consistent code formatting across the entire codebase
- Double quotes for strings, semicolons, and proper indentation
- Improved readability and code consistency
2025-09-21 22:51:51 +07:00
Oleg Proskurin 251ac6e27c feat: Initial setup of Banatie Image Generation Service
- Complete Express.js server with TypeScript, ESLint, and Prettier
- REST API for AI-powered image generation using Gemini Flash Image model
- File upload support for reference images (up to 3 files, 5MB each)
- Comprehensive error handling and validation middleware
- Health check and API info endpoints
- Professional development tools configuration
- Environment-based configuration with .env support
- Graceful server shutdown and logging
- Ready for production deployment

Endpoints:
- GET /health - Server health check
- GET /api/info - API information and limits
- POST /api/generate - Generate images from text prompts with optional reference images

Features:
- TypeScript for type safety
- ESLint for code quality
- Prettier for code formatting
- Multer for file uploads
- CORS support
- Request validation
- Error handling
- Logging
2025-09-21 22:40:51 +07:00