task_id
from the Video Generation endpoint.{
"task_id": "There is no body text"
}
curl --location --request GET 'https://api.piapi.ai/api/luma/v1/video/' \
--header 'X-API-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"task_id": "There is no body text"
}'
{
"code": 200,
"data": {
"task_id": "2b42687a-3940-4b94-9799-d8c562b31666",
"input": "{\"aspect_ratio\":\"16:9\",\"expand_prompt\":false,\"user_prompt\":\"daft punk in london\"}",
"status": "pending",
"metadata": {
"created_at": "2024-06-25T10:10:23.403766948Z",
"started_at": "2024-06-25T10:10:23.691080547Z",
"ended_at": "0001-01-01T00:00:00Z",
"quota_frozen": 30,
"quota_usage": 0
},
"generation": {
"id": "2db16aaa-6f83-4ec4-860c-3b7742bff666",
"prompt": "steam punk in the future",
"state": "pending",
"created_at": "2024-06-25T10:10:25.135Z",
"video": null,
"like": null,
"estimate_wait_seconds": null
}
},
"message": "success"
}