Skip to main content
Glama

generate_image

Create images from text descriptions with adjustable aspect ratios and styles, including slide and fintech themes for use in presentations.

Instructions

Generate image(s) from a text prompt at the given aspect ratio (16:9, 1:1, 3:4, 9:16, or WxH). Returns saved PNG file paths.

When enhance is True (default), the prompt is auto-expanded via the ChatGPT
text path before drawing. style='slide' = clean editorial slide (light cream,
one accent, hero visual); style='fintech' = premium light-blue dashboard look
(glass cards, blue icon badges, optional robot + charts). Both auto-complete
content into a full, information-rich slide (label + 2-line description per
point, sparse input expanded). style='auto' is the general default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
aspectNo16:9
nNo
out_dirNoout
enhanceNo
styleNoauto
Behavior4/5

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

No annotations provided, but the description discloses the auto-expansion behavior when 'enhance' is True and explains the style behaviors. It also states the output format (PNG file paths). Does not cover auth or rate limits, but reasonable for this tool.

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 well-structured with clear sections for aspect ratios and styles, but somewhat long. Core purpose is front-loaded. Could be slightly more concise by moving style details to secondary position.

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

Completeness4/5

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

Given no output schema and 6 parameters, the description covers input, key behaviors, and output format. Missing details on aspect format constraints and error handling, but generally complete.

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

Parameters4/5

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

Schema has 0% description coverage; the description compensates by explaining 'prompt', 'aspect' with examples, 'enhance', 'style'. However, 'out_dir' is not explained, and 'n' is only implicitly mentioned.

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 the tool generates image(s) from a text prompt with given aspect ratio and returns PNG file paths. It distinguishes from sibling tools like 'styled_deck' which are deck-focused.

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?

The description explains when to use 'enhance' and describes specific styles ('slide', 'fintech'), but does not explicitly state when not to use this tool or compare to alternatives like 'styled_deck'.

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/vuhai2002/ai-slides-mcp'

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