Skip to main content
Glama
ImageAPIAI

ImageAPI AI MCP Server

Official
by ImageAPIAI

generate_image

Generate high-resolution AI images from text prompts, adjusting size and quality as needed. Uses ImageAPI credits.

Instructions

Generate a fresh high-resolution AI image from a text prompt. Deducts credits from your ImageAPI account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNoImage width in pixels (Default: 512). Range: 256 to 2048.
heightNoImage height in pixels (Default: 512). Range: 256 to 2048.
promptYesThe detailed text prompt describing the image to generate.
qualityNoInference quality level (Default: medium).medium
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It discloses a key side effect—credit deduction from the ImageAPI account—which is valuable. However, it doesn't mention other behaviors like output format, storage, or any limitations beyond credits.

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 well-structured sentence with no fluff. It front-loads the primary action ('Generate a fresh high-resolution AI image') and includes the key side effect efficiently.

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?

With no output schema and no annotations, the description should explain what the tool returns (e.g., URL, file object) or any prerequisites. It omits this entirely, leaving the agent without critical information about the tool's result. The credit deduction is helpful but insufficient for full contextual understanding.

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 adds minimal parameter meaning beyond the schema, only mentioning 'text prompt' and 'high-resolution' without further detail. No additional context is provided for width, height, or quality.

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 uses a specific verb ('Generate') and resource ('AI image'), clearly distinguishing this tool from siblings like 'refine_image' by specifying 'fresh' from a text prompt. It unambiguously states the core function.

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 implies usage for creating new images from prompts, but does not explicitly contrast with alternatives like refine_image. No when-to-use or when-not-to-use guidance is provided beyond the basic action.

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/ImageAPIAI/imageapiai-mcp'

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