Skip to main content
Glama

generate_image_async

Submit asynchronous image generation prompts to Qwen models. Returns a task ID for polling results.

Instructions

Submit async image generation task (qwen-image-plus, qwen-image). Returns task_id for polling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoRandom seed [0, 2147483647].
sizeNoSize. Options: 1664*928 (16:9), 1472*1104 (4:3), 1328*1328 (1:1), 1104*1472 (3:4), 928*1664 (9:16). Default: 1664*928.
modelNoModel. Default: qwen-image-plus. Options: qwen-image-plus, qwen-image.
promptYesImage generation prompt. Max 800 chars.
watermarkNoAdd watermark. Default: false.
prompt_extendNoIntelligent prompt rewriting. Default: true.
negative_promptNoNegative prompt. Max 500 chars.
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses async behavior and polling, but lacks details on side effects, rate limits, or failure handling. Minimal but not misleading.

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 extremely concise, front-loaded with purpose, and contains no extraneous words.

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?

For a tool with 7 parameters and no output schema, the description covers the essential async polling workflow but omits error handling, timeouts, and result format. Adequate given sibling tools for check and download.

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 description coverage is 100%, so the description adds no extra parameter meaning. Baseline of 3 is appropriate; the description does not enhance understanding beyond the schema.

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 action (submit async image generation task) and the resource (qwen-image-plus, qwen-image), and distinguishes it from siblings like generate_image_sync by specifying async and returning task_id for polling.

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 implies usage for non-blocking generation and mentions polling, but does not explicitly compare to generate_image_sync or provide when-not-to-use scenarios. Context signals list siblings, aiding inference.

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