Commit Graph

2 Commits

Author SHA1 Message Date
Oleg Proskurin a8220921cb chore: upate git ignore 2025-09-27 00:34:05 +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