Alibaba Qwen Image 3.0 Edit

From 39.6 credits/call
ae_alibaba_qwen_image_3_0_edit

Qwen Image 3.0 image editing. Use when one to three reference images should be edited using a text instruction.

Image
From 39.6 credits/call

Pricing

From 39.6 credits/call
ConditionCharge
1 input image39.6 credits/call
2 input images43.2 credits/call
3 input images46.8 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.imagesarrayYesReference images for editing (1-3 images, 384-2048px each dimension)—
request_body.promptstringYesText prompt describing the desired edit, 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. If not specified, it is determined automatically from the input image.—
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_edit' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "enable_prompt_expansion": false,
      "images": [
        "https://agentearth.ai/fileserver/file/47ddb828-5ff1-409a-acf7-a6fe758a11aa.png"
      ],
      "prompt": "请把这张科研流程图几乎逐像素地复制一遍:严格保持四阶段横排布局、每个分组框的位置与大小、所有图标、箭头方向与粗细、所有文字标签、公式与配色完全不变。只做三件事:(1) 提升分辨率,让所有线条锐利、文字清晰可读;(2) 修正模糊、锯齿、断线和低清压缩痕迹;(3) 保持纯白背景干净。禁止新增、删除、移动或改写任何元素,禁止改变任何文字内容与拼写,禁止添加阴影、渐变、立体效果、装饰、水印或 logo。输出为学术期刊风格的干净扁平信息图,宽高比与原图一致。",
      "resolution": "2k",
      "seed": 42
    }
  }
}'
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": "9d323ba6-cf88-4cb5-9536-9c6092d593b8"
}

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