API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. Get task
API reference
🇺🇸 English
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • Chat Models
    • Chat
      • Create chat completion
      • vision
    • OpenAI-Realtime
    • Completions
      • Instruct
    • Audio
      • Transcriptions
      • Translations
      • Speech
    • Image generation
      • DALL·E 3
    • Embeddings
      • Create
    • Models
      • model list
    • Help
      • 常见问题及解决办法
  • Anthropic
    • Anthropic Claude
      POST
  • Suno
    • Generate music
      POST
    • Generate lyrics
      POST
    • Upload music
      POST
    • Music concat
      POST
    • Fetch task
      GET
    • Fetch batch tasks
      POST
  • Udio
    • Generate music
      POST
    • Fetch task
      GET
  • Midjourney API
    • Quick
    • Task Submit
      • Imagine
      • Action
      • Modal
      • Blend
      • Describe
      • Shorten
      • Upload discord
    • Get Task
      • Fetch task by ids
      • Fetch task by id
      • Get seed
  • Flux
    • Official
      • Generate
      • Finetune
      • Fetch task
    • OpenAI Dalle3
  • Recraft
    • Official
      • Generate Image
      • Vectorize Image
      • Remove Background
      • Clarity Upscale
      • Generative Upscale
      • Create style
    • OpenAI Dalle3
  • Ideogram
    • Generate
    • Remix
    • Edit
    • Upscale
    • Describe
  • Luma
    • Official
      • Generate
      • Fetch task
    • Own format
      • Submit
        • Generate
        • Get video of no mark
        • 扩展视频
      • Get task
        • Get task
          GET
        • Get batch task
          POST
  • Runway
    • Official
      • image to video
      • get task
    • reverse
      • text to video
      • image to video
      • video2video
      • Act-one
      • Get task
  • Kling-API
    • Callback
    • Generate image
    • Text 2 Video
    • Image 2 Video
    • Video extend
    • Get task
    • lip-sync
    • kolors-virtual-try-on
  • Replicate
    • Generate
    • Get
  • MiniMax
    • Generate video
    • Get task
    • Get file
  1. Get task

Get batch task

POST
/luma/tasks
Last modified:2025-02-05 11:31:32

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
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
      }
    }
  ]
}
Previous
Get task
Next
image to video
Built with