Skip to main content
Glama

flow_generate_image

Generate images from text prompts with options for model selection, aspect ratio, and reference images. Automates browser interaction to produce and download image files.

Instructions

⚠️ CES IMAGES CONSOMMENT DES CRÉDITS. Par défaut (auto_confirm=false): remplit le prompt, sélectionne le modèle/ratio, prend un screenshot et retourne "ready_for_confirmation". NE clique PAS sur Generate. Quand auto_confirm=true: vérifie d'abord que l'interface est bien en mode IMAGE (pas Vidéo), que le modèle est un modèle image, prend un screenshot de vérification, PUIS clique Generate, attend les images et les télécharge. NAN/BANANA modèles image seulement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe text prompt for image generation.
modelNoModel to use: Nano Banana Pro, Nano Banana 2, or Imagen 4.Nano Banana 2
auto_confirmNo⚠️ CRÉDITS. Si false (défaut): prépare seulement, ne consomme rien. Si true: vérifie que le mode Image est actif, PUIS clique Generate (consomme des crédits).
ratioNoAspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4.1:1
reference_imagesNoPaths to reference images (optional).
brandNoBrand context for automatic model selection: premium, standard.
project_nameNoName for the project (will reuse existing project with same campaign, or create new).
campaignNoCampaign identifier for project matching (e.g., "ete-2026", "nouvelle-collection").
Behavior5/5

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

The description fully discloses behavior: for auto_confirm=false, it fills prompt, selects model/ratio, takes screenshot, returns 'ready_for_confirmation'. For auto_confirm=true, it verifies interface mode, model, takes verification screenshot, then clicks Generate, waits, and downloads. Warns about credit consumption. No annotations to contradict.

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 relatively long but every sentence provides necessary detail. It front-loads the credit warning and uses bullet-like structure with punctuation. Some redundancy could be trimmed, but overall efficient.

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

Completeness5/5

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

Given the tool's complexity (8 parameters, no output schema), the description comprehensively covers behavior, prerequisites, side effects (credit consumption), and distinguishes between preparation and execution modes. No gaps.

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 coverage is 100%, so baseline is 3. The description adds credit warning for auto_confirm and context for brand and project_name, but most parameters are already well-described in the schema.

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

Purpose5/5

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

The description clearly states it generates images, with specific verb 'generate' and resource 'image'. It distinguishes between two modes (preparation vs. execution) and implicitly differentiates from video generation by mentioning checking for IMAGE mode.

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

Usage Guidelines5/5

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

Explicit usage guidance: auto_confirm=false prepares only, no credit consumption; auto_confirm=true executes generation and consumes credits. Also instructs to verify mode is IMAGE, not Video, and that model must be an image model.

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

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