众扬汇 AI 开放平台 API 文档

视频延长查询任务(免费)

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: "本页接口说明详见下方接口定义;参数取值与返回以本平台实测为准。"
  version: 1.0.0
paths:
  /kling/v1/videos/video-extend/{task_id}:
    get:
      summary: 视频延长查询任务(免费)
      deprecated: false
      description: "本页接口「视频延长查询任务(免费)」对应 GET /kling/v1/videos/video-extend/{task_id}(归属:快手可灵(官方格式))。"
      tags:
        - 快手可灵(官方格式)
      parameters:
        - name: task_id
          in: path
          description: "任务 ID。"
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: "该字段的取值与含义以本平台实际返回为准。"
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
            default: Bearer {{YOUR_API_KEY}}
      responses:
        '200':
          description: "该字段的取值与含义以本平台实际返回为准。"
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  request_id:
                    type: string
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                      task_status:
                        type: string
                      task_status_msg:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      task_result:
                        type: object
                        properties:
                          videos:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                url:
                                  type: string
                                duration:
                                  type: string
                required:
                  - code
                  - message
                  - request_id
                  - data
              example:
                code: 0
                message: string
                request_id: string
                data:
                  task_id: string
                  task_status: string
                  task_status_msg: string
                  created_at: 1785000000000
                  updated_at: 1785000000000
                  task_result:
                    videos:
                      - id: string
                        url: string
                        duration: string
          headers: {}
      security: []
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

使用提示:本页接口的 Base URL 为 https://api.allyang.cn,请求头需携带 Authorization: Bearer <令牌>(令牌在控制台「令牌管理」中创建)。示例中的任务 ID、时间戳与文件地址均为示意值,实际以平台返回为准。

模型名请在「模型广场」复制后填入,不要手输;计费、限流与在售清单以平台实测为准(部分数值待补)。