All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Image Generation Support: Complete integration with Monica API image generation endpoints
- Support for FLUX models (Schnell, Dev, Pro) with customizable parameters
- Support for Stable Diffusion models (XL 1.0, SD3, SD3.5 Large) with advanced controls
- Support for DALL·E 3 with quality and style options
- Support for Playground V2.5 with artistic style interpretation
- Support for Ideogram V2 with exceptional text rendering capabilities
ImageGenerationmodel class with fluent interface for request buildingImageGenerationResponsemodel class with image download and save functionality- Comprehensive image generation examples and documentation
- Unit tests for all image generation functionality
- Extended
MonicaClientwithgenerateImage()andgenerateImageSimple()methods - Added model-specific parameter mapping and validation
- Updated README with detailed image generation usage examples
- Added API reference documentation for new classes
- Initial release of Monica API PHP Client
- Support for multiple AI providers (OpenAI, Anthropic, Google, DeepSeek, Meta, Grok, NVIDIA, Mistral)
- Comprehensive PHPDoc documentation
- Type-safe PHP 8.1+ implementation
- Robust error handling with detailed exceptions
- Laravel integration support
- Unit tests with PHPUnit
- Complete README with examples and API reference
MonicaClient- Main client class for API interactionsChatMessage- Message model with role-based creation methodsChatCompletion- Request model with parameter validationChatCompletionResponse- Response model with usage statisticsMonicaAIException- Comprehensive API error handlingInvalidModelException- Model validation with suggestionsHttpClient- HTTP communication layer with Guzzle
- OpenAI: GPT-4.1 (Mini/Nano), GPT-4o (Mini), o4-mini
- Anthropic: Claude 4 (Opus/Sonnet), Claude 3 Haiku
- Google: Gemini 2.5 (Pro/Flash/Flash-Lite), Gemini 2.0 Flash
- DeepSeek: V3 Reasoner, V3 Chat
- Meta: Llama 3/3.1 8B Instruct
- Grok: Grok 3 Beta, Grok Beta
- NVIDIA: Llama 3.1 Nemotron 70B
- Mistral: Mistral 7B Instruct
- Initial stable release
- Full Monica API Platform integration
- Complete documentation and examples
- Production-ready codebase with comprehensive error handling