Skip to main content
Glama
ShunL12324
by ShunL12324

generate_image

Create photorealistic product images from text descriptions. Choose from five aspect ratios and receive high-resolution WebP output with AI quality review.

Instructions

Generate photorealistic product images from text descriptions using Imagen AI. Supports 5 aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4), outputs high-res WebP with AI quality review.

Prompt structure: [Subject] + [Background] + [Style/modifiers] Example: 'Red ceramic mug, white background, studio lighting, macro lens, sharp focus, 4K'

Modifiers: camera angles (aerial/45-degree/eye level), lighting (natural/studio/dramatic), focus (sharp/soft/depth of field), lenses (macro/wide-angle), quality enhancers (4K/photorealistic/professional).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesDetailed product image description (max 480 tokens). Follow the 3-element structure: [Subject details] + [Background/environment] + [Photography style/modifiers]. Example: 'Sleek silver smartwatch with black band, clean white background, studio lighting with soft shadows, macro lens, sharp focus, professional product photography, 4K quality'
aspect_ratioNoAspect ratio for the output image. Options: '1:1' (1024x1024 square), '16:9' (~1408x768 wide), '9:16' (~768x1408 portrait), '4:3' (~1280x896 standard), '3:4' (~896x1280 portrait). Default: '1:1'
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses useful traits: output format (high-res WebP), AI quality review, supported aspect ratios, and accepted photography modifiers. It leaves some ambiguity about how the generated image is returned or what happens if quality review fails, but covers the core behavior.

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 well-organized into overview, prompt structure/example, and modifiers, with no filler. It front-loads the purpose and output constraints, and every section adds practical value for invocation.

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?

For a 2-parameter tool with 100% schema coverage and no output schema, the description is largely complete: it covers prompt construction, modifiers, aspect ratios, and output format. It does not fully explain return mechanics or explicitly distinguish when to prefer specialized sibling generators, so it is not a 5.

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 coverage is 100%, so the baseline is 3, but the description goes beyond the schema by defining a prompt structure and listing camera angles, lighting, focus, lens, and quality-enhancer options. This gives the agent practical guidance for constructing the description parameter, while aspect_ratio is already fully documented in the enum.

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?

States a specific verb and resource: 'Generate photorealistic product images from text descriptions using Imagen AI.' It also names concrete capabilities (5 aspect ratios, high-res WebP output) that set it apart from sibling edit/crop/clean tools and from specialized jewelry generators.

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 opening sentence provides a clear use case: create a new photorealistic product image from text. The prompt-structure guidance further clarifies how to use it. It does not explicitly name sibling alternatives or when-not-to-use cases, so it stops short of a 5.

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/ShunL12324/image-edit-mcp'

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