MusicGPT icon

MusicGPT

Interact with MusicGPT API for audio processing and voice management

Audio Processing → Trim Audio

AI-generated

Summary

Trims an audio file to the specified time range by submitting it to MusicGPT’s audio cutter. Provide the audio as a URL or as binary data from an earlier node; the operation returns a task and conversion status rather than the trimmed audio itself.

Inputs

  • Audio Source (required) — Choose URL (default) or Binary Property as the audio input.
  • Audio URL (required) — Direct URL of the audio to trim; used when Audio Source is URL.
  • Binary Property Name (required) — Name of the incoming binary property containing the audio; used when Audio Source is Binary Property and defaults to data.
  • Start Time (required) — Trim start position in seconds; must be at least 0.
  • End Time (required) — Trim end position in seconds; must be at least 0.
  • Webhook URL — Optional callback URL for a notification when processing is complete.

Output shape

One item per input item, with a JSON object containing success, task_id, conversion_id, and eta.

Start and end times are sent to the API as milliseconds. Processing is submitted asynchronously; the returned item contains status and identifiers, not the trimmed audio file.

Links

Discussion