查询单个任务(免费
接口:GET /BASE_URL/luma/generations/{task_id} 归属:视频模型/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/generations/{task_id}:
get:
summary: 查询单个任务(免费
description: "VIP 账号会在 video.download_url 返回无水印地址,该字段可能为空,为空时需改用无水印接口获取。state 字段(“completed”)的枚举取值:pending、processing、completed、failed。"
tags:
- 视频模型/Luma/官方接口格式/任务查询
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: {}
example:
id: 77aae5b1-7e0e-4038-9e8d-d59a0dd79b5e
liked: null
state: completed
video:
url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
width: 656
height: 1552
thumbnail: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
download_url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
prompt: In a modern airport, travelers rush to check in.
user_id: ''
batch_id: 48990573-7235-4654-9f2a-58ce5f30ec5f
thumbnail:
url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
width: 656
height: 1552
video_raw:
url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
width: 656
height: 1552
created_at: '2024-11-01T10:20:34.197000Z'
last_frame:
url: >-
https://api.allyang.cn/<外部地址已按合规要求移除>
width: 656
height: 1552
pipeline_id: V1
queue_state: null
estimate_wait_seconds: null
headers: {}
security: []
components:
schemas: {}
securitySchemes: {}
servers: []
security: []