PloyMind 文档
AI 模型接口视频(Videos)Sora格式

获取视频任务状态

调用前,请按本页的鉴权说明填入 API Key。请求包含 model 时,从模型列表选择可用的模型 ID。

OpenAI 兼容的视频任务状态查询接口。

返回视频任务的详细状态信息。

GET/v1/videos/{task_id}

Authorization

BearerAuth

AuthorizationBearer <token>

使用 Bearer Token 认证。 格式: Authorization: Bearer sk-xxxxxx

In: header

Path Parameters

task_id*string

视频任务 ID

Response Body

application/json

application/json

curl -X GET "https://newapi.ploymind.com/v1/videos/string"
{
  "id": "string",
  "object": "string",
  "model": "string",
  "status": "string",
  "progress": 0,
  "created_at": 0,
  "seconds": "string"
}
{
  "error": {
    "message": "string",
    "type": "string",
    "param": "string",
    "code": "string"
  }
}