Retrieve video task

Changed on

Poll a video generation task until it reaches completed, failed, or timeout.

get/videos/{id}

Request

  • Base URL
    https://api.llm7.io/v1
  • URL
    https://api.llm7.io/v1/videos/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Video task ID returned by POST /videos.

Response

Video task status

idstring required

Video task ID.

status'queued' | 'in_progress' | 'completed' | 'failed' | 'timeout' required

Video task status.

outputsstring[]

Completed output URLs. Empty or omitted until the task is completed.

Example response

{
  "id": "video_task_id",
  "status": "queued",
  "outputs": [
    "https://storage.example/output/video_task_id.mp4"
  ],
  "error": {
    "message": "Upstream generation failed."
  }
}

Changes

    • warning

      added the new timeout enum value to the response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status