跳转到主要内容
GET
/
api
/
open-api
/
v1
/
images
/
{taskId}
Query Image Task
curl --request GET \
  --url https://www.jimmyai.cn/api/open-api/v1/images/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "code": "20000",
  "msg": "ok",
  "data": {
    "task_id": "<string>",
    "status": "<string>",
    "progress": 123,
    "model": "<string>",
    "created_at": 123,
    "completed_at": 123,
    "result": {
      "video_url": "<string>",
      "image_url": "<string>"
    },
    "error_message": "<string>"
  }
}
图片下载地址(image_url)的保存有效期为 3天,请及时转存。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

taskId
string
必填

The ID of the task to query

响应

200 - application/json

Task status and result

code
string
示例:

"20000"

msg
string
示例:

"ok"

data
object