Skip to main content
Glama

Generate an image

flow_generate_image
Destructive

Create images from text prompts with Nano Banana models through Flow agent composer and download them to a specified folder. Supports preview before spending credits and resume for in-flight generations.

Instructions

Generate images through the Flow agent composer (Nano Banana models) and download them. Spends Flow credits when auto_confirm=true; auto_confirm=false prepares and verifies without sending. resume=true only waits for / downloads an in-flight generation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of images to request
modelNonano-banana-pro
ratioNo1:1
job_idNo
promptYes
resumeNo
output_dirYes
project_urlYes
auto_confirmNo
reference_imagesNoLocal image paths attached as visual references

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
filesYesAbsolute paths of downloaded outputs
modelYes
ratioYes
job_idYesPass back with resume=true to pick up this generation after a restart
promptYesThe exact instruction sent to the Flow agent
statusYes
durationNo
media_idsYes
elapsed_msYes
screenshotNo
approval_textYesText of the approval card if one was shown (contains the credit cost)
references_attachedYes
Install Server

TDQS

A3.5/5.0
Behavior4/5

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

It adds meaningful behavioral detail beyond the annotations by disclosing the credit-spending side effect and the 'prepares and verifies without sending' dry-run mode. This complements the destructiveHint/readOnlyHint annotations without contradicting them.

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

Conciseness5/5

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

Three compact sentences front-load the core action and then cover credit spending, dry-run behavior, and resume behavior. Every sentence carries operational weight with no filler.

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

Completeness3/5

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

For a 10-parameter open-world tool with destructive and cost implications, the description conveys the most important operational semantics and benefits from annotations and an output schema. Still, required-parameter meanings and prerequisites like an active Flow connection/project are left to inference, leaving clear gaps.

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

Parameters2/5

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

Schema description coverage is only 20%, and the description compensates mainly for auto_confirm and resume. It does not explain required parameters like prompt, project_url, and output_dir, nor does it add context for model, ratio, count, job_id, or reference_images beyond what their names/defaults imply.

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 opens with a specific action—generate and download images—and names the Flow agent composer (Nano Banana models) as the resource. It clearly separates image generation from the sibling video generation tool, though it does not explicitly distinguish itself from a download-only sibling like flow_media_download.

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

Usage Guidelines3/5

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

The description gives useful mode-based guidance: auto_confirm=false validates without spending credits, auto_confirm=true sends and spends, and resume=true only waits for/downloads an in-flight generation. However, it does not explicitly state when to prefer this tool over flow_media_download or what preconditions like an active Flow connection/project are needed.

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

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/ParkSangGwon/google-flow-mcp'

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