/
/Musicgpt API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 4w ago · Updated 4w ago
  • postCut an audio file between specified timestamps
  • postMaster an audio file using a reference track
  • postChange the speed of an audio file
  • postConvert Audio to MIDI
  • postTranscribe Audio to Text
  • postConvert audio to cover song
  • postRemove echo from an audio file or URL
  • postRemoves noise from an audio file or URL
  • postRemoves reverberation from an audio file or URL
  • postExtend Audio Using Prompt and Optional Lyrics
  • postExtract stems from an audio file or URL
  • postExtract Key, BPM, and Key Changes from Audio
  • postConvert audio file to different format
  • postGenerate a Song from an Image
  • postInpaint an Audio Segment
  • getConvert Prompt to Lyrics
  • postGenerate Custom Music
  • postGenerate Custom Music
  • postRemix Audio Using Prompt and Optional Lyrics
  • postSing Over Instrumental Using Prompt and Lyrics
  • postGenerate Sound Based on Given Prompt
  • postConvert text to speech using a specified voice
  • postConvert voice from audio file or URL
  • getGet All Voices
  • getGet Conversion by ID
  • getGet Conversion by ID Streaming
  • getGet Voices by Name

Cut an audio file between specified timestamps

Trims an audio file using the specified start and end times.

post/v1/audio_cutter

Response

Successfully initiated audio cut

successboolean
conversion_idstring
credit_estimatenumber float
conversion_pathstring
messagestring

Example response

{
  "success": true,
  "conversion_id": "conv789",
  "credit_estimate": 25,
  "conversion_path": "https://example.com/trimmed_audio.mp3",
  "message": "Audio trim task queued successfully"
}