Skip to content

视频延长

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /kling/v1/videos/video-extend:
    post:
      summary: 视频延长
      deprecated: false
      description: ''
      tags:
        - 可灵 Kling 平台/视频延长
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: false
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                video_id:
                  type: string
                  description: 视频id 支持通过文本、图片和视频延长生成的视频的ID(原视频不能超过3分钟)
                prompt:
                  type: string
                  description: 正向文本提示词  不能超过2500个字符词
                negative_prompt:
                  type: string
                  description: 负向文本提示词
                cfg_scale:
                  type: number
                  description: 提示词参考强度  取值范围:[0,1],数值越大参考强度越大
                callback_url:
                  type: string
              required:
                - video_id
                - prompt
              x-apifox-orders:
                - video_id
                - prompt
                - negative_prompt
                - cfg_scale
                - callback_url
            example:
              video_id: '828006748715380777'
              prompt: 延长动画效果
              negative_prompt: ''
              cfg_scale: 0.5
              callback_url: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apifox-name: 成功
      security:
        - bearer: []
      x-apifox-folder: 可灵 Kling 平台/视频延长
      x-apifox-status: testing
      x-run-in-apifox: https://app.apifox.com/web/project/5443236/apis/api-386231144-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://www.anyapi.vip
    description: 正式环境
security:
  - bearer: []

AnyAPI — 专业的 AI 接口聚合服务