GET
/
api
/
v1
/
wav
/
record-info
Get WAV Conversion Details
curl --request GET \
  --url https://api.kie.ai/api/v1/wav/record-info \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "988e****c8d3",
    "musicId": "8551****662c",
    "callbackUrl": "https://api.example.com/callback",
    "musicIndex": "0",
    "completeTime": "2025-01-01 00:10:00",
    "response": {
      "audioWavUrl": "https://example.com/s/04e6****e727.wav"
    },
    "successFlag": "PENDING-待执行 SUCCESS-成功 CREATE_TASK_FAILED-创建任务失败 GENERATE_AUDIO_FAILED-生成wav失败",
    "createTime": "2025-01-01 00:00:00",
    "errorCode": null,
    "errorMessage": null
  }
}

Usage Guide

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

Status Descriptions

  • PENDING: Task is waiting to be processed
  • SUCCESS: WAV conversion completed successfully
  • CREATE_TASK_FAILED: Failed to create the conversion task
  • GENERATE_WAV_FAILED: Failed during WAV file generation
  • CALLBACK_EXCEPTION: Error occurred during callback

Developer Notes

  • The WAV file URL is only available in the response when status is SUCCESS
  • Error codes and messages are provided for failed tasks
  • WAV files are retained for 14 days after successful conversion

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 WAV conversion task to retrieve. This is the taskId returned when creating the WAV conversion task.

Response

200
application/json

Request successful

The response is of type object.