Skip to main content
GET
/
v1
/
videos
列出视频任务
curl --request GET \
  --url https://models.kapon.cloud/v1/videos \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "video_691209aab0a08198a4e78870277f7e3d0215e09cec47a737",
      "object": "video",
      "created_at": 1762789802,
      "status": "success",
      "model": "sora-2",
      "prompt": "百事可乐宣传片",
      "progress": 100,
      "seconds": "8",
      "size": "720x1280"
    }
  ]
}
通过 GET /v1/videos 获取当前账号下的视频任务列表。
curl "https://models.kapon.cloud/v1/videos?limit=10&order=desc" \
  -H "Authorization: Bearer $TOKEN"

查询参数

  • after:分页游标
  • limit:返回数量上限
  • order:排序方向,例如 ascdesc

响应示例

{
  "object": "list",
  "data": [
    {
      "id": "video_691209aab0a08198a4e78870277f7e3d0215e09cec47a737",
      "object": "video",
      "created_at": 1762789802,
      "status": "success",
      "model": "sora-2",
      "prompt": "百事可乐宣传片",
      "progress": 100,
      "seconds": "8",
      "size": "720x1280"
    }
  ]
}

Authorizations

Authorization
string
header
required

使用 API Key 作为 Bearer Token

Query Parameters

after
string

分页游标

limit
integer

返回数量上限

Required range: x >= 1
order
string

排序方向

Example:

"desc"

Response

200 - application/json

查询成功

object
string
Example:

"list"

data
object[]