Skip to main content

Convert to WAV Format

POST 

/api/v1/wav/generate

Convert an existing music track to high-quality WAV format.

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

Request

Responses

Request successful

Callbacks

POST 

{$request.body#/callBackUrl}

System will call this callback when WAV format audio generation is complete.

Callback Example

{
"code": 200,
"msg": "success",
"data": {
"audioWavUrl": "https://example.com/s/04e6****e727.wav",
"task_id": "988e****c8d3"
}
}

Callbacks Responses

Callback received successfully