AI Model APIImagesAsync Image Tasks
Get Image Task Status
Retrieve the current status and result of an image generation task by its ID.
Recommended polling interval: 3–5 seconds. Tasks typically complete within 30–90 seconds.
Authorization
BearerAuth
AuthorizationBearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Path Parameters
task_id*string
任务 ID(由提交接口返回的 id 字段)
Response Body
application/json
curl -X GET "https://loading/v1/image-tasks/string"{
"id": "string",
"status": "string",
"progress": "string",
"model": "string",
"created_at": 0,
"completed_at": 0,
"output": {
"url": "string"
},
"error": {
"code": "string",
"message": "string"
}
}How is this guide?