众扬汇 AI 开放平台 API 文档

获取视频无水印链接(VIP版才支持)(废弃,查询接口有返回

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: "本页接口说明详见下方接口定义;参数取值与返回以本平台实测为准。"
  version: 1.0.0
paths:
  /luma/generations/{task_id}/download_video_url:
    get:
      summary: 获取视频无水印链接(VIP版才支持)(废弃,查询接口有返回
      deprecated: true
      description: "该接口已废弃,查询接口中已直接返回对应结果。须在视频任务状态返回完成后调用,否则返回 400;获取到的视频链接请尽快下载,账号轮换后将不可再次获取。"
      tags:
        - 视频模型/Luma/官方接口格式
      parameters:
        - name: task_id
          in: path
          description: "本任务的标识,提交时由平台下发;后续查状态需带上它"
          required: true
          example: ''
          schema:
            type: string
        - name: Authorization
          in: header
          description: "该字段的取值与含义以本平台实际返回为准。"
          required: true
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
        - name: Content-Type
          in: header
          description: "该字段的取值与含义以本平台实际返回为准。"
          required: true
          example: application/json
          schema:
            type: string
      responses:
        '200':
          description: "该字段的取值与含义以本平台实际返回为准。"
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                url: >-
                  https://files.example.com/ai-lumalabs-storage-private/lit_lite_inference_text2vid_v1.0/9c1e0a2b-7d44-4f10-9a53-2b1c8e6d0f11/9c1e0a2b-7d44-4f10-9a53-2b1c8e6d0f11_raw_video_1_video9f2c1a4b7d0e5a83.mp4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=9f2c1a4b7d0e5a83%2F20240707%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20240707T160315Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=9f2c1a4b7d0e5a83
          headers: {}
      security: []
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

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

本页为聚合平台兼容格式,模型可用性与计费以本平台「模型广场」公布为准。