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 taskaudioId
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
- 200
- 500
Request successful
Server Error
Callbacks
- POST wavGenerated
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
- 200
Callback received successfully