Docs / Music Series / Suno / Task submission
Add Vocals
Add vocals to an existing instrumental clip and query the generated result through the unified async task endpoint.
Purpose#
Add vocals to an existing instrumental clip with POST /v1/music/add-vocals.
Request Fields#
| Field | Type | Required | Description |
|---|---|---|---|
clip_id | string | Yes | ID of the music clip to add vocals to |
prompt | string | Yes | Lyrics to sing, section structure, or vocal prompt |
title | string | No | Title of the new song |
style | string | No | Genre, arrangement, vocal, and production description |
negative_tags | string | No | Vocal, style, or production characteristics to avoid |
callback_url | string | No | HTTPS URL that receives a notification when the task completes or fails |
Request Example#
curl -X POST 'https://api.apimax.ai/v1/music/add-vocals' \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"clip_id": "67f505a1-0a39-4bab-a10e-6af8fc1bc83d",
"prompt": "[Verse] Late night lights across the avenue\n[Chorus] I keep finding my way back to you",
"title": "My Song - Vocal Version",
"style": "lofi hip hop, warm intimate vocal",
"callback_url": "https://your-app.example/music-callback"
}'clip_id is mapped to the upstream overpainting_clip_id.
Submission Response#
A successful submission returns the task ID immediately:
{
"code": "success",
"message": "",
"data": "task_01KABCDEF0123456789XYZ"
}| Field | Type | Description |
|---|---|---|
code | string | Always success on success |
message | string | Usually an empty string on success |
data | string | Task ID used to query the result |
Query the Task Result#
Only single-task queries by task ID are supported:
curl 'https://api.apimax.ai/v1/tasks/task_01KABCDEF0123456789XYZ' \
-H "Authorization: Bearer $API_KEY"Task status transitions in the following order:
queued → in_progress → completed / failed
status | Description | Terminal |
|---|---|---|
queued | Task created, waiting to be processed | No |
in_progress | Task is being processed | No |
completed | Task finished; the result is in data | Yes |
failed | Task failed; the reason is in error | Yes |
Poll every 2-5 seconds and stop once the status reaches completed or failed. If callback_url is set, you can also wait for the callback notification.
Example completed response:
{
"id": "task_01KABCDEF0123456789XYZ",
"object": "task",
"type": "music",
"platform": "music",
"status": "completed",
"progress": 100,
"model": "suno_add_vocals",
"data": [
{
"id": "track_001",
"audio_url": "https://media.example/result.mp3",
"image_url": "https://media.example/cover.jpg",
"title": "My Song - Vocal Version",
"duration": 214.5,
"model_name": "suno_add_vocals"
}
]
}During in_progress, previewable audio may be returned early, but you should keep polling until the task reaches a terminal status.

