POST
/
api
/
v1
/
wav
/
generate
Convert to WAV Format
curl --request POST \
  --url https://api.kie.ai/api/v1/wav/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "taskId": "5c79****be8e",
  "audioId": "e231****-****-****-****-****8cadc7dc",
  "callBackUrl": "https://api.example.com/callback"
}'
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "5c79****be8e"
  }
}

Usage Guide

  • Use this endpoint to obtain WAV format files from your generated music
  • WAV files provide uncompressed audio for professional editing and processing
  • Converted files maintain the full quality of the original audio

Parameter Details

  • taskId identifies the original music generation task
  • audioId specifies which audio track to convert when multiple variations exist

Developer Notes

  • Generated WAV files are retained for 14 days
  • WAV files are typically 5-10 times larger than MP3 equivalents
  • Processing time may vary depending on the length of the original audio

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

Body

application/json

Response

200
application/json

Request successful

The response is of type object.