查询视频生成任务列表-默认

GET /volc/v1/contents/generations/tasks

MethodGET
Path/volc/v1/contents/generations/tasks
Typehttp
Status1
Module2102810
Folder66709190

概览

MethodGET
Path/volc/v1/contents/generations/tasks
Typehttp
Status1
Module2102810
Folder66709190

参数

{
  "query": [
    {
      "id": "WnNkuaN7ib",
      "name": "page_size",
      "required": false,
      "description": "",
      "enable": true,
      "type": "string",
      "sampleValue": "3"
    },
    {
      "id": "7j3KOmVWvH",
      "name": "filter.status",
      "required": false,
      "description": "",
      "enable": true,
      "type": "string",
      "sampleValue": "succeeded"
    }
  ]
}

请求体

{
  "type": "none",
  "parameters": [],
  "mediaType": "",
  "examples": [],
  "oasExtensions": ""
}

响应

[
  {
    "id": 771394311,
    "name": "成功",
    "code": 200,
    "contentType": "json",
    "jsonSchema": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "model": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "content": {
                "type": "object",
                "properties": {
                  "video_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "video_url"
                ]
              },
              "usage": {
                "type": "object",
                "properties": {
                  "completion_tokens": {
                    "type": "integer"
                  },
                  "total_tokens": {
                    "type": "integer"
                  }
                },
                "required": [
                  "completion_tokens",
                  "total_tokens"
                ]
              },
              "created_at": {
                "type": "integer"
              },
              "updated_at": {
                "type": "integer"
              }
            },
            "required": [
              "id",
              "model",
              "status",
              "content",
              "usage",
              "created_at",
              "updated_at"
            ]
          }
        }
      },
      "required": [
        "total",
        "items"
      ]
    },
    "itemSchema": {},
    "description": "",
    "mediaType": "",
    "headers": []
  }
]