Models Hub
API ReferenceVideo

Query video generation task.

Query the status and results of a `/v1/video/generations` video task.

Edit this page
GET
/v1/video/generations/{task_id}

Path Parameters

task_id*string

Video generation task ID.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/video/generations/task_123456"
{
  "id": "task_123456",
  "task_id": "task_123456",
  "object": "video.generation",
  "status": "succeeded",
  "model": "string",
  "created_at": 0,
  "updated_at": 0,
  "url": "http://example.com",
  "content_url": "http://example.com",
  "output": [
    {}
  ],
  "error": {}
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "request_id": "string"
  }
}