Skip to content

Query Status

http
GET /v1/video/generations/{id}

Status Values

The unified retrieve endpoint reports data.status with uppercase task states:

StatusMeaning
NOT_START, SUBMITTED, QUEUEDQueued
IN_PROGRESSGenerating
SUCCESSCompleted
FAILUREFailed; see data.fail_reason

Official-compatible paths of some models (such as Seedance's /api/v3/contents/generations/tasks/{id}) use lowercase statuses queued / running / succeeded / failed; see each model's page for the mapping.

Response Fields

The unified retrieve endpoint returns the task status, result URL, charged quota, and public model information. Some video providers return token usage after the task completes; when the platform can read that data, the response includes usage.

FieldDescription
data.task_idTask ID
data.statusTask status
data.progressTask progress
data.result_urlVideo URL after completion
data.fail_reasonFailure reason when the task fails
data.quotaPlatform quota consumed by this task
data.properties.origin_model_namePublic model name requested by the client
data.usage.prompt_tokensInput tokens; may be 0 or the whole usage object may be omitted if the provider does not return usage
data.usage.completion_tokensOutput/generated tokens
data.usage.total_tokensTotal tokens
json
{
  "code": "success",
  "message": "",
  "data": {
    "task_id": "task_xxx",
    "status": "SUCCESS",
    "progress": "100%",
    "result_url": "https://example.com/video.mp4",
    "quota": 5635575,
    "properties": {
      "prompt": "Video generation prompt",
      "origin_model_name": "doubao-seedance-2.0"
    },
    "usage": {
      "prompt_tokens": 0,
      "completion_tokens": 731025,
      "total_tokens": 731025
    }
  }
}