批量查询任务
POST
/luma/tasks请求参数
Body 参数application/json
ids
array[string]
必需
示例
{
"ids": [
"f4b6403a-f5f1-49b9-a6d2-6ce8c68cae0d"
]
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
string
必需
data
array [object {9}]
必需
task_id
string
必需
action
string
必需
status
string
必需
fail_reason
string
必需
submit_time
integer
必需
start_time
integer
必需
finish_time
integer
必需
progress
string
必需
data
object
必需
示例
{
"code": "success",
"message": "",
"data": [
{
"id": 13917,
"created_at": "2024-07-01T07:35:13.568Z",
"updated_at": "2024-07-01T07:35:23.654Z",
"task_id": "9d4b7516-77e5-481a-b015-48313946f33b",
"platform": "luma_free",
"action": "LUMA_VIDEO",
"status": "IN_PROGRESS",
"fail_reason": "",
"submit_time": 1719819313,
"start_time": 1719819323,
"finish_time": 0,
"data": {
"id": "9d4b7516-77e5-481a-b015-48313946f33b",
"liked": null,
"state": "processing",
"video": null,
"prompt": "cat dance",
"created_at": "2024-07-01T07:35:13.498000Z",
"estimate_wait_seconds": null
}
}
]
}
最后修改时间: 2 个月前