Alibaba Qwen Image 3.0 Generate

36积分/次
ae_alibaba_qwen_image_3_0_generate

Qwen Image 3.0 文生图。

图像
36积分/次

价格说明

36积分/次
条件费用
每次调用36积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
request_bodyobject是暂无参数说明。—
request_body.seedinteger否Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed)—
request_body.promptstring是Text prompt describing the desired image, supports Chinese and English (max 800 characters)—
request_body.resolutionenum (1k | 2k)否Output resolution tier. All tiers are billed at the same price.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)否The aspect ratio of the generated image. Defaults to 1:1.1:1
request_body.enable_prompt_expansionboolean否Whether to enable intelligent prompt expansionfalse

调用示例

生成白底翡翠绿数据管道等距插画并查询完成结果

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

先提交任务,再用返回的 task_id 查询,直至完成。

请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_alibaba_qwen_image_3_0_generate' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "aspect_ratio": "4:3",
      "prompt": "Minimal isometric illustration of a secure data pipeline, glowing nodes connected from a cloud server to ground receiving stations, thin emerald green lines, cool grey and white palette, pure white background, soft shadows, clean technical diagram style, no text, no letters, no watermark",
      "resolution": "1k"
    }
  }
}'
返回示例response.json
JSON部分内容
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "add33ccb-e275-4449-989f-b5d99c9f37f3"
}

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。