GET
/
api
/
v1
/
mp4
/
record-info
Get Music Video Details
curl --request GET \
  --url https://api.kie.ai/api/v1/mp4/record-info \
  --header 'Authorization: Bearer <token>'
{
  "code": 0,
  "msg": "",
  "data": {
    "taskId": "",
    "musicId": "",
    "callbackUrl": "",
    "musicIndex": 0,
    "completeTime": "",
    "response": {
      "videoUrl": ""
    },
    "successFlag": "",
    "createTime": "",
    "errorCode": 0,
    "errorMessage": ""
  }
}

Usage Guide

  • Use this endpoint to check the status of a video generation task
  • Access the video URL once generation is complete
  • Track processing progress and any errors that may have occurred

Status Descriptions

  • PENDING: Task is waiting to be processed
  • SUCCESS: Video generation completed successfully
  • CREATE_TASK_FAILED: Failed to create the video generation task
  • GENERATE_MP4_FAILED: Failed during video file creation

Developer Notes

  • The video URL is only available in the response when status is SUCCESS
  • Error codes and messages are provided for failed tasks
  • Videos are retained for 14 days after successful generation

Authorizations

Authorization
string
header
required

All APIs require authentication via Bearer Token.

Get API Key:

  1. Visit API Key Management Page to get your API Key

Usage: Add to request header: Authorization: Bearer YOUR_API_KEY

Note:

  • Keep your API Key secure and do not share it with others
  • If you suspect your API Key has been compromised, reset it immediately in the management page

Query Parameters

taskId
string
required

Unique identifier of the music video generation task to retrieve. This is the taskId returned when creating the music video generation task.

Response

200
application/json

Success

The response is of type object.