Skip to main content
Glama

generate_image_sync

Generate images synchronously from text prompts with Qwen-Image models. Returns results directly in one request, supporting multiple sizes and styles.

Instructions

Generate images synchronously using Qwen-Image 2.0 series (qwen-image-2.0-pro, qwen-image-2.0, qwen-image-max). One request returns result directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of images (1-6). Default: 1.
seedNoRandom seed [0, 2147483647].
sizeNoSize "width*height". Default 2048*2048. Options: 2688*1536, 1536*2688, 2048*2048, 2368*1728, 1728*2368.
modelNoModel name. Default: qwen-image-2.0-pro. Options: qwen-image-2.0-pro, qwen-image-2.0, qwen-image-max.
promptYesImage generation prompt. Chinese/English. Max 1300 tokens.
watermarkNoAdd watermark. Default: false.
prompt_extendNoIntelligent prompt rewriting. Default: true.
negative_promptNoNegative prompt. Max 500 chars.
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It mentions synchronous execution and direct return, but lacks details on rate limits, auth requirements, mutation side effects, or potential errors. For a generation tool, this is insufficient transparency.

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?

Two efficient sentences: first clearly states purpose and models, second adds synchronous behavior. No wasted words. Front-loaded with key information.

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

Completeness3/5

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

While parameters are well-specified in schema, the description lacks clarity on return value format (e.g., image URL or base64). Given no output schema, this gap reduces completeness for an agent to correctly process the response.

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% with each parameter described. The description adds the context of the model series and synchronous nature but does not enhance meaning for individual parameters beyond schema. Baseline 3 is appropriate.

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 synchronously using Qwen-Image 2.0 series', specifying the action (generate images), the resource (images via specific model series), and the modality (synchronous). This distinguishes it from sibling tools like generate_image_async.

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 synchronous usage ('returns result directly'), providing some context but does not explicitly state when to use this tool over alternatives (e.g., async generation or task status checking). No when-not-to-use or prerequisite guidance is given.

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/yingcaihuang/qwen-image-mcp'

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