Alibaba Qwen Image 3.0 Pro Generate

From 48 credits/call
ae_alibaba_qwen_image_3_0_pro_generate

Qwen Image 3.0 Pro text to image. Use when a prompt should produce a new image.

Image
From 48 credits/call

Pricing

From 48 credits/call
ConditionCharge
1K48 credits/call
2K90 credits/call

Charges follow the selected settings and the rates below.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedintegerNoRandom seed for reproducibility (-1 for random, 0-2147483647 for specific seed)—
request_body.promptstringYesText prompt describing the desired image, supports Chinese and English (max 800 characters)—
request_body.resolutionenum (1k | 2k)NoOutput resolution tier used for billing.1k
request_body.aspect_ratioenum (1:1 | 1:2 | 2:1 | 1:3 | 3:1 | 2:3 | 3:2 | 3:4 | 4:3 | 4:5 | 5:4 | 9:16 | 16:9 | 9:21 | 21:9)NoThe aspect ratio of the generated image. Defaults to 1:1.1:1
request_body.enable_prompt_expansionbooleanNoWhether to enable intelligent prompt expansionfalse

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_alibaba_qwen_image_3_0_pro_generate' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "aspect_ratio": "16:9",
      "enable_prompt_expansion": false,
      "prompt": "真人实拍质感的仙侠场景空镜,画面中没有任何人物。海拔极高的孤峰顶,一块天然岩石平台约三丈见方,地面为灰白色粗粝岩石,石缝中长着枯黄野草与两丛矮松,平台边缘碎石松动。平台正中偏南放置一块圆形青玉盘石,直径一丈、厚半尺,表面刻有九圈同心聚灵符纹,符纹呈暗青色凹刻、未发光。平台东、北两侧是断崖,崖外翻涌低垂的云海,白色云絮被大风卷上平台擦过地面。西侧是一面湿黑岩壁,挂满枯藤。南侧完全敞开,天光直落。清晨光线,冷白偏暖的日光从南侧斜射,在岩石与盘石上打出薄金边;云海反光自下而上补光,形成由下往上的柔和反光。极大风力,草与藤被吹向一侧。盘石四周有一圈被长年踩实、颜色略深的浮土。电影级广角构图,低机位,浅雾,写实材质,冷调仙侠。",
      "resolution": "2k"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "90ced071-7dda-4300-b1c8-b2b848927c5f"
}

This example shows part of the response. Copied content is valid JSON.