MusicGPT icon

MusicGPT

Interact with MusicGPT API for audio processing and voice management

Advanced Generation → Extend

AI-generated

Summary

Extend an audio track from a specified point using MusicGPT. Provide the audio by URL or from an incoming binary property, set the extension start time, and optionally guide the new section with a prompt, lyrics, vocal gender, title, or completion webhook.

Inputs

  • Audio Source (required) — Choose URL (default) or Binary Property as the audio input.
  • Audio URL (required) — Direct URL to the audio file; used when Audio Source is URL.
  • Binary Property Name (required) — Name of the incoming binary property containing the audio file; defaults to data and is used when Audio Source is Binary Property.
  • Extend After (Seconds) (required) — Point in the audio, in seconds, after which to generate the extension; defaults to 30. The UI allows values from 0 to 300.
  • Prompt — Optional description of how the extension should sound; UI notes a 280-character maximum.
  • Lyrics — Optional lyrics for the extended section; UI notes a 2,000-character maximum.
  • Gender — Optional vocal gender: male, female, or neutral. The UI default is neutral.
  • Title — Optional title for the extended audio.
  • Webhook URL — Optional URL for a completion callback.

Output shape

One JSON item per input item, containing success, task_id, conversion_id_1, conversion_id_2, and eta.

Starts an asynchronous extension request; the output contains task and conversion identifiers and ETA, not the generated audio itself. The request sends the source audio and extend_after, plus optional fields when provided.

Examples

Example 1: Provide audio by URL and continue it in a chosen style.

Set Audio Source to URL, enter Audio URL and Extend After (Seconds), then optionally add a Prompt, Lyrics, Gender, Title, or Webhook URL.

Example 2: Extend audio produced by an earlier workflow step.

Set Audio Source to Binary Property, enter the incoming property name (usually data), and set Extend After (Seconds).

Links

Discussion