Skip to main content
POST
Get AI Video Details
Retrieve comprehensive information about an AI-generated video task, including its current status, generation parameters, generated video URLs, and failure details.

Endpoint

Authentication

All API requests require a Bearer Token.

Request

Query Parameters

string
required
Unique identifier of the video generation or extension task.

Example Request

Usage

Use this endpoint to:
  • Check the status of a video generation or extension task.
  • Access video URLs when generation is complete.
  • Troubleshoot failed generation attempts.

Task Status

Extension Tasks

This endpoint supports both standard video generation and video extension tasks. For extension tasks, parentTaskId identifies the original video task. It is empty for standard generation tasks.

Video URL Expiration

Generated video links are valid for 14 days. The expireFlag field indicates availability:

Response Fields

integer
Response status code.Allowed values:
string
Response message. Contains the error description when the request fails.Example: success
object
required
The task data object containing all task information.
string
required
Unique identifier of the AI video generation task.Example: ee603959-debb-48d1-98c4-a6d1c717eba6
string
Original task ID for extension tasks; empty for standard tasks.
object
Parameters used for video generation or extension.
string
Text prompt used to guide video generation.
string
Reference image URL or frame used to start an extension.
boolean
Whether AI-powered prompt enhancement was used.
string
Current generation status.Example: success
string
Current generation time status.
object
Generated video details, available when state is success.
string
Unique identifier for the generated video file.
string
Task ID associated with the generated video.
string
URL to access or download the generated video. Valid for 14 days.
string
Thumbnail image URL from the generated video.
string
default:"null"
Error code when generation fails.
string
default:"null"
Detailed error message when generation fails.
integer
default:"0"
0 when active; 1 when expired.

Failure Information

When state is fail, use failCode and failMsg to determine the reason. The source specification documents failure scenarios such as inappropriate content, generation limits, unsupported dimensions, upload failures, prompt moderation, excessive prompt length, NSFW content, and incorrect image format.

Response Status Codes

Error Response