cURL
Qwen-MT-Image
创建图像翻译任务
提交 qwen-mt-image 图像翻译异步任务
cURL
复制
curl --location 'https://maas.qianwenaiapi.com/api/v1/services/aigc/image2image/image-synthesis' \
--header 'X-DashScope-Async: enable' \
--header "Authorization: Bearer $DASHSCOPE_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"model": "qwen-mt-image-2.0",
"input": {
"image_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250916/ordhsk/1.webp",
"source_lang": "zh",
"target_lang": "en",
"ext": {
"config": {
"imageSegment": false
}
}
}
}'复制
{
"request_id": "<string>",
"output": {
"task_id": "<string>",
"task_status": "PENDING"
}
}