Skip to content

Release v0.3.0

Choose a tag to compare

@shinpr shinpr released this 03 Oct 01:15
· 230 commits to main since this release
bae3ff5

🍌 What's New

Model Upgrade

  • Upgraded to Gemini 2.5 Flash Image - Now using the latest gemini-2.5-flash-image 🍌 model for improved image generation quality and performance

New Features

  • Aspect Ratio Support - Added aspectRatio parameter to generate_image tool with 10 preset options:
    • Square: 1:1
    • Portrait: 2:3, 3:4, 4:5, 9:16
    • Landscape: 3:2, 4:3, 5:4, 16:9, 21:9

🔧 Technical Improvements

API Layer

  • Extended GenerateImageParams with aspectRatio field
  • Added imageConfig support for generateContent API
  • Comprehensive type definitions for aspect ratio options

Validation

  • Added aspect ratio validation logic
  • Schema validation for MCP tool parameters
  • Comprehensive test coverage for all aspect ratio values

📦 Installation

npm install mcp-image@0.3.0

Full Diff: v0.2.3...v0.3.0