Convert audio file to different format
Initiate a file conversion task using either an audio URL or file upload with optional format parameters and webhook callback.
post/v1/file_convert
Request
- Base URLhttps://api.musicgpt.com/api/public
- AuthAPI key in header Authorization
Request body multipart/form-data
Example request
{
"audio_url": "https://example.com/audio.mp3",
"target_format": "wav",
"target_sr": 44100,
"target_bit_depth": 24,
"webhook_url": "https://your-webhook-url.com/callback"
}Response
Successfully initiated file conversion
Example response
{
"success": true,
"task_id": "convert789",
"conversion_id": "conv456",
"output_path": "https://storage.example.com/converted/audio.wav",
"credit_estimate": 100.1
}Changes
No recorded changes to this operation across all 1 revision of this API.