Skip to main content
Glama
VPCriativo94

gemini-nano-banana-mcp

by VPCriativo94

gemini-nano-banana-mcp

极简 MCP 服务器,通过 Google 的 Gemini "Nano Banana" 图像模型(默认 gemini-2.5-flash-image)生成图像,使用你自己的免费 Google AI Studio API 密钥。

无需第三方服务,无需付费额度——请求直接发送到 Google 的 Gemini API。

设置

npm install
npm run build

https://aistudio.google.com/apikey 获取免费 API 密钥。

Related MCP server: Nano Banana MCP Server

注册到 Claude Code

claude mcp add gemini-image --scope user -e GEMINI_API_KEY=your-key-here -- node /absolute/path/to/gemini-nano-banana-mcp/dist/index.js

工具

generate_image

参数

必填

描述

prompt

要生成的图像的文本描述

model

Gemini 图像模型 ID(默认:gemini-2.5-flash-image

aspect_ratio

例如 1:116:99:16

file_name

输出文件名(默认:时间戳)

生成的图像保存到 OUTPUT_DIR(默认:./output),工具返回保存的文件路径。

环境变量

变量

必填

默认值

GEMINI_API_KEY

OUTPUT_DIR

./output

许可证

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Generate images, video & speech with Nano Banana, Veo, Omni and Gemini TTS. Pay as you go.

  • Generate logos, social posts, app screenshots, comic panels & visual-novel assets from prompts.

  • Generate PWA icon sets and iOS splash screens from a text prompt or an existing image.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VPCriativo94/gemini-nano-banana-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server