Skip to main content
Glama

Generate Image (MiniMax)

minimax_image_generate

Produce images from textual descriptions with configurable aspect ratios, batch generation, and character reference for image-to-image. Saves results to local files.

Instructions

Generate images from text prompts using MiniMax's image-01 model. Supports multiple aspect ratios, batch generation (1-9 images), image-to-image with character references, prompt optimization, and seed-based reproducibility. Images are saved to disk and file paths are returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNúmero de imagens a gerar (1-9). Usar 9 é 8× mais rápido que 9 chamadas separadas.
seedNoSeed para reprodutibilidade. Mesmo seed + mesmos parâmetros = mesma imagem.
promptYesDescrição da imagem a gerar. Máximo 1500 caracteres.
output_dirNoDiretório para salvar imagens. Padrão: ./output/ ou MINIMAX_OUTPUT_DIR
aspect_ratioNoProporção da imagem. Opções: 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:91:1
response_formatNoFormato de resposta. 'base64' para persistência (recomendado), 'url' expira em 24h.base64
prompt_optimizerNoAtiva otimização automática do prompt. Pode adicionar elementos extras.
subject_referenceNoImagens de referência para Image-to-Image. Mantém identidade visual do personagem.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
failuresNo
metadataYes
file_pathsYes
image_countYes
saved_countYes
Behavior5/5

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

The description discloses key behavioral traits: images are saved to disk (mutation), file paths are returned, and seed-based reproducibility is possible. This goes beyond the annotations (readOnlyHint: false, destructiveHint: false) by explaining the side effect and return format. No contradictions with annotations are present.

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?

The description is a single paragraph of three sentences, front-loading the core purpose. Every sentence adds value: core action, supported features, and side effect/return. No superfluous information.

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, 1 required) and the presence of an output schema, the description adequately covers the essential context: it states the side effect (disk saving) and return value (file paths). The agent has enough information to invoke the tool correctly.

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 the baseline is 3. The description mentions features like batch generation and aspect ratios, but these correspond directly to parameters (n, aspect_ratio) already documented in the schema. It adds no new semantic meaning beyond summarizing capabilities.

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 'Generate images from text prompts using MiniMax's image-01 model', providing a specific verb and resource. It lists key capabilities such as aspect ratios, batch generation, and image-to-image, which distinguish it within the context of image generation tools.

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

Usage Guidelines4/5

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

While no sibling tools are listed for comparison, the description implicitly defines when to use this tool: for image generation with specific features like batch, aspect ratios, and character references. It does not explicitly state when not to use it or provide alternatives, but the context is clear enough for an agent.

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/alexlivre/minimax-image-mcp'

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