Skip to main content
Glama
riotofgeese

Gemini MCP Server

by riotofgeese

gemini-image

Generate images from text descriptions using Gemini's Nano Banana models. Create visuals for various use cases with adjustable parameters like aspect ratio and quantity, automatically selecting Pro model for text-heavy prompts.

Instructions

Generate images using Nano Banana (Gemini's native image generation).

Two models available:

  • Nano Banana (default): Fast, cheap (~$0.04/image), good for most use cases

  • Nano Banana Pro: Advanced model with better text rendering, infographics, diagrams

Auto-detection: Says "nano banana pro" or mentions text/infographic/diagram/chart/logo/poster in prompt → automatically uses Pro model.

Parameters:

  • prompt: Text description of the image to generate (required)

  • numberOfImages: How many images to generate (1-4, default: 1)

  • aspectRatio: Image aspect ratio ("1:1", "3:4", "4:3", "9:16", "16:9", default: "1:1")

  • usePro: Force Nano Banana Pro (auto-detected from prompt if not specified)

  • outputPath: Optional path to save images

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the image to generate
numberOfImagesNoNumber of images to generate (1-4)
aspectRatioNoAspect ratio of generated images
useProNoUse Nano Banana Pro for higher quality (better text, infographics)
outputPathNoOptional directory path to save generated images

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/riotofgeese/gemini-mcp'

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