Commit Graph

112 Commits

Author SHA1 Message Date
Oleg Proskurin bb15bfef28 feat: add dockerfile 2025-09-27 00:32:23 +07:00
Oleg Proskurin 405ffafe11 fix: esm issue 2025-09-27 00:07:31 +07:00
Oleg Proskurin 684a010537 chore: update documentation 2025-09-27 00:06:56 +07:00
Oleg Proskurin f724a71ade add mcp 2025-09-26 23:11:27 +07:00
Oleg Proskurin 1c6dfc4f8b feat: add text endpoint 2025-09-26 22:44:05 +07:00
Oleg Proskurin d55eba8817 feat: upd docs 2025-09-23 23:55:36 +07:00
Oleg Proskurin 7b6844d1f7 add promt enchancement 2025-09-23 00:00:52 +07:00
Oleg Proskurin 1fbc6daf1e chore: add test file 2025-09-21 23:57:40 +07:00
Oleg Proskurin 64a21e75ab feat: add instruction 2025-09-21 23:13:02 +07:00
Oleg Proskurin 65fbcd0202 feat: Add API testing script
- Comprehensive test script for all API endpoints
- Tests health check, API info, and validation
- Easy way to verify server functionality
- Includes JSON formatting with jq
2025-09-21 22:54:41 +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