Alibaba Qwen Image 3.0 Edit
39.6积分/次起
ae_alibaba_qwen_image_3_0_edit
Qwen Image 3.0 图像编辑。
39.6积分/次起
价格说明
39.6积分/次起
| 条件 | 费用 |
|---|---|
| 1 张输入图 | 39.6积分/次 |
| 2 张输入图 | 43.2积分/次 |
| 3 张输入图 | 46.8积分/次 |
按所选档位及计费规则收费。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.seed | integer | 否 | Random seed for reproducibility (-1 for random, 0-2147483647 for specific seed) | — |
request_body.images | array | 是 | Reference images for editing (1-3 images, 384-2048px each dimension) | — |
request_body.prompt | string | 是 | Text prompt describing the desired edit, supports Chinese and English (max 800 characters) | — |
request_body.resolution | enum (1k | 2k) | 否 | Output resolution tier used for billing. | 1k |
request_body.aspect_ratio | enum (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. If not specified, it is determined automatically from the input image. | — |
request_body.enable_prompt_expansion | boolean | 否 | Whether to enable intelligent prompt expansion | false |
调用示例
提交任务并查询完成结果
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_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.json
{
"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"
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。







