众扬汇 AI 开放平台 API 文档

批量获取任务(免费

接口:POST /BASE_URL/luma/tasks 归属:视频模型/Luma/官方接口格式/任务查询 调用地址:Base URL https://api.allyang.cn(OpenAI 兼容前缀 https://api.allyang.cn/v1)+ 上述路径 鉴权:请求头 Authorization: Bearer <你的令牌>;令牌在控制台「令牌管理」创建 说明:下方为本接口契约。路径、字段名与枚举取值与线上接口一致;叙述文字已按本平台口径重写。价格、并发与限流等数值以控制台及实际返回为准,未确认处标注「待补」。

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /BASE_URL/luma/tasks:
    post:
      summary: 批量获取任务(免费
      description: ''
      tags:
        - 视频模型/Luma/官方接口格式/任务查询
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
            default: Bearer {{YOUR_API_KEY}}
      requestBody:
        content:
          text/plain:
            schema:
              type: string
            example:
              ids:
                - 1a55fb08-ee53-4372-b480-b40580346d05
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                code: success
                message: ''
                data:
                  - id: 13917
                    created_at: '2024-07-01T07:35:13.568Z'
                    updated_at: '2024-07-01T07:35:23.654Z'
                    task_id: 9d4b7516-77e5-481a-b015-48313946f33b
                    platform: luma_free
                    action: LUMA_VIDEO
                    status: IN_PROGRESS
                    fail_reason: ''
                    submit_time: 1719819313
                    start_time: 1719819323
                    finish_time: 0
                    data:
                      id: 9d4b7516-77e5-481a-b015-48313946f33b
                      liked: null
                      state: processing
                      video: null
                      prompt: cat dance
                      created_at: '2024-07-01T07:35:13.498000Z'
                      estimate_wait_seconds: null
          headers: {}
      security: []
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []