批量获取任务
POST
{{BASE_URL}}/luma/tasks最后修改时间: 5 天前
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数text/plain
示例值:{
"ids": ["1a55fb08-ee53-4372-b480-b40580346d05"]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"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
}
}
]
}
最后修改时间: 5 天前