查询单个任务
GET
{{BASE_URL}}/luma/generations/{task_id}修改时间: 19 天前
vip 账号的会在 video. download_url 返回 无水印地址,有时可能为空,需要另外从 无水印接口获取
请求参数
Path 参数
task_id
string
任务ID
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"id": "9d4b7516-77e5-481a-b015-48313946f33b",
"liked": null,
"state": "completed",
"video": {
"url": "https://storage.cdn-luma.com/dream_machine/f66925e5-7ca7-40d2-9138-2ce7843c1fa3/watermarked_video0dbcbf225e384493ca489fdc5028764bf.mp4",
"width": 1360,
"height": 752,
"download_url": "https://dc53a917a6f427706a8ca3ecc7d70ea4.r2.cloudflarestorage.com/ai-lumalabs-storage/dream_machine/f66925e5-7ca7-40d2-9138-2ce7843c1fa3/c9771d2b-9e05-46cf-b21a-45e22ec28f36_raw_video_0.mp4_video0dbcbf225e384493ca489fdc5028764bf.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=60bf44f30d45b472f9dd032de33e15d1%2F20240823%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20240823T102426Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=d858cd9fd9408e636ae64b8af7166c19db37a46cf600e9c85fc2bb73127d0ec1"
},
"prompt": "cat dance",
"created_at": "2024-07-01T07:35:13.498000Z",
"estimate_wait_seconds": null
}
修改于 19 天前