ZvenoAI
API Reference

Get Video Job Status

GET
/v1/videos/{id}

Возвращает текущий статус и результат задачи видеогенерации. Status codes mirror OR GET /videos/{jobId}: 200, 401, 404, 500

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Public ID job'а (формат vj_)

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:8080/v1/videos/string"
{
  "id": "string",
  "polling_url": "string",
  "status": "string",
  "generation_id": "string",
  "unsigned_urls": [
    "string"
  ],
  "usage": {
    "cost": 0.1,
    "is_byok": true
  },
  "error": "string"
}
{
  "error": {
    "code": 0,
    "message": "string",
    "metadata": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "metadata": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": 0,
    "message": "string",
    "metadata": {
      "property1": null,
      "property2": null
    }
  }
}