跳转到主要内容
图像擦除补全

图像擦除补全 — 查询结果

根据任务ID查询异步擦除补全任务的状态和结果

GET
/tasks/{task_id}
curl
curl -X GET \
--header "Authorization: Bearer $DASHSCOPE_API_KEY" \
https://dashscope.aliyuncs.com/api/v1/tasks/53950fb7-281a-4e60-b543-xxxxxxxxxxxx
{
  "request_id": "b67df059-ca6a-9d51-afcd-9b3c4456b1e2",
  "output": {
    "task_id": "53950fb7-281a-4e60-b543-xxxxxxxxxxxx",
    "task_status": "SUCCEEDED",
    "submit_time": "2024-05-16 13:50:01.247",
    "scheduled_time": "2024-05-16 13:50:01.354",
    "end_time": "2024-05-16 13:50:27.795",
    "output_image_url": "http://xxx/result.png"
  },
  "usage": {
    "image_count": 1
  }
}

鉴权

string
header
必填

千问云 API Key。详见获取 API Key

路径参数

string
必填

任务ID,从创建任务接口的返回结果中获取。

响应

200-application/json
string

请求唯一标识。

object
object

计量信息。仅在任务成功时返回。