Cut an audio file between specified timestamps
Trims an audio file using the specified start and end times.
post/v1/audio_cutter
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/input_audio.mp3",
"start_time": 10500,
"end_time": 45000,
"output_extension": "mp3",
"webhook_url": "http://your-webhook-url.com/callback"
}Response
Successfully initiated audio cut
Example response
{
"success": true,
"conversion_id": "conv789",
"credit_estimate": 25,
"conversion_path": "https://example.com/trimmed_audio.mp3",
"message": "Audio trim task queued successfully"
}Changes
No recorded changes to this operation across all 1 revision of this API.