extend_music
Create a Suno task to extend an existing track, returning a task ID and output URLs. Inherit source parameters or set custom ones.
Instructions
Create a Suno task on RunAPI (extend music). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| model | No | RunAPI model slug for this model line. | |
| style | No | Style preset. Required in custom parameter mode. | |
| title | No | Song title. Required in custom parameter mode. | |
| lyrics | No | Exact lyrics. Only allowed when extending uploaded audio in custom parameter mode. | |
| prompt | No | Extension brief. Cannot be combined with lyrics. | |
| task_id | No | Source task ID to extend. Provide one of task_id, audio_id, audio_url, or upload_url. | |
| audio_id | No | Source audio ID to extend. Provide one of task_id, audio_id, audio_url, or upload_url. | |
| audio_url | No | Source audio URL to extend. Provide one of task_id, audio_id, audio_url, or upload_url. | |
| persona_id | No | Persona ID. | |
| timeout_ms | No | ||
| upload_url | No | Uploaded source audio URL to extend. Provide one of task_id, audio_id, audio_url, or upload_url. | |
| continue_at | No | Seconds into the source to continue from. Required in custom parameter mode. | |
| audio_weight | No | Audio weight (0-1). | |
| callback_url | No | Webhook URL for async notifications. | |
| instrumental | No | When true, generate without vocals. | |
| persona_type | No | Persona type. | |
| style_weight | No | Style adherence weight (0-1). | |
| vocal_gender | No | Vocal gender. | |
| negative_tags | No | Styles to avoid. | |
| parameter_mode | Yes | Inherit the source track's parameters (source) or supply custom ones (custom). | |
| poll_interval_ms | No | ||
| weirdness_constraint | No | Weirdness constraint (0-1). |