跳转到内容
返回主页

Qwen Image Edit Plus

qwen_image_edit_plus

Qwen Image Edit Plus 支持多图输入和输出,可精准修改图中文字,支持添加、删除或移动物体,改变主体动作,实现图像风格迁移,并增强画面细节。

POST /v1/queue/qwen_image_edit_plus # 创建任务
GET /v1/queue/qwen_image_edit_plus/requests/{request_id}/status # 查询状态
GET /v1/queue/qwen_image_edit_plus/requests/{request_id}/response # 获取结果
PUT /v1/queue/qwen_image_edit_plus/requests/{request_id}/cancel # 取消任务
Terminal window
curl --location "https://cloud.seaart.ai/model/v1/queue/qwen_image_edit_plus" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"prompt": "A red apple on a white table, clean studio lighting, simple background.",
"images": [
"https://image.cdn2.seaart.me/2026-06-01/d8ejq1de878c739e2lrg/995ff4fe1eeec10a06c3c7a172862733.webp"
]
}'
prompt string 必填

正向提示词,用于描述期望生成的图像内容、风格和构图。支持中英文,长度不超过 800 Token,超过部分会自动截断

images string[] 必填

输入图像 URL 或 Base64 编码数据列表,支持传入 1-3 张图像。多图输入时按数组顺序定义图像顺序,输出图像比例以最后一张为准

图像格式支持:JPGJPEGPNGBMPTIFFWEBPGIF

GIF 动图仅处理第一帧;图像宽高建议在 384-3072 像素之间,大小不超过 10MB

negative_prompt string

反向提示词,用于描述不希望在画面中出现的内容。支持中英文,长度上限 500 个字符,超过部分会自动截断

size string

设置输出图像分辨率,格式为 宽*高,例如 1024*1536。若不设置,输出图像将保持与输入图像(多图输入时为最后一张)相似的宽高比,总像素数接近 1024*1024

范围:宽和高均为 512 - 2048 像素;指定后会调整为最接近的 16 的倍数

n int

输出图像数量

范围:1 - 6

默认值:1

prompt_extend bool

是否开启提示词智能改写。开启后模型会优化正向提示词,对描述较简单的提示词效果提升明显

默认值:true

watermark bool

是否在图像右下角添加 Qwen-Image 水印

默认值:false

seed int

随机数种子,用于提升生成结果的可复现性。模型生成过程具有概率性,即使使用相同 seed,也不能保证每次结果完全一致

范围:0 - 2147483647

{
"request_id": "mmsu_01hxyz...",
"response_url": "https://cloud.seaart.ai/model/v1/queue/qwen_image_edit_plus/requests/mmsu_01hxyz.../response",
"status_url": "https://cloud.seaart.ai/model/v1/queue/qwen_image_edit_plus/requests/mmsu_01hxyz.../status",
"cancel_url": "https://cloud.seaart.ai/model/v1/queue/qwen_image_edit_plus/requests/mmsu_01hxyz.../cancel",
"queue_position": 0
}
字段类型说明
request_idstring任务 ID,后续查询、获取结果和取消都使用它
response_urlstring获取最终结果的 URL
status_urlstring查询任务状态的 URL
cancel_urlstring取消任务的 URL
queue_positionint队列位置