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)
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions some constraints (e.g., 'up to 4K resolution,' 'up to 14 reference images') but lacks critical details like rate limits, authentication requirements, cost implications, error handling, or output format. For a generative AI tool with potential side effects, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose and key features. It avoids redundancy and wastes no words, though it could be slightly more structured (e.g., separating purpose from constraints).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (generative AI with multiple parameters) and lack of annotations or output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., image data, file path), error conditions, or usage limits, leaving significant gaps for an agent to operate effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema—it mentions 'up to 4K resolution' and 'up to 14 reference images,' which are partially covered in the schema's descriptions. Baseline 3 is appropriate as the schema does most of the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Generate an image using Google Gemini 3.0 (Nano Banana Pro).' It specifies the verb ('Generate') and resource ('image'), and mentions key capabilities like resolution and reference images. However, it doesn't explicitly differentiate from sibling tools like 'describe_image' or 'edit_image' beyond the core generation function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings ('describe_image' and 'edit_image'). It mentions technical capabilities (e.g., up to 4K resolution, reference images) but doesn't indicate scenarios where this tool is preferred over alternatives or any prerequisites for use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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