Skip to main content
GET
Retrieve a video generation task

Request contract

  • Method and path: GET /v1/video/generations/{task_id}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/v1/video/generations/{task_id}
  • task_id: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation. The task’s charge is settled when it ends.

Authorizations

Authorization
string
header
required

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

Path Parameters

task_id
string
required

The id returned when the task was created.

Response

The task.

created_at
integer
required

Unix seconds.

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

For example 0% or 100%.

status
enum<string>
required
Available options:
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.

Required range: x >= 0
error
object
result
any

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