
🇨🇳 Chinese

🇨🇳 Chinese
- OpenAI
- Anthropic
- Suno(音乐)
- Udio(音乐)
- Midjourney API文档(生图)
- Flux(生图)
- Recraft(生图)
- Ideogram(生图)
- Luma(视频)
- 官方API格式接口
- RixAPI格式接口
- Runway(视频)
- PIKA(视频)
- 可灵API(官方接口)
- Replicate 通用接口
- MiniMax海螺(视频)
批量查询任务
POST
/luma/tasks
Last modified:2024-10-01 20:34:43
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
string
optional
Authorization
string
optional
Default:
{{YOUR_API_KEY}}
Body Params application/json
ids
array[string]
required
Example
{
"ids": [
"f4b6403a-f5f1-49b9-a6d2-6ce8c68cae0d"
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/luma/tasks' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [
"f4b6403a-f5f1-49b9-a6d2-6ce8c68cae0d"
]
}'
Responses
🟢200成功
application/json
Body
code
string
required
message
string
required
data
array [object {9}]
required
task_id
string
required
action
string
required
status
string
required
fail_reason
string
required
submit_time
integer
required
start_time
integer
required
finish_time
integer
required
progress
string
required
data
object
required
Example
{
"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
}
}
]
}
Modified at 2024-10-01 20:34:43