跳转到主要内容
GET
Retrieve a video generation task

请求规范

  • 方法与路径: GET /v1/video/generations/{task_id}
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/v1/video/generations/{task_id}
  • task_id: path; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

此操作不另收费。 任务本身的费用在任务结束时结算。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

task_id
string
必填

The id returned when the task was created.

响应

The task.

created_at
integer
必填

Unix seconds.

id
string
必填
model
string
必填
object
string
必填
Allowed value: "video.generation"
progress
string
必填

For example 0% or 100%.

status
enum<string>
必填
可用选项:
queued,
in_progress,
completed,
failed,
cancelled,
unknown
completed_at
integer

Unix seconds; present once the task has ended.

customer_cost_micros_usd
integer

The charge collected for this task, in micro-USD; zero when a failed task's hold was released. Present once the task has ended and its charge is confirmed final; absent while it runs or settles, or when finality cannot be confirmed.

必填范围: x >= 0
error
object
result
any

The model's output once completed, including the video URL (video_url or url).