文生视频查询任务(免费)
接口:GET /kling/v1/images/text2video/{task_id} 归属:快手可灵(官方格式) 调用地址: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:
/kling/v1/images/text2video/{task_id}:
get:
summary: 文生视频查询任务(免费)
description: ''
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: 1722769557708
updated_at: 1722769557708
task_result:
videos:
- id: string
url: string
duration: string
headers: {}
security: []
components:
schemas: {}
securitySchemes: {}
servers: []
security: []