
zhongweili/nanobanana-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Google Gemini가 구동하는 AI 이미지 생성 MCP 서버, 스마트 모델 선택과 4K 출력 기능이 있습니다
개요
Google 모델을 통해 AI 기반 이미지 생성 기능을 제공하는 지능형 모델 선택 기능을 제공하는 생산 준비가 된 서버입니다. (gemini-3.1-flash-image-preview)는 이제 플래시 속도에서 프로급 품질을 제공합니다: - 🍌 : Gemini 2.5에서 최대 3840px, 플래시 지연 - 🌐 : 사실에 기반한 정확한 이미지를 위한 실제 지식 - 🎯 : 장면당 최대 5자와 14개의 객체 - ✍️ : 이미지 내 명확한 텍스트 배치 - 🏆 최대 추론 깊이를 위해 여전히 이용 가능합니다 - 🎨 : 지능형 자동 선택 기능이 있는 세 가지 Gemini 모델 - 🍌 : 기본 모델 — 플래시 속도에 4K 해상도, 접지 기능 - 🏆 : 가장 복잡한 구성을 위한 최대 추론 깊이 - ⚡ : 대량 고속 프로토타이핑을 위한 레거시 플래시 모델 - 🤖 : 프롬프트에 따라 자동으로 NB2 또는 Pro로 라우팅됨 - ⭐ 📐 새로움: 출력 치수 지정 (1:1, 16:9, 9:16, 9:16, 21:9 등) - 📋 : 사진, 디자인, 편집을 위한 사전 제작된 프롬프트 템플릿 - 📁 : Gemini Files API -...를 통해 파일 업로드 및 관리
개요(AI 번역)
Google Gemini** 모델을 통해 AI 기반 이미지 생성 기능을 제공하는 운영 준비가 된 Model Context Protocol(MCP) 서버와 지능형 모델 선택 기능을 제공합니다.
⭐ NEW: 나노 바나나 2 — 제미니 3.1 플래시 이미지! 🍌🚀
나노 바나나 2 (gemini-3.1-flash-image-preview)가 현재 기본 모델 — 플래시 속도에서 프로급 품질을 제공합니다:
- 🍌 플래시 속도 + 4K 품질: Gemini 2.5에서 최대 3840px 플래시 지연
- 🌐 Google Search Grounding: 사실에 근거한 이미지를 위한 실제 지식
- 🎯 주제 일관성: 장면당 최대 5인물과 14개의 객체
- ✍️ 정밀 텍스트 렌더링: 이미지 내 명확한 텍스트 배치
- 🏆 Gemini 3 Pro Image는 최대 추론 깊이를 위해 여전히 이용 가능합니다
✨ 특징
- 🎨 다중 모델 AI 이미지 생성: 지능형 자동 선택 기능을 갖춘 세 가지 제미니 모델
- 🍌 Gemini 3.1 플래시 이미지 (NB2): 기본 모델 — 플래시 속도 및 접지 기반 4K 해상도
- 🏆 Gemini 3 Pro Image: 가장 복잡한 구도에 대한 최대 추론 깊이
- ⚡ Gemini 2.5 플래시 이미지: 대량 고속 프로토타이핑을 위한 레거시 플래시 모델
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Nano Banana MCP Server 🍌
A production-ready Model Context Protocol (MCP) server that provides AI-powered image generation capabilities through Google’s Gemini models with intelligent model selection.
⭐ NEW: Nano Banana 2 — Gemini 3.1 Flash Image! 🍌🚀
Nano Banana 2 (gemini-3.1-flash-image-preview) is now the default model — delivering Pro-level quality at Flash speed:
- 🍌 Flash Speed + 4K Quality: Up to 3840px at Gemini 2.5 Flash latency
- 🌐 Google Search Grounding: Real-world knowledge for factually accurate images
- 🎯 Subject Consistency: Up to 5 characters and 14 objects per scene
- ✍️ Precision Text Rendering: Crystal-clear text placement in images
- 🏆 Gemini 3 Pro Image still available for maximum reasoning depth
✨ Features
- 🎨 Multi-Model AI Image Generation: Three Gemini models with intelligent automatic selection
- 🍌 Gemini 3.1 Flash Image (NB2): Default model — 4K resolution at Flash speed with grounding
- 🏆 Gemini 3 Pro Image: Maximum reasoning depth for the most complex compositions
- ⚡ Gemini 2.5 Flash Image: Legacy Flash model for high-volume rapid prototyping
- 🤖 Smart Model Selection: Automatically routes to NB2 or Pro based on your prompt
- 📐 Aspect Ratio Control ⭐ NEW: Specify output dimensions (1:1, 16:9, 9:16, 21:9, and more)
- 📋 Smart Templates: Pre-built prompt templates for photography, design, and editing
- 📁 File Management: Upload and manage files via Gemini Files API
- 🔍 Resource Discovery: Browse templates and file metadata through MCP resources
- 🛡️ Production Ready: Comprehensive error handling, logging, and validation
- ⚡ High Performance: Optimized architecture with intelligent caching
🚀 Quick Start
Prerequisites
- Google Gemini API Key - Get one free here
- Python 3.11+ (for development only)
Installation
Option 1: From MCP Registry (Recommended) This server is available in the Model Context Protocol Registry. Search for “nanobanana” or use the MCP name below with your MCP client.
mcp-name: io.github.zhongweili/nanobanana-mcp-server
Option 2: Using uvx
uvx nanobanana-mcp-server@latest
Option 3: Using pip
pip install nanobanana-mcp-server
🔧 Configuration
Authentication Methods
Nano Banana supports two authentication methods via NANOBANANA_AUTH_METHOD:
- API Key (
api_key): UsesGEMINI_API_KEY. Best for local development and simple deployments. - Vertex AI ADC (
vertex_ai): Uses Google Cloud Application Default Credentials. Best for production on Google Cloud (Cloud Run, GKE, GCE).
설치
uvx nanobanana-mcp-server@latest설정
{
"mcpServers": {
"nanobanana": {
"command": "uvx",
"args": ["nanobanana-mcp-server@latest"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}