Extend a song
extend_musicContinue an existing song from a given timestamp, producing a longer version. Requires the clip_id of a previously generated song, which appears in the 'raw' payload of a completed generate_music task. Asynchronous — poll with get_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Style tags for the extension. | |
| title | No | New title for the extended song. | |
| prompt | No | Lyrics for the extended section. | |
| clip_id | Yes | ID of the song to extend, taken from the 'raw' clip list of a completed generate_music task. | |
| provider | No | Music backend: 'suno' (default) or 'producer'. | |
| continue_at | Yes | Timestamp in seconds within the original song to continue from. | |
| wait_seconds | No | Poll server-side for up to this many seconds (max 240). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Full result payload when completed — clip IDs, lyrics text and per-clip metadata. Clip IDs from here are what extend_music takes. | |
| note | Yes | What to do next. | |
| status | Yes | One of: queued, in_progress, completed, failed. | |
| task_id | Yes | Pass this to get_task together with platform to check progress. | |
| platform | Yes | 'suno' or 'producer'. Pass to get_task. | |
| audio_urls | No | Finished audio URLs, when the task completed within wait_seconds. |