You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Powered by Gemini 3 Pro Image - Nano Banana Pro 🍌
4
4
5
-
A powerful MCP (Model Context Protocol) server that enables AI assistants to generate and edit images using Google's Gemini 2.5 Flash Image (Nano Banana 🍌). Seamlessly integrate advanced image generation capabilities into Codex, Cursor, Claude Code, and other MCP-compatible AI tools.
5
+
A powerful MCP (Model Context Protocol) server that enables AI assistants to generate and edit images using Google's Gemini 3 Pro Image (Nano Banana Pro 🍌). Seamlessly integrate advanced image generation capabilities into Codex, Cursor, Claude Code, and other MCP-compatible AI tools.
6
6
7
7
## ✨ Features
8
8
9
-
-**AI-Powered Image Generation**: Create images from text prompts using Gemini 2.5 Flash Image (Nano Banana)
9
+
-**AI-Powered Image Generation**: Create images from text prompts using Gemini 3 Pro Image (Nano Banana Pro)
10
10
-**Intelligent Prompt Enhancement**: Automatically optimizes your prompts using Gemini 2.0 Flash for superior image quality
11
11
- Adds photographic and artistic details
12
12
- Enriches lighting, composition, and atmosphere descriptions
13
13
- Preserves your intent while maximizing generation quality
14
14
-**Image Editing**: Transform existing images with natural language instructions
15
15
- Context-aware editing that preserves original style
16
16
- Maintains visual consistency with source image
17
-
-**Advanced Options**:
17
+
-**High-Resolution Output**: Support for 2K and 4K image generation
18
+
- Standard quality for fast generation
19
+
- 2K resolution for enhanced detail
20
+
- 4K resolution for professional-grade images with superior text rendering
21
+
-**Flexible Aspect Ratios**: Multiple aspect ratio options (1:1, 16:9, 9:16, 21:9, and more)
22
+
-**Advanced Options**:
18
23
- Multi-image blending for composite scenes
19
24
- Character consistency across generations
20
25
- World knowledge integration for accurate context
@@ -134,18 +139,31 @@ The system automatically enhances this to include rich details about lighting, m
134
139
135
140
### Advanced Features
136
141
142
+
**Character Consistency:**
137
143
```
138
144
"Generate a portrait of a medieval knight, maintaining character consistency for future variations"
139
145
(with maintainCharacterConsistency: true)
140
146
```
141
147
148
+
**High-Resolution 4K Generation:**
149
+
```
150
+
"Generate a professional product photo of a smartphone with clear text on the screen"
151
+
(with imageSize: "4K")
152
+
```
153
+
154
+
**Custom Aspect Ratio:**
155
+
```
156
+
"Generate a cinematic landscape of a desert at golden hour"
157
+
(with aspectRatio: "21:9")
158
+
```
159
+
142
160
## 🔧 API Reference
143
161
144
162
### `generate_image` Tool
145
163
146
164
The MCP server exposes a single tool for all image operations. Internally, it uses a two-stage process:
147
165
1.**Prompt Optimization**: Gemini 2.0 Flash analyzes and enriches your prompt
148
-
2.**Image Generation**: Gemini 2.5 Flash Image creates the final image
166
+
2.**Image Generation**: Gemini 3 Pro Image creates the final image
149
167
150
168
#### Parameters
151
169
@@ -155,9 +173,10 @@ The MCP server exposes a single tool for all image operations. Internally, it us
155
173
|`inputImagePath`| string | - | Absolute path to input image for editing |
156
174
|`fileName`| string | - | Custom filename for output (auto-generated if not specified) |
157
175
|`aspectRatio`| string | - | Aspect ratio for the generated image. Supported values: `1:1` (square, default), `2:3`, `3:2`, `3:4`, `4:3`, `4:5`, `5:4`, `9:16`, `16:9`, `21:9`|
|`maintainCharacterConsistency`| boolean | - | Maintain character appearance across generations |
160
-
|`useWorldKnowledge`| boolean | - | Use real-world knowledge for context |
176
+
|`imageSize`| string | - | Image resolution for high-quality output. Specify `2K` or `4K` for higher resolution images with better text rendering and fine details. Leave unspecified for standard quality. Supported values: `2K`, `4K`|
177
+
|`blendImages`| boolean | - | Enable multi-image blending for combining multiple visual elements naturally |
178
+
|`maintainCharacterConsistency`| boolean | - | Maintain character appearance consistency across different poses and scenes |
179
+
|`useWorldKnowledge`| boolean | - | Use real-world knowledge for accurate context (recommended for historical figures, landmarks, or factual scenarios) |
161
180
162
181
#### Response
163
182
@@ -170,7 +189,7 @@ The MCP server exposes a single tool for all image operations. Internally, it us
170
189
"mimeType": "image/png"
171
190
},
172
191
"metadata": {
173
-
"model": "gemini-2.5-flash-image",
192
+
"model": "gemini-3-pro-image-preview",
174
193
"processingTime": 5000,
175
194
"timestamp": "2024-01-01T12:00:00.000Z"
176
195
}
@@ -199,15 +218,17 @@ The MCP server exposes a single tool for all image operations. Internally, it us
0 commit comments