Skip to main content
GET
/
v1
/
query
/
video_template_generation
cURL
curl --request GET \
  --url https://api.minimax.io/v1/query/video_template_generation \
  --header 'Authorization: Bearer <token>'
{
  "task_id": "401047179385389059",
  "status": "Success",
  "video_url": "https://cdn.hailuoai.com/prod/video_20250714_141232_cdc5ba74.mp4",
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}

Authorizations

Authorization
string
header
required

HTTP: Bearer Auth

Query Parameters

task_id
string
required

The ID of the task to query. You can only query tasks created under the current account.

Response

200 - application/json
task_id
string

The ID of the queried task.

status
enum<string>

The status of the task. Possible values:

  • Preparing – Preparing
  • Processing – In progress
  • Success – Completed successfully
  • Fail – Failed
Available options:
Preparing,
Processing,
Success,
Fail
video_url
string

Returned when the task is successful. The download URL of the generated video.

⚠️ Note: The download link is valid for 9 hours.

base_resp
object

Contains the status code and details.