Release v0.4.1
✨ New Feature
Google Search Grounding Integration
- Added
useGoogleSearchparameter to enable real-time web information access during image generation - Allows the model to ground image generation with current, factual data from the web
- Ideal for prompts requiring time-sensitive or up-to-date information (e.g., current events, recent fashion trends, latest technology)
- Automatically disabled for creative, fictional, historical, or timeless content to preserve artistic freedom
🔧 Technical Details
- New
useGoogleSearchboolean parameter ingenerate_imagetool - Implements Google Search grounding via Gemini API tools parameter
- Comprehensive test coverage with 233 lines of new tests
- Updated documentation with usage guidelines
Full Changelog: v0.4.0...v0.4.1