Skip to main content

Video Task Query Alias

GET /v1/video/generations/{task_id}
Use this route to query tasks created through the compatibility video-generation path. It is the matching query alias for /v1/video/generations.

Authentication

Authorization: Bearer YOUR_API_KEY

Request Example

cURL
curl https://crazyrouter.com/v1/video/generations/video_task_abc123   -H "Authorization: Bearer YOUR_API_KEY"

Typical Success Response

{
  "id": "video_task_abc123",
  "status": "completed",
  "video_url": "https://example.com/video.mp4"
}

Missing-Task Response Verified Locally

On the local http://127.0.0.1:4000 environment, querying a nonexistent task returns:
{
  "code": "task_not_exist",
  "message": "task_not_exist",
  "data": null
}

Common Status Values

StatusDescription
processingTask is running
completedTask finished successfully
failedTask failed
Final result fields can vary slightly by video model and upstream provider. The safest operational pattern is to keep creation and query requests on the same compatibility path family.