Skip to main content
Glama

generate_image

Create AI-generated images using Google Gemini 3.0 models with detailed prompts, adjustable aspect ratios, resolution up to 4K, and optional reference images for style guidance.

Instructions

Generate an image using Google Gemini 3.0 (Nano Banana Pro). Supports up to 4K resolution and up to 14 reference images for style/content guidance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDetailed description of the image to generate
modelNoModel to use: "gemini-3-pro-image-preview" (default, Nano Banana Pro - best quality up to 4K), "gemini-2.5-flash-preview-05-20" (faster), or "gemini-2.0-flash-exp" (legacy)gemini-3-pro-image-preview
aspectRatioNoAspect ratio of the generated image1:1
imageSizeNoResolution of the generated image (Nano Banana Pro supports up to 4K)1K
outputPathNoOptional file path to save the image (e.g., ./output/image.png)
referenceImagesNoOptional reference images to guide generation (up to 14 images for style, object, or layout references)
Install Server

Other Tools

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

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