Suno Vox API Integration Guide
Select a vocal segment from an existing song to create a VOX singer style. In the song menu on the official website, select Remix → Voice to open Create a Voice. Select a range on the waveform; the two times in the From row correspond to the API's vocal_start and vocal_end.

First, call POST /suno/vox. The three required parameters are audio_id, vocal_start, and vocal_end. Times are relative to the start of the original song and must satisfy 0 ≤ vocal_start < vocal_end; the segment must be shorter than 30 seconds.
The API test below uses the original song 3f8c1800-7a96-4a2b-811f-5fee716a9e32 and selects the range from 7 to 23 seconds.
import os
import requests
url = "https://api.orchats.repoingest.com/suno/vox"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"vocal_start": 7,
"vocal_end": 23,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
The result is shown below. data.vocal_audio_url is a time-limited URL, and wave_response contains the waveform. These two fields are omitted below. For asynchronous submissions, read them from response.data in the task's terminal state.
{
"success": true,
"task_id": "dd48467b-53ea-4fe4-8657-e7dda41dedcb",
"trace_id": "284da66a-4637-4574-b897-b5a7f61d5399",
"data": {
"id": "4527477a-15b9-4278-9bb6-f0aed89559a7",
"source_clip_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"status": "complete",
"vocal_start_s": 7,
"vocal_end_s": 23
}
}
Use data.id as vox_audio_id, then call the Persona API, passing in the original audio_id and the same start and end times in seconds.
import os
import requests
url = "https://api.orchats.repoingest.com/suno/persona"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"name": "Window Lights Voice",
"vox_audio_id": "4527477a-15b9-4278-9bb6-f0aed89559a7",
"vocal_start": 7,
"vocal_end": 23,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
The following structure is returned upon successful creation.
{
"success": true,
"task_id": "<TASK_ID>",
"data": {
"persona_id": "<PERSONA_ID>"
}
}
Finally, call /suno/audios with the returned persona_id and set action to artist_consistency_vox. Singer Style in Song Generation