Suno Song Generation API Integration Guide
As AI applications become more widespread, various AI programs have gradually become commonplace. AI has gradually become integrated into every aspect of people’s work and lives. The industries involving AI are also increasing, from writing at the beginning, to healthcare and education, and now to music.
Suno is a professional, high-quality AI song and music creation platform. Users only need to enter a simple text prompt to generate songs with vocals based on genre, style, and lyrics. This AI music generator was developed by team members from well-known technology companies such as Meta, TikTok, and Kensho, with the goal of enabling everyone to create beautiful music without needing any musical instruments or tools.
¶ Failed Results and Retries
The error object may contain an optional Boolean field, error.retryable. Only when it is true does it indicate that the failed request may be retried later with the same parameters, such as in cases of temporary rate limiting or insufficient service capacity where the request was explicitly not accepted. Using backoff intervals and limiting the number of retries is recommended. Requests that succeed after a retry are billed according to the normal rules.
retryable: false means the request should not be retried as-is. When the field is absent, do not automatically resend the request based solely on HTTP 500, busy, or the error message. Missing parameters, mismatched asset formats or durations, content moderation issues, and expired resources should be corrected first. For submission timeouts, connection interruptions, or polling or media delivery failures for accepted tasks, query the task using the original task_id first; resubmitting may create new songs. This flag describes the original public operation, not an internal processing step.
¶ Model Selection
The following V6 series models are currently recommended.
| Suno Website | API model |
Use Case |
|---|---|---|
| v6 | chirp-v6 (default) |
General song generation and editing |
| v6-wild | chirp-v6-wild |
Experimental styles and instrumentation |
| v6-mini | chirp-v6-mini |
Rapid iteration of creative ideas |
On the official website, select the model in the upper-right corner of Create → Songs.

Existing integrations can continue to use the original models, with the original rates applied upon success. 羲云科技 provides the Suno song generation and editing API described below.
¶ Preparing a Song Request
Log in to the application list, open the general application, and copy the API KEY. On the Suno song debugging page, you can select the application directly; in your own code, place the copied value in Authorization: Bearer {token}. When submitting asynchronous songs with a restricted key, you also need to enable access to the task query endpoint.
The API_KEY in the examples is the application key. Replace any audio_id and persona_id in the code with your own resource IDs.
The song JSON examples below are excerpts from actual terminal responses for the corresponding operations. Some responses show only the beginning of the lyrics and some media fields. When submitting with async: true or callback_url, first obtain the task_id, then read the terminal result through a callback or task query.
¶ Basic Usage
For your first attempt, you can generate a song in inspiration mode. Enter A song for Christmas in prompt, keeping the defaults action: "generate" and custom: false. The data[].audio_url in the synchronous response can be used to preview the song directly; for asynchronous submissions, save the task_id and use the song task query to obtain the result.
This corresponds to entering a song description in Create → Songs → Simple on the Suno website and then clicking Create.

When calling the 羲云科技 API, set the following request headers and request body. The request headers include:
accept: The format in which you want to receive the response; enterapplication/jsonhere, meaning JSON format.authorization: The key for calling the API, which can be selected directly from the drop-down list after applying for it.
Also set the Request Body, including:
action: The audio task type; defaults togenerate. Supports operations such as generation, extension, covers, concatenation, stem splitting, adding stems, extracting specified stems, generating sound effects, and adjusting speed, all called throughPOST /suno/audios.prompt: The prompt for Suno's official inspiration mode (takes effect whencustomisfalse), with a maximum of 500 characters.model: The model for this music generation task. The V6 series includeschirp-v6,chirp-v6-wild, andchirp-v6-mini, withchirp-v6as the default.max_mode: Enhanced generation mode. Forgenerate, it is enabled only when bothcustomandmax_modearetrue, at a cost of 1.12 Credits; foradd_stem, it can be enabled directly, at a cost of 1.344 Credits. When disabled or omitted, the costs are 0.56 and 0.672 Credits, respectively.variety: The diversity intensity of generated results, with optionsoff,normal,high,extra, andmax. Used only forgenerateandadd_stem; passing it to other actions returns 400.lyric: The lyrics for custom mode, with a maximum of 5000 characters for the V6 series.custom: Whether to use custom mode; defaults to:false.instrumental: The instrumental option for Suno's official inspiration mode.title: The music title for custom mode, with a maximum of 100 characters.style: The music style for custom mode, with a maximum of 1000 characters.negative_tags: Music styles or genres to exclude during custom generation; can also be used forreplace_section. This API currently does not set a fixed character limit for this field; excessively long content may still be unprocessable, so keep descriptions concise.audio_weight: The influence weight of audio or voice characteristics, ranging from 0 to 1;0is also a valid value. Can be used for operations such as generation, extension, covers, adding stems, and voice consistency; when there is no reference audio or voice characteristic, the model may reduce the influence of or ignore this value.audio_id: The ID of the reference music, used for subsequent operations such as covers, extension, and stem splitting. The fact that an audio file can still be downloaded does not mean that subsequent processing with this ID is always available; ifsuno_processing_unavailableis returned, retain thetask_idandtrace_idand contact support.overpainting_start/overpainting_end: The start and end times for adding vocals to existing instrumental music, in seconds.underpainting_start/underpainting_end: The start and end times for adding accompaniment to a cappella vocals, in seconds.persona_id: The voice ID obtained through the Persona or voice creation API, not the song'saudio_id.continue_at: The extension boundary, in seconds. For example, 213.5 means generating the subsequent segment starting at 3 minutes and 33.5 seconds.lyricandstyleguide only the new content after the boundary and do not replace the lyrics or vocals before the boundary in the source audio.style_influence: The style influence in custom mode, ranging from 0 to 1; a higher value generally results in closer adherence to the selected style;0is passed as a valid value.replace_section_end: The end time of the segment to replace.replace_section_start: The start time of the segment to replace.vocal_gender: Controls the preference for female or male vocals:ffor female,mfor male. The actual vocals depend on the finished output.weirdness: The weirdness level in custom mode, ranging from 0 to 1; a higher value generally results in more creative and experimental output;0is passed as a valid value.duration: The desired song duration, in seconds; must be an integer ranging from 10 to 360. Currently, onlygenerateuses this parameter, and its specific effect depends on the mode and model. It is a preference hint rather than a hard constraint: the model takes it into account but does not guarantee it will be achieved. The actual duration of the finished output is given by thedurationfield in the response and is usually shorter than the desired value.
¶ Scope of Voice ID Usage
generate, cover, upload_cover, artist_consistency, and artist_consistency_vox can use persona_id. The latter two actions require persona_id; the audio_id of the song used to create the Persona can also be provided at the same time.
extend and upload_extend do not use an additional persona_id. Whether mashup and inspo support voice IDs depends on the selected service channel; other actions are not guaranteed to apply this field, so use it according to the instructions for each operation. vocal_gender is an optional gender preference and cannot replace a voice ID.
Subsequent creation operations require a valid source audio_id; mashup requires at least two mashup_audio_ids. HTTP 400 is returned when required sources or time parameters are missing.
Before extending or covering, use POST /suno/availability to check the source song or private voice. The check requires only one UUID; for private assets, use the application and caller identity used during creation. Availability Check Guide
¶ Scope of Advanced Parameters
| Parameter | Values | Supported actions | Description |
|---|---|---|---|
weirdness |
0-1 | Optional | Adjusts experimental intensity; 0 is valid; effect depends on the operation, mode, and model |
style_influence |
0-1 | Optional | Adjusts the tendency to follow the style; 0 is valid; effect depends on the operation, mode, and model |
audio_weight |
0-1 | Optional | Adjusts the influence of audio or voice characteristics; may be ignored by the model without reference information |
variety |
off / normal / high / extra / max |
generate, add_stem |
Adjusts stylistic diversity among results |
max_mode |
boolean | generate (requires custom=true), add_stem |
Enhances consistency and is billed at enhanced-mode rates |
vocal_gender |
f / m |
Generation operations supporting vocal control | A preference, not guaranteed to be strictly followed |
The platform validates parameter types and value ranges. See the table above for the operations to which each parameter applies; effects depend on the operation, mode, and model.
The platform validates parameter types and value ranges, but does not reject these optional adjustment parameters solely because of differences in action; specific effects are determined by the operation, mode, and model.
lyric_prompt: The prompt for generating lyrics, effective if and only ifcustomistrueandlyricis not provided.callback_url: The URL to which the result should be sent.async: Optional. When set totrue, the API immediately returns atask_idwithout requiring acallback_url; the result can then be retrieved by polling the corresponding task query API.
The generated code is as follows:
curl -sS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"action": "generate",
"model": "chirp-v6",
"prompt": "A song for Christmas"
}'
You can also click “Try” on the debug page to test the API directly. The following is an excerpt of the final results for two songs generated using V6.
{
"success": true,
"task_id": "c409f30d-4b2f-4ad9-8ae7-f394e367713d",
"trace_id": "f9ff7920-2b74-4c69-867b-183cd41166fa",
"data": [
{
"id": "15b56d7a-1ad1-4dc6-bc74-79b102caceeb",
"title": "Room for One More Chair",
"lyric": "[Verse 1]\nThe kettle sings, the window steams\nA paper chain hangs slightly crooked\nYou set the old tin on the shelf\nAnd laugh at how the years have kept it",
"audio_url": "https://cdn.acedata2.cloud/suno/15b56d7a-1ad1-4dc6-bc74-79b102caceeb.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with film-score scale, a steady four-on-the-floor pulse, driving syncopated percussion, and a repeating cello ostinato. Begin with intimate piano and close, warm lead vocals; build through layered strings, brass swells, and wordless choir accents into a wide, uplifting final chorus. Polished, spacious mix with clear vocal focus and dynamic section lifts.",
"duration": 231.96
},
{
"id": "555bf85a-907c-4573-b6f3-e816c04aabb9",
"title": "Always Room for More",
"lyric": "[Intro]\n[Wordless vocals]\nOh—ah, oh—ah\n[Verse 1]\nSnow gathers softly on the windowpane",
"audio_url": "https://cdn.acedata2.cloud/suno/555bf85a-907c-4573-b6f3-e816c04aabb9.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with marathon-film scale, syncopated rhythmic drive, cello ostinato, four-on-the-floor pulse, and wordless vocal drops. Begin with a restrained cello figure and distant wordless voices; build into a broad, uplifting chorus with layered strings, punchy percussion, and a clear lead vocal. Use a brief countdown-style dropout before the final chorus, then finish with a full, resolved orchestral-pop ending. Polished, spacious mix with strong low-end and crisp rhythmic detail.",
"duration": 231.2
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
As you can see, we have now obtained the content of two songs, including their titles, preview images, lyrics, audio, videos, and other content.
The fields are described as follows:
- success: Whether generation succeeded;
trueif successful, otherwisefalse - data: A list containing detailed information about the generated songs.
- state: The song generation status, which mainly has four possible values:
- succeeded: Generation succeeded
- pending: In the queue
- running: In progress
- error: Failed
- id: Song ID
- title: The song title
- image_url: The URL of the song’s original cover image, which can be used directly for display.
- image_large_url: The URL of the song’s high-resolution original cover image, returned when available. If you need to retain the cover for the long term, please download and save it yourself.
- lyric: The song lyrics
- audio_url: The URL of the song’s final audio. The platform returns an 羲云科技 CDN URL whenever possible; if persistence fails, the original media URL may be returned, so please download it promptly.
- video_url: The song’s video file, which opens as an mp4 video.
- created_at: The song creation time, in ISO 8601 format.
- model: The model recorded in the response.
- style: The style.
- duration: The actual duration of each song, in seconds.
- state: The song generation status, which mainly has four possible values:
¶ Custom Generation
If you want to generate a song with custom lyrics, you can enter the lyrics:
In this case, the lyric field can contain content like the following:
[Verse]
Window lights across the bay
Guide the boats that drift away
[Chorus]
Bring the morning home to me
Fold the stars into the sea
Note that
\nin the lyrics here is a newline character. If you do not know how to generate lyrics, you can use the lyrics generation API provided by 羲云科技 to generate lyrics from a prompt: Suno Lyrics Generation API.
Next, to generate a custom song based on the lyrics, title, and style, you can specify the following:
- lyric: The lyrics text
- custom: Set to
trueto indicate custom generation. This parameter defaults to false, which means usingpromptto generate the song. - title: The song title.
- style: The song style, optional.
This corresponds to Create → Songs → Advanced on the official website. Enter the lyrics in Lyrics, the musical style in Styles, and then set the song title.


The corresponding code:
curl -sS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"action": "generate",
"model": "chirp-v6",
"custom": true,
"title": "Window Lights",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea"
}'
After creating the songs on the official website, you can preview the two candidates in My Songs. The image shows two versions of Window Lights generated on the official website. The JSON that follows is the response from a separate test of the 羲云科技 API.

{
"success": true,
"task_id": "f87a3222-b5f6-4bc6-8324-1923e8349478",
"trace_id": "f5490512-610e-4335-947c-fdee98bb415a",
"data": [
{
"id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"title": "Window Lights",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/3f8c1800-7a96-4a2b-811f-5fee716a9e32.mp3",
"created_at": "2026-11-30T17:50:09.196Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 47.6
},
{
"id": "ebafbeeb-9bdb-4b28-9c03-6a09734ba6df",
"title": "Window Lights",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/ebafbeeb-9bdb-4b28-9c03-6a09734ba6df.mp3",
"created_at": "2026-11-30T17:50:09.196Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 43.32
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ Custom Singer Style Generation
First generate the song to use as a reference, then call POST /suno/persona. Pass the song's audio_id and the persona's name, and optionally provide a description. The response will provide a persona_id. Suno Persona API
The corresponding Python code:
import os
import requests
url = "https://api.acedata.cloud/suno/persona"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"name": "Window Lights style",
"description": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result as follows:
{
"success": true,
"task_id": "e36f2c78-f333-4f84-ad23-a371ff73df6d",
"data": {
"persona_id": "1787f427-02ea-4e5c-8b88-458779881804"
}
}
In the next song request, enter the data.persona_id returned in the previous step as persona_id, and enter the ID of the song used to create the persona as audio_id. Use artist_consistency for a standard style persona. Use artist_consistency_vox for a VOX persona created from a vocal clip. VOX Vocal Clips
When adding an existing persona to a creation on the website, open the selection panel through Advanced → + Voice → My Voices. The screenshot shows this entry point.

The corresponding Python code:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "artist_consistency",
"model": "chirp-v6",
"persona_id": "1787f427-02ea-4e5c-8b88-458779881804",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"custom": True,
"style": "Soft acoustic folk",
"lyric": "[Chorus]\nBlue boats glide beyond the bay",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result as follows:
{
"success": true,
"task_id": "540f43fd-a229-4644-b693-dd9727700462",
"trace_id": "98ac0837-b64e-498d-92ce-51ceddcd9007",
"data": [
{
"id": "9e5030c7-233c-4521-8e93-f008ee583a97",
"title": "Blue Boats",
"lyric": "[Chorus]\nBlue boats glide beyond the bay",
"audio_url": "https://cdn.acedata2.cloud/suno/9e5030c7-233c-4521-8e93-f008ee583a97.mp3",
"created_at": "2026-11-30T18:14:21.715Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 40.72
},
{
"id": "cf72ce86-1816-4efb-94a6-6f4aded1c83d",
"title": "Blue Boats",
"lyric": "[Chorus]\nBlue boats glide beyond the bay",
"audio_url": "https://cdn.acedata2.cloud/suno/cf72ce86-1816-4efb-94a6-6f4aded1c83d.mp3",
"created_at": "2026-11-30T18:14:21.715Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 20
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
As you can see, the result is consistent with the content above, which achieves the function of generating songs using a singer's style.
¶ Continuing Generation
If you want to continue generating an already generated Suno song, you can set the action parameter to extend and enter the ID of the song you want to continue generating. The song ID is obtained as described in the basic usage section. As shown above, the song's ID is:
{
"id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32"
}
The
idhere is the ID of the generated song, which can be obtained fromdata[]in the earlier example. If you want to continue generating a song you uploaded, setactiontoupload_extend. Obtain the required song ID fromdata.audio_idin the upload response. Suno Upload Generation API
{
"success": true,
"task_id": "7f995f02-e4ab-4ad8-adfd-584a1d70c745",
"data": {
"audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d"
}
}
When extending a song with specified lyrics, enter the lyrics for the extension segment and optionally specify a style.
- lyric: Used only to guide the lyrics of the newly generated segment after
continue_at; it does not replace the lyrics in the source audio before that point. - custom: Set to
truefor custom generation. This parameter defaults to false, which means generation usesprompt. - style: The song style of the extension segment, optional.
- continue_at: The extension boundary, in seconds. For example, 213.5 means generating the subsequent segment starting at 3 minutes and 33.5 seconds.
For extend and upload_extend, continue_at must be greater than 0 and supports fractional seconds, such as 30.792; it is not rounded when submitted.
extendis used to continue creating from an existing song, not to replace the lyrics of the entire song. If you want the entire song to use new lyrics from the beginning, usegenerateto regenerate it; if you want to reinterpret an existing song, you can usecover. When you provide a full set of new lyrics, the original lyrics beforecontinue_atstill will not be replaced.
On the official website, select Edit → Extend. Drag the waveform to select the starting point for the extension; Extend from below the waveform corresponds to continue_at.

The API request example below starts the extension at 36.5 seconds into the original song.
The corresponding Python code:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "extend",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"continue_at": 36.5,
"custom": True,
"lyric": "[Outro]\nCarry one more light for me\nHome across the quiet sea",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result like the following:
{
"success": true,
"task_id": "21085c89-c028-4386-84b1-7653f009d56a",
"trace_id": "fe072f90-0ceb-457b-837b-4765367f1516",
"data": [
{
"id": "aaed0954-f055-49b4-9b93-5776179a7d9c",
"lyric": "[Outro]\nCarry one more light for me\nHome across the quiet sea",
"audio_url": "https://cdn.acedata2.cloud/suno/aaed0954-f055-49b4-9b93-5776179a7d9c.mp3",
"created_at": "2026-11-30T18:05:01.698Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 41.92
},
{
"id": "c12c00d4-1211-406a-8658-af6c3029f3b9",
"lyric": "[Outro]\nCarry one more light for me\nHome across the quiet sea",
"audio_url": "https://cdn.acedata2.cloud/suno/c12c00d4-1211-406a-8658-af6c3029f3b9.mp3",
"created_at": "2026-11-30T18:05:01.698Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 41.6
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
As you can see, lyric in the result returns the lyrics used for this extension task. This field is not a word-for-word transcription of the complete finished audio; for extend, the source audio before continue_at still uses the original lyrics, and the new lyrics are used only to guide the extension segment.
Use upload_extend to extend an uploaded song. Keep the same format for continue_at, lyrics, and style, and replace audio_id with the data.audio_id returned by the upload.
{
"action": "upload_extend",
"model": "chirp-v6",
"audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d",
"continue_at": 36.5,
"custom": true,
"lyric": "[Outro]\\nCarry one more light for me\\nHome across the quiet sea",
"style": "Soft acoustic folk"
}
An excerpt of the final result of extending an uploaded song.
{
"success": true,
"task_id": "7fc1c79b-72d2-4697-a18e-caf6fee7d22c",
"trace_id": "fa320093-4e8e-4eba-89eb-610ad31cd271",
"data": [
{
"id": "8cb590ab-c3e4-4179-b3ad-773b4eba4c32",
"audio_url": "https://cdn.acedata2.cloud/suno/8cb590ab-c3e4-4179-b3ad-773b4eba4c32.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 45.4
},
{
"id": "112ec6d7-df1a-40ca-b295-967a9cb747b4",
"audio_url": "https://cdn.acedata2.cloud/suno/112ec6d7-df1a-40ca-b295-967a9cb747b4.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 33.16
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ Get the complete song
First listen to the result returned by extend and check its actual duration. Some results already include the portion retained before continue_at and the new content that follows. If a separate extension segment is returned, or if you need to explicitly combine multiple extensions, use the concatenation function below.
- action: Set to
concat. - audio_id: The ID of the last extension segment.
On the official website, open ⋯ → Create → Get Whole Song from a generated continuation candidate. The API uses the ID of the selected continuation clip. This example uses
aaed0954-f055-49b4-9b93-5776179a7d9c. Suno continuation instructions
{
"action": "concat",
"model": "chirp-v6",
"audio_id": "aaed0954-f055-49b4-9b93-5776179a7d9c"
}
With the other parameters unchanged, the response is one complete song, which is the result of concatenating all the song clips, but the result contains only one song. An example is shown below:
{
"success": true,
"task_id": "7f74f719-18ed-4605-b345-e93dd671e384",
"trace_id": "3cf0e5da-47ca-4c41-9c4b-98c721684879",
"data": [
{
"id": "1e2411b4-1a0c-4e83-87d4-c968c62a7e19",
"title": "Window Lights",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea\n[Outro]\nCarry one more light for me\nHome across the quiet sea",
"audio_url": "https://cdn.acedata2.cloud/suno/1e2411b4-1a0c-4e83-87d4-c968c62a7e19.mp3",
"created_at": "2026-11-30T18:11:42.286Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 78.4
}
],
"cost": {
"amount": 0.036,
"currency": "credit",
"list_amount": 0.04
}
}
¶ Music Covers
After continuing to generate a song based on an existing song, the style of the returned song may not be quite suitable. If you want to create a cover of a previously generated song (custom-uploaded music is also supported), you need to use the music cover method, which allows you to specify the following:
On the official website, select Remix → Cover from the finished song's menu. For local audio, first import it through + Audio → Upload, then create a cover.

- action: Set to
cover; when creating a cover of custom-uploaded music, it must be set toupload_cover. - audio_id: The ID of the previously generated song.
To create a cover using a specific voice, you can also pass persona_id. For a private voice created through /suno/voices, you must first upload the original song through /suno/upload with the same persona_id, then use the returned audio_id for upload_cover. The same service channel must be used for each step. There is no need to specify vocal_gender separately; a gender preference cannot replace a voice ID.
For example, if the source song ID is 3f8c1800-7a96-4a2b-811f-5fee716a9e32, you can set the parameters as follows. You can use prompt to specify the direction of the changes.
{
"action": "cover",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"prompt": "Reimagine this acoustic folk song as soft bossa nova."
}
With the other parameters unchanged, the response is a cover song, which is the result of creating a cover of the previously generated song. An example is shown below:
{
"success": true,
"task_id": "475cee66-4cde-4a41-936a-4025587a55ab",
"trace_id": "5b961fe5-e712-4264-8a26-5465d7636cd9",
"data": [
{
"id": "a743e000-516a-4416-826b-086b61e1907c",
"title": "Mango Peel Moon",
"lyric": "[Verse 1]\nYou left your cup by the sink\nHalf a lime in the glass\nI saw your shirt on the chair\nAnd the morning move too fast",
"audio_url": "https://cdn.acedata2.cloud/suno/a743e000-516a-4416-826b-086b61e1907c.mp3",
"created_at": "2026-11-30T18:05:01.716Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Reimagine this acoustic folk song as soft bossa nova.",
"style": "Soft bossa nova with brushed syncopation, nylon-string guitar, upright bass, and light shaker; verse rides close-mic and conversational, pre-chorus opens with a breathy lift and subtle harmony, chorus lands on a warm repeated hook with soft gang doubles. Gentle conga taps, piano grace notes, and a small tape-wobble transition before the bridge. Intimate, warm, and silky in the mix., acoustic, folk, bossa nova, soft",
"duration": 222.48
},
{
"id": "8520edee-3678-4533-bcb7-deda59c5807c",
"title": "Mango Peel Moon",
"lyric": "[Verse 1]\nYou left your cup by the sink\nHalf a lime in the glass\nI saw your shirt on the chair\nAnd the morning move too fast",
"audio_url": "https://cdn.acedata2.cloud/suno/8520edee-3678-4533-bcb7-deda59c5807c.mp3",
"created_at": "2026-11-30T18:05:01.716Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Reimagine this acoustic folk song as soft bossa nova.",
"style": "Soft bossa nova with brushed syncopation, nylon-string guitar, upright bass, and light shaker; verse rides close-mic and conversational, pre-chorus opens with a breathy lift and subtle harmony, chorus lands on a warm repeated hook with soft gang doubles. Gentle conga taps, piano grace notes, and a small tape-wobble transition before the bridge. Intimate, warm, and silky in the mix., acoustic, folk, bossa nova, soft",
"duration": 212.76
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
The generated result is similar to the above, completing the process of generating a cover of the previously generated song.
When creating a cover of uploaded audio, you can use the following request and the audio_id from the upload result.
{
"action": "upload_cover",
"model": "chirp-v6",
"audio_id": "a6dbc2ab-a2ab-4c32-a7fb-2cfa7abd122d",
"prompt": "Acoustic ballad with warm cello and soft vocals"
}
Excerpt of the final result of a cover after uploading.
{
"success": true,
"task_id": "d3f33f44-6abe-4429-84e7-b7a01933711f",
"trace_id": "bf5f5bf1-494a-4520-a70b-b3cb1145e2f9",
"data": [
{
"id": "305ee2e5-a06c-46e7-9bad-bebc5010f0a5",
"title": "Hands On The Rail",
"audio_url": "https://cdn.acedata2.cloud/suno/305ee2e5-a06c-46e7-9bad-bebc5010f0a5.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 214.8
},
{
"id": "20eafedb-f0ec-4440-adcb-32d815b70824",
"title": "Hands On The Rail",
"audio_url": "https://cdn.acedata2.cloud/suno/20eafedb-f0ec-4440-adcb-32d815b70824.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 257.6
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ Replace a Section
replace_section regenerates the selected section based on a time interval in the source song and stitches the result back into the original song. replace_section_result_mode defaults to full_song, returning 2 complete songs that can be played directly, with no need to call concat.
On the Suno website, select Edit → Replace section, and select the interval to replace on the waveform. The two time boxes below the waveform correspond to replace_section_start and replace_section_end.

¶ How to Fill in the Input
action:replace_section.audio_id: The ID of the complete song to edit. When editing again, use thedata[].idof the complete song selected from the previous edit, not thetask_id.model: The song generation model, such aschirp-v6.lyric: The new lyrics for the selected section. You do not need to provide the lyrics for the entire song to obtain a complete song.prompt: Explicitly specify the new lyrics for this replacement section. When changing lyrics, it is recommended to enter the same passage inlyricto avoid having the two fields specify different lyrics. Existing requests that provide only the section'slyricand omitpromptcan still be used, but addingpromptdoes not itself guarantee that the lyrics will be changed successfully.style,negative_tags: Optional style descriptions and exclusions; in this operation,promptis not an inspiration description as it is when creating a song normally.replace_section_start,replace_section_end: The start and end times of the selection in the source song for this edit, in seconds; decimals are supported. The start must not be less than 0, and the end must be greater than the start and must not exceed the duration of the source song.replace_section_result_mode:full_song(default) returns 2 complete songs;candidatesreturns 2 replacement candidates that have not yet been stitched.
Do not treat “lyric must contain the complete lyrics after replacement, and prompt must contain the lyrics for the section” as general usage. In some tasks, providing complete lyrics produces excessively long replacement content, making the entire song significantly longer after stitching. Providing lyrics for only the section also does not guarantee a fixed duration or word-for-word adherence to the lyrics; this is generative editing, so you need to check the actual audio.
¶ Start a Task and Obtain Complete Songs
The tested example below selects the interval from 8.5 seconds to 16.5 seconds. Replace audio_id and the start and end times with the complete song and selection you have confirmed by listening.
{
"action": "replace_section",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"replace_section_start": 8.5,
"replace_section_end": 16.5,
"lyric": "Blue boats glide beyond the bay",
"prompt": "Blue boats glide beyond the bay",
"async": true
}
After submission, use the returned task_id to query /suno/tasks, with the request body {"action":"retrieve","id":"YOUR_TASK_ID"}. Once the task is complete, obtain the id, audio_url, and duration of the two complete songs from response.data in the task response, then listen to them and select one. success: true means the task executed successfully; it does not mean that the new lyrics were sung word for word or that the duration meets expectations.
The following is an excerpt of the two complete songs returned in a test of the default mode.
{
"success": true,
"task_id": "8616c06a-2b00-4c0e-be1d-42b529783cd4",
"trace_id": "2219245a-188a-4b92-b852-4d4ec2a09ff9",
"data": [
{
"id": "cc1074ab-16a5-4dc6-bfe0-5f993094e536",
"title": "Window Lights",
"lyric": "[Verse]\nBlue boats glide beyond the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/cc1074ab-16a5-4dc6-bfe0-5f993094e536.mp3",
"created_at": "2026-11-30T18:12:12.903Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 46.4
},
{
"id": "4930f34e-2ce5-41c5-b318-3e28eefe2cde",
"title": "Window Lights",
"lyric": "[Verse]\nBlue boats glide beyond the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/4930f34e-2ce5-41c5-b318-3e28eefe2cde.mp3",
"created_at": "2026-11-30T18:12:13.509Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 47.6
}
],
"cost": {
"amount": 0.72,
"currency": "credit",
"list_amount": 0.8
}
}
¶ Selection, Result Checking, and Further Editing
- First listen to the source song, then use the timing information from
/suno/timingto determine the selection, covering complete musical phrases whenever possible. Do not select a range using fixed indices in the lyrics array, or replace a section containing more musical phrases with only a few lines of lyrics and expect the rhythm to remain unchanged. - Keep the number of lines, word count, and rhythm of the new lyrics as close as possible to the original content in the selected range. Even when changing only a few words, listen to verify the result; this alone cannot guarantee success.
- Check whether the new words are sung in the target range, whether the transitions before and after it sound natural, and whether the full song's duration is reasonable.
full_songmeans the complete song is returned, not that it has the same length as the original; if the replacement segment becomes longer, the latter part shifts accordingly. Thedurationrequest parameter is used only for regular generation and cannot lock the duration of a replacement segment. - The returned
lyricis lyrics metadata. In full-song mode, the complete lyrics are assembled when timing information for the source lyrics is available; otherwise, it may be empty. It is not an audio transcription, and the presence of new words does not prove that they are sung in the audio. Timing alignment information should also be checked by listening, especially for previously edited results. - When editing again, use the selected complete result ID as the new
audio_id, and recheck that result's duration and selected range. Do not reuse the time coordinates from before the edit, or directly use the entirelyricreturned last time as the local input for this edit.
If the task has completed but the old words are still sung, words are omitted, or the result is significantly longer, first check the source song ID, selected range, and local lyrics, then check the other result. Increasing the task polling frequency will not change the generated content. If the issue persists, retain the task_id, source song ID, request fields, selected range, and result audio for troubleshooting.
¶ Optional: Obtain candidates first, then concatenate manually
Set replace_section_result_mode: "candidates" only when you need to choose a replacement candidate yourself. Candidates may include context, so do not treat a candidate as a complete song based solely on its duration. After selecting one, call concat with the candidate's data[].id to obtain the complete result.
The default full_song mode has already completed the concatenation, so this step is not necessary.
¶ Vocal and Instrumental Separation
Billing: After action=stems succeeds, the standard charge per request is 0.56 Credits; vocals and accompaniment returned by the same request are counted together as one. Applicable usage discounts are determined by the actual bill, and failed requests are not charged. all_stems and extract_stem are billed at their respective rates.
On the official website, select Edit → Get stems to open Extract Stems and MIDI. Through the API, use stems when you only need to separate vocals and accompaniment, and use all_stems below when you need more independent instrument tracks.
After generating a song, if you need to create a derivative work by manipulating the accompaniment and vocals separately, you can separate the instrumental accompaniment and isolated vocals. You can specify the following:
- action: Set to
stems. - audio_id: The ID of the previously generated song.
For example, initiate a separation request using the original song 3f8c1800-7a96-4a2b-811f-5fee716a9e32.
{
"action": "stems",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32"
}
With the above parameters, you can obtain the vocal and instrumental separation results, as follows:
{
"success": true,
"task_id": "269799ed-e450-44ae-a3cc-491f3073e604",
"trace_id": "39c95376-0fda-4453-969d-fa72a3b6c722",
"data": [
{
"id": "316898fd-a7ac-4c2a-9190-7a88aa02fcaa",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/316898fd-a7ac-4c2a-9190-7a88aa02fcaa.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "08cc9c7a-9014-4c16-8f3f-d1d449673d2b",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/08cc9c7a-9014-4c16-8f3f-d1d449673d2b.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "86718589-8382-49d7-8aae-0656b6da3a1d",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/86718589-8382-49d7-8aae-0656b6da3a1d.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "bb125c17-cbf4-46e1-b48b-f457bea9f389",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/bb125c17-cbf4-46e1-b48b-f457bea9f389.mp3",
"created_at": "2026-11-30T18:05:01.768Z",
"state": "succeeded",
"duration": 47.6
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
The generated results are similar to those above, completing the process of separating the vocals and accompaniment of the previously generated song.
¶ Full-Track Vocal and Instrumental Separation
On the official website, select Auto split in the Extract Stems and MIDI dialog for automatically splitting multiple independent audio tracks.

The task waits until all audio tracks have been generated before returning a successful terminal state. A playable URL appearing during processing does not mean the entire set of tracks is complete. The standard charge for each successful full-track separation request is 1.6 Credits. Even if preview URLs appear during processing, you must wait for the task to finish before retrieving the full set of tracks.
After generating a song, when you need to perform full-track vocal and instrumental separation, you can specify the following:
- action: The value is
all_stems. - audio_id: The ID of the previously generated song.
For example, separate all stems from the source song 3f8c1800-7a96-4a2b-811f-5fee716a9e32. The selected track's data[].id can be used as input for MIDI extraction. MIDI Extraction
{
"action": "all_stems",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32"
}
The above parameters produce the result of separating all stems, as follows:
"success": true,
"task_id": "36358e35-a2d5-4406-82a3-8ff9636c8959",
"trace_id": "012a7311-f7cd-40c8-8939-aa682249bcad",
"data": [
{
"id": "72707f4d-d3fd-4c90-a0ca-696480666842",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/b0bf4d5fafce804a93ac0f7ad9c64dd75ea09ea0ae934d01fefba1bff2eb1eee.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "41852f08-1d98-4cc6-b3a7-8438580cb2fb",
"title": "(Backing Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/28a43f6215fd8bcf13b17c591d6d465ce0227349e9a4d8ea4a624f715549f396.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "57e07045-43bb-40b3-9989-d57e0083339e",
"title": "(Drums)",
"audio_url": "https://cdn.acedata2.cloud/suno/c2058a6a6844a72a4a80fe1b90bbe4596342f1dc417a882d5045f3626615d8d9.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "b568865b-57e1-4bc5-a541-5f652419b84f",
"title": "(Bass)",
"audio_url": "https://cdn.acedata2.cloud/suno/3f840e1be98c3166b841519c9de967dd8985be22aa7cf578cbb9b198265e6d5d.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "b241d1f8-3141-4772-8bb3-4ca007258e14",
"title": "(Guitar)",
"audio_url": "https://cdn.acedata2.cloud/suno/9a01856b7df6f1198f07009de62178fcf96a331d7b544401085971e7dae0a113.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "f34e809a-ce8e-4724-9bcf-0b6fad45966c",
"title": "(Keyboard)",
"audio_url": "https://cdn.acedata2.cloud/suno/1e4eda67c22c42a88ad20200d6f293f95e319c4607cb8ef4067a47d235991beb.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "8c9c14c8-c243-4794-ad33-147f31b76fde",
"title": "(Percussion)",
"audio_url": "https://cdn.acedata2.cloud/suno/5eb662d60f36f71f1860ec7852174254807e089601c42887a3ccb5f1db7b7c64.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "648491b5-6294-4010-b35d-a638f2dc285f",
"title": "(Strings)",
"audio_url": "https://cdn.acedata2.cloud/suno/2997d2534a1395e74c10a0039895d76665397d8fd186a297324270d482fef656.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "a8e86ddb-8e35-44c2-a61c-0b72f0c5bc08",
"title": "(Synth)",
"audio_url": "https://cdn.acedata2.cloud/suno/4efddd81cd03b51e9f8c28a4af78ee2bba0d8ff8bb2f159b2ff9d17cdd7c966f.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "49f363d9-769e-4e96-8651-9e5b3ae85361",
"title": "(FX)",
"audio_url": "https://cdn.acedata2.cloud/suno/75457e8ee8d89b44035ca069668cb39e402e91cec772dbef02b196981c81f5bd.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "16a6f2b1-7add-40a9-b746-321f92005991",
"title": "(Brass)",
"audio_url": "https://cdn.acedata2.cloud/suno/8fd176374ef70383edfaaacd22de3cc8737d029393283cb3167e6d1fa68322f1.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "5fcddae2-d081-47e3-847c-61c69851bdfe",
"title": "(Woodwinds)",
"audio_url": "https://cdn.acedata2.cloud/suno/df44088f262c58ba6edee0216450dc71533f682f9d4a77865916c28f6fa03cbb.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
},
{
"id": "9372a7d2-5e62-430a-a243-2a44ee25f24d",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/9ce56fd9ab3f403cd1e4db565e1c400400e4a1c3318c48d780286bcfbc1066c1.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "1556bc3d-56de-4c62-878e-9f9d1d1872a1",
"title": "(Backing Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/e60e61f565f8b1b24517881ac7992f61ad4d8d517965907151289bc1fde1f8df.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "aa280b4c-27b3-4e6a-ad55-f1fc1e0b139f",
"title": "(Drums)",
"audio_url": "https://cdn.acedata2.cloud/suno/72c5145ed4ec2963be8b5ce76c44462d63add6f899deae610901ae89910d3c25.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "6e7bc012-82d3-4320-9584-65d3c7c7acd1",
"title": "(Bass)",
"audio_url": "https://cdn.acedata2.cloud/suno/6beac0c0ad82ea676c31787de84ff2c51d1ef944bd8c772204b84ce37eadb880.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "a45c3d09-122c-419a-a78c-5cf8888c6513",
"title": "(Guitar)",
"audio_url": "https://cdn.acedata2.cloud/suno/824dd2be231d01a36c5e6a9230636f7890034e47408c40cdb7a126450b98fbff.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "4b57e164-b18b-4488-abc9-fd5fc1d1282a",
"title": "(Keyboard)",
"audio_url": "https://cdn.acedata2.cloud/suno/222495df0dc443ad4fa5a70db7d20f67ee044ed2a687e33ddd943496539ec217.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "44ff0ac0-df04-4910-ba19-198511d289a4",
"title": "(Percussion)",
"audio_url": "https://cdn.acedata2.cloud/suno/d07ba9228004a8e77d8e1b847067094fa64aef81fa7dcaf19ab97dd600d6045d.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "c25fa87b-d2ad-43a5-8fcc-33c30bfafd87",
"title": "(Strings)",
"audio_url": "https://cdn.acedata2.cloud/suno/52e8146f16a787522c9f1bcdc53312768a5a1d109a1107b1875cabd958d0c083.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "d9de2c63-894e-4f6f-af6e-419aff8a9c4a",
"title": "(Synth)",
"audio_url": "https://cdn.acedata2.cloud/suno/d691e4e4c43c323f600d0d86e4867497bb15ee5950b8d636ad59f6127a6a3628.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "beaeb6d8-6145-423b-a2ac-5cd89eba88a3",
"title": "(FX)",
"audio_url": "https://cdn.acedata2.cloud/suno/624952ce80227d3b9f5b0d4a9b6e662ccf6af9a486a5b3dc8910201916888cd1.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "3f8c3548-7f59-4ca4-a5f8-35d4e9cd41a0",
"title": "(Brass)",
"audio_url": "https://cdn.acedata2.cloud/suno/ce61374a0b7377815345e7eeb0d6132be3ed3c1a02a22a4e809a5702bdba9114.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}, {
"id": "2ea4d9e2-1836-4dcc-ab4d-786e019f8b03",
"title": "(Woodwinds)",
"audio_url": "https://cdn.acedata2.cloud/suno/cade07b8d2b55bfe76e8789e17951997b6bf4c5f9089a21573598992c712e19b.mp3",
"created_at": "2026-11-30T18:05:02.631Z",
"state": "succeeded",
"duration": 47.6
}
],
"cost": {
"amount": 1.44,
"currency": "credit",
"list_amount": 1.6
}
}
The generated result is similar to the above, completing the process of separating the vocals and instrumentals of the previously generated song.
¶ Add a Track
add_stem generates a target instrument or vocal track for the specified audio and is called via POST /suno/audios.
The official Suno Studio tutorial demonstrates adding a track at the bottom of the timeline, then using Create to generate a new instrument track for an existing arrangement. Suno Studio tutorial
-
Required:
action,audio_id,stem_type.stem_typecan bevocals,backing_vocals,drums,bass,guitar,keyboard,percussion,strings,synth,fx,brass, orwoodwinds. These values are also used when extracting a specified stem. -
Optional:
model,prompt,title,style,negative_tags,weirdness,style_influence,audio_weight,max_mode,variety. -
Billing: 0.672 Credits in normal mode; 1.344 Credits when
max_modeistrue.
{
"action": "add_stem",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"stem_type": "strings",
"prompt": "Quiet cello counter-melody",
"async": true
}
Final-state response:
{
"success": true,
"task_id": "af1493f7-18d1-4027-a1a1-79b8443c9349",
"trace_id": "2c1bc14e-df12-4ed4-b505-39c821b9d878",
"data": [
{
"id": "280c819e-eb70-4e3c-b57e-749597771d30",
"title": "Cello Counter-Melody",
"lyric": "Quiet cello counter-melody",
"audio_url": "https://cdn.acedata2.cloud/suno/280c819e-eb70-4e3c-b57e-749597771d30.mp3",
"created_at": "2026-11-30T18:05:01.740Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 48
},
{
"id": "6e419425-9892-4fce-b44b-3884db5db7d5",
"title": "Cello Counter-Melody",
"lyric": "Quiet cello counter-melody",
"audio_url": "https://cdn.acedata2.cloud/suno/6e419425-9892-4fce-b44b-3884db5db7d5.mp3",
"created_at": "2026-11-30T18:05:01.740Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6
}
],
"cost": {
"amount": 0.6048,
"currency": "credit",
"list_amount": 0.672
}
}
¶ Extract Stems
extract_stem extracts the target stem from the specified audio and also returns a complementary version with that stem removed; it is called via POST /suno/audios.
On the official website, select Split from mix in the Extract Stems and MIDI dialog, then select the stem to extract. The image uses lead vocals as an example, with the remaining mix displayed on the right.

- Required:
action,audio_id,stem_type. - Optional:
audio_format; the current public two-channel contract only supportsmp3. - Billing: 1.12 Credits.
{
"action": "extract_stem",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"stem_type": "vocals",
"audio_format": "mp3",
"async": true
}
In the final-state response, data retains a flat list of audio items, and stem_sets represents the correspondence between the target stem and the complementary stem:
{
"success": true,
"task_id": "fa4e30e0-0aff-4387-8cb1-1cbeaecb3af3",
"trace_id": "47310496-7818-4e8c-b90d-8b0bcf683351",
"data": [
{
"id": "74744dc1-3d94-4dca-b5bd-7fbb90559c1e",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/74744dc1-3d94-4dca-b5bd-7fbb90559c1e.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
},
{
"id": "dcd7249a-0cac-40f5-a354-c3974447831a",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/dcd7249a-0cac-40f5-a354-c3974447831a.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
},
{
"id": "505d4be6-7412-413a-8651-dd545f3a7cbf",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/505d4be6-7412-413a-8651-dd545f3a7cbf.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
},
{
"id": "96dbed16-4559-45d1-b5a7-356646217ec5",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/96dbed16-4559-45d1-b5a7-356646217ec5.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
}
],
"stem_sets": [
{
"stem_type": "vocals",
"isolated": {
"id": "74744dc1-3d94-4dca-b5bd-7fbb90559c1e",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/74744dc1-3d94-4dca-b5bd-7fbb90559c1e.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
},
"remainder": {
"id": "dcd7249a-0cac-40f5-a354-c3974447831a",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/dcd7249a-0cac-40f5-a354-c3974447831a.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 1
}
},
{
"stem_type": "vocals",
"isolated": {
"id": "505d4be6-7412-413a-8651-dd545f3a7cbf",
"title": "(Vocals)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/505d4be6-7412-413a-8651-dd545f3a7cbf.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
},
"remainder": {
"id": "96dbed16-4559-45d1-b5a7-356646217ec5",
"title": "(Instrumental)",
"audio_url": "https://cdn.acedata2.cloud/suno/96dbed16-4559-45d1-b5a7-356646217ec5.mp3",
"created_at": "2026-11-30T18:05:02.527Z",
"model": "chirp-v6",
"state": "succeeded",
"duration": 47.6,
"stem_set": 2
}
}
],
"cost": {
"amount": 1.008,
"currency": "credit",
"list_amount": 1.12
}
}
¶ Generate Sound Effects
sounds generates one-shot or loopable sound effects from a text description and is called through POST /suno/audios.
It corresponds to Create → Sounds on the official website, where you can select One-Shot or Loop, then set the tempo and key.

- Required:
action,sound,sound_type. - Optional:
model,bpm,key,audio_format;audio_formatcurrently only supportsmp3.
bpm can be an integer from 1 to 300, and key can use standard key notation such as Dm.
sound_type:one-shotorloop.- Cost: 0.112 Credits.
{
"action": "sounds",
"model": "chirp-v6",
"sound": "One soft bell hit with a very short room tail",
"sound_type": "one-shot",
"audio_format": "mp3",
"async": true
}
{
"success": true,
"task_id": "07ecdbad-7aec-42f0-a635-f4b79961b92f",
"trace_id": "5ddef2e4-479f-475a-89c3-eebe651c4d28",
"data": [
{
"id": "9e6920c3-3f0a-48aa-b37e-64a4ac64abcd",
"title": "One soft bell hit with a very short room tail",
"audio_url": "https://cdn.acedata2.cloud/suno/9e6920c3-3f0a-48aa-b37e-64a4ac64abcd.mp3",
"created_at": "2026-11-30T18:05:02.350Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "one-shot, One soft bell hit with a very short room tail",
"duration": 2.8
},
{
"id": "ec8db770-6080-4a91-a198-83788cff392f",
"title": "One soft bell hit with a very short room tail",
"audio_url": "https://cdn.acedata2.cloud/suno/ec8db770-6080-4a91-a198-83788cff392f.mp3",
"created_at": "2026-11-30T18:05:02.350Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "one-shot, One soft bell hit with a very short room tail",
"duration": 2.4
}
],
"cost": {
"amount": 0.1008,
"currency": "credit",
"list_amount": 0.112
}
}
¶ Adjust audio speed
adjust_speed adjusts the playback speed of the specified audio and is called through POST /suno/audios.
This corresponds to Edit → Adjust speed in the song menu on the official website. The speed control and Keep Pitch switch on the audio card correspond to speed_multiplier and keep_pitch, respectively.

- Required:
action,audio_id,speed_multiplier,title. - Optional:
keep_pitch. speed_multiplier: Range 0.25–4.- Cost: 0.28 Credits.
{
"action": "adjust_speed",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"speed_multiplier": 1.15,
"keep_pitch": true,
"title": "Window Lights (faster)",
"async": true
}
This time, the 47.6-second original track was set to 1.15x speed, and the returned result was approximately 41.39 seconds long.
{
"success": true,
"task_id": "d0b470bc-3167-41a4-a563-e22efb3abd2b",
"trace_id": "e0288e22-d7c7-40ed-8dc7-cd85f12e253b",
"data": [
{
"id": "e35ef50f-c386-4d78-8ec4-b8d44252a993",
"title": "Window Lights (faster)",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/e35ef50f-c386-4d78-8ec4-b8d44252a993.mp3",
"created_at": "2026-11-30T18:05:01.352Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"duration": 41.3913125
}
],
"cost": {
"amount": 0.252,
"currency": "credit",
"list_amount": 0.28
}
}
Generative models are stochastic. The API guarantees consistency in parameter semantics, task status, and response structure, but does not guarantee that different requests will generate identical waveforms.
¶ Advanced parameters for custom generation
Open More Options in Advanced mode on the official website. Weirdness corresponds to weirdness, and Style Influence corresponds to style_influence.

The cover form with reference audio also shows Audio Influence, which corresponds to audio_weight. These three weight fields take values from 0 to 1 in the API and are displayed as percentages on the official website.

These values can be set in the custom generation parameters. The code below demonstrates two percentage controls and excluded styles.
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "generate",
"model": "chirp-v6",
"custom": True,
"title": "Window Lights",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
"weirdness": 0.35,
"style_influence": 0.8,
"negative_tags": "heavy distortion",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Once generation is complete, read the two candidates in data following the basic usage process. The following is an excerpt from the tested final state for this set of advanced parameters.
{
"success": true,
"task_id": "c400fcab-e6b1-4311-91a8-832d096ac797",
"trace_id": "114383d0-d9be-41c9-95ba-2729e7c08fc3",
"data": [
{
"id": "d90c143f-871e-4f6d-8afe-ef4e525f35b5",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/d90c143f-871e-4f6d-8afe-ef4e525f35b5.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 55.6
},
{
"id": "9c7c7f9f-cf85-409a-bbf2-e76085347d5c",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/9c7c7f9f-cf85-409a-bbf2-e76085347d5c.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 62.72
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
When there is no reference audio or timbre, the effect of audio_weight may be reduced.
¶ Controlling Song Duration
On the official website, select Custom under Advanced → More Options → Duration to set the duration. The 1:30 shown in the image corresponds to duration: 90 in the tested request below.

By default, the model determines the duration of the generated song, usually between 30 seconds and 4 minutes. If you need a longer or shorter final product, you can use the duration parameter to specify the desired duration in seconds, as an integer between 10 and 360.
Here, this is demonstrated in a song generation request with custom: true. The model treats duration as the target duration. The two songs from the same request may also differ in length. If an exact length is required, you can trim the finished product afterward.
The corresponding Python code:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "generate",
"model": "chirp-v6",
"custom": True,
"duration": 90,
"title": "Window Lights",
"style": "Soft acoustic folk, fingerpicked guitar and brushed drums",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\n[Chorus]\nBring the morning home to me\nFold the stars into the sea",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
The request's duration is the target duration. The response's data[].duration is the actual duration of each song. In this V6 request, the target was 90 seconds, and the actual durations of the two candidates were 89.48 seconds and 89.56 seconds, respectively.
The API validates that duration is an integer from 10 to 360; it remains only a generation target, not a guarantee of the final length.
Excerpt from the tested final result.
{
"success": true,
"task_id": "1a01d321-6780-4d8e-8612-02a0fad33102",
"trace_id": "ffddaa23-a3dd-44de-aa4e-58a6e3f1ca2c",
"data": [
{
"id": "8603c0f3-a396-455c-b945-fb48e65bf014",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/8603c0f3-a396-455c-b945-fb48e65bf014.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 89.48
},
{
"id": "50487a72-bc9c-4511-93d7-e2949dfb00c0",
"title": "Window Lights",
"audio_url": "https://cdn.acedata2.cloud/suno/50487a72-bc9c-4511-93d7-e2949dfb00c0.mp3",
"model": "chirp-v6",
"state": "succeeded",
"duration": 89.56
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
¶ Add Instrumental Feature
Add Instrumental can add accompaniment to a cappella vocals. On the official website, import the a cappella audio via + Audio → Upload under Create → Songs → Advanced, then select Edit instruments in the upper-right corner of the audio card. The API uses the audio_id returned by the upload. Suno Upload API

The tested request below uses uploaded a cappella audio.
After uploading, record the returned data.audio_id.
{
"success": true,
"task_id": "68d3a7d4-8b16-4339-a16f-df245819cbaf",
"data": {
"audio_id": "1f360814-4115-42d9-b196-9d513f4cd6fa"
}
}
The upload result in this example is audio_id: 1f360814-4115-42d9-b196-9d513f4cd6fa. You also need to fill in the following parameters.
- action: The value is
underpainting. - underpainting_start: The start time for adding accompaniment to the uploaded song; the default is 0.
- underpainting_end: The end time for adding accompaniment to the uploaded song; it must be less than the song's total duration.
- audio_id: The ID of the uploaded a cappella song without accompaniment.
- style: The style of the accompaniment; it is best not to use lyrics, since this is accompaniment.
The corresponding Python code is as follows.
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "underpainting",
"model": "chirp-v6",
"audio_id": "1f360814-4115-42d9-b196-9d513f4cd6fa",
"style": "Soft acoustic folk, fingerpicked guitar",
"underpainting_end": 20,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result as follows:
{
"success": true,
"task_id": "ad95f427-f6bd-4cea-901a-83ce4b35c547",
"trace_id": "866ab30e-e1bd-4572-adad-3db9cdaf1036",
"data": [
{
"id": "335eb864-7259-408f-930b-7b14f48704e6",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/335eb864-7259-408f-930b-7b14f48704e6.mp3",
"created_at": "2026-11-30T18:14:21.553Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar",
"duration": 20
},
{
"id": "0eda172d-6284-411c-9cfb-7428ed571707",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/0eda172d-6284-411c-9cfb-7428ed571707.mp3",
"created_at": "2026-11-30T18:14:21.553Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk, fingerpicked guitar",
"duration": 19.56
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
This completes the process of adding accompaniment to the uploaded a cappella song without accompaniment, with results similar to those above.
¶ Add Vocals Feature
Add Vocals can write and sing lyrics for an instrumental track. On the official website, go to Create → Songs → Advanced and import the instrumental track via + Audio → Upload, select Edit vocals on the audio card, and enter the lyrics to be sung in Lyrics below. The API uses the audio_id returned by the upload. Suno Upload API

The image uses a demo song to show the selected editing mode. The tested request below uses the uploaded instrumental audio.
After uploading, record the returned data.audio_id.
{
"success": true,
"task_id": "8137181d-bafb-4cc3-aa9c-5db843d8815b",
"data": {
"audio_id": "48782d61-b915-447f-a042-f744d46fa7d9"
}
}
The instrumental track's audio_id in this example is 48782d61-b915-447f-a042-f744d46fa7d9. Then fill in the following parameters.
- action: Set to
overpainting. - overpainting_start: The start time for adding vocals to the uploaded song; the default is 0.
- overpainting_end: The end time for adding vocals to the uploaded song; it must be less than the song's total duration.
- audio_id: The uploaded instrumental track's ID.
- custom: Custom mode can be explicitly enabled when entering lyrics.
- lyric: The lyrics entered in custom mode.
- style: The style of the instrumental track.
The corresponding Python code is as follows.
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "overpainting",
"model": "chirp-v6",
"audio_id": "48782d61-b915-447f-a042-f744d46fa7d9",
"lyric": "Blue boats glide beyond the bay",
"style": "Soft acoustic folk",
"overpainting_end": 20,
"custom": True,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result as follows:
{
"success": true,
"task_id": "ba3841ca-651b-4ee7-86ed-f74184c3c66d",
"trace_id": "ca82996b-d3e9-4295-a04f-f242ddc44616",
"data": [
{
"id": "c8751c2c-802b-4a04-b6c1-442999148876",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/c8751c2c-802b-4a04-b6c1-442999148876.mp3",
"created_at": "2026-11-30T18:14:21.639Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 21.96
},
{
"id": "554e555d-c31a-4fb4-ab6f-9434f3863bfc",
"title": "Morning on the Porch",
"audio_url": "https://cdn.acedata2.cloud/suno/554e555d-c31a-4fb4-ab6f-9434f3863bfc.mp3",
"created_at": "2026-11-30T18:14:21.639Z",
"model": "chirp-v6",
"state": "succeeded",
"style": "Soft acoustic folk",
"duration": 19.44
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
After adding vocals, select the desired song from the two results.
¶ Remaster Feature
Remaster can remaster an existing song. It corresponds to Edit → Remaster on the official website. Variation in the pop-up corresponds to variation_category. The API uses a source song ID that this application can process.

- action: Set to
remaster. - audio_id: The ID of the song to be regenerated.
- model: Omit this field from the request.
- variation_category: The remaster intensity; it can be
subtle,normal(default), orhigh.
The corresponding Python code is as follows.
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "remaster",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"variation_category": "normal",
"async": True,
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
On success, as with other song operations, obtain the remastered result from data[].id and data[].audio_url. The following is an excerpt of a failed final state retrieved from a remaster test.
{
"success": false,
"task_id": "add2ba31-609e-48ca-9933-5711a88067fe",
"trace_id": "47579d6e-185f-462e-83d2-6c827675e58d",
"error": {
"code": "timeout",
"message": "timeout while waiting for audio generation"
}
}
If the remaster times out, query using the original task_id. Please retain the trace_id and source song ID for troubleshooting.
¶ Mashup Generation Feature
Mashup can generate a mashup based on two or more reference songs. After selecting Remix → Mashup from the finished song's menu on the official website, you can select two songs in the audio card.

- action: Set to
mashup. - mashup_audio_ids: The IDs of at least two reference songs.
- prompt: Optional, used to suggest a direction for the mashup.
The corresponding Python code is as follows.
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "mashup",
"model": "chirp-v6",
"mashup_audio_ids": ["3f8c1800-7a96-4a2b-811f-5fee716a9e32", "ebafbeeb-9bdb-4b28-9c03-6a09734ba6df"],
"prompt": "Gentle acoustic folk",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result as follows:
{
"success": true,
"task_id": "5e229f57-5912-47fd-b7db-7a7b778de356",
"trace_id": "0c86539d-5931-46fb-a19f-a57ee5e20cc4",
"data": [
{
"id": "242ce421-8e5d-45c8-83d4-98fb7264a90a",
"title": "Open Window Cello",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/242ce421-8e5d-45c8-83d4-98fb7264a90a.mp3",
"created_at": "2026-11-30T18:05:02.391Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Gentle acoustic folk",
"style": "Acoustic folk with a gentle 6/8 sway and fingerpicked guitar leading the pulse; verse feels sparse and intimate, pre-chorus opens with soft brushed percussion and warm low strings, chorus blooms into layered acoustic strums and a fragile hummed melody. Airy room vocals, light harmony doubles, reverse guitar swells, creaking chair detail, intimate close-mic mix with natural wood warmth., folk, gentle, acoustic",
"duration": 187.96
},
{
"id": "12fcfa48-fd9c-4b05-92e7-efef411b4804",
"title": "Open Window Cello",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/12fcfa48-fd9c-4b05-92e7-efef411b4804.mp3",
"created_at": "2026-11-30T18:05:02.391Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Gentle acoustic folk",
"style": "Acoustic folk with a gentle 6/8 sway and fingerpicked guitar leading the pulse; verse feels sparse and intimate, pre-chorus opens with soft brushed percussion and warm low strings, chorus blooms into layered acoustic strums and a fragile hummed melody. Airy room vocals, light harmony doubles, reverse guitar swells, creaking chair detail, intimate close-mic mix with natural wood warmth., folk, gentle, acoustic",
"duration": 198.76
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
This completes the operation of generating a remix from a reference song, with results similar to those above.
¶ Samples: Generate Songs by Sampling
Here, samples refers to sampling a segment of a single audio track: select the start and end times from an existing audio track and use that segment as sample material for creation. It differs from the Inspo feature described below, which uses 1 to 4 complete reference audio tracks for inspiration. The following parameters are required:
- action: Set to
samples. - samples_start: Sample start time (in seconds), defaults to 0 and must not be less than 0.
- samples_end: Sample end time (in seconds), required and must be greater than the start time.
- audio_id: The ID of the reference song to sample.
This corresponds to Remix → Sample this song on the official website. The start and end times under Selection below the waveform correspond to samples_start and samples_end. Use the actual duration of the current song to determine the sampling range.

The selection used in the API test below is from 1 to 7 seconds. The corresponding Python code is as follows.
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "samples",
"model": "chirp-v6",
"audio_id": "3f8c1800-7a96-4a2b-811f-5fee716a9e32",
"samples_start": 1.0,
"samples_end": 7.0,
"prompt": "Sunlit folk and gentle hand percussion",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Click Run, and you will get a result as follows:
{
"success": true,
"task_id": "4bb808f2-c6ea-4739-8ea0-e57427e600fe",
"trace_id": "7969e486-fd68-44e9-a605-2eeb9355caf8",
"data": [
{
"id": "c0858070-d39a-4fd8-8722-61e816cdccc2",
"title": "Cedar Morning",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/c0858070-d39a-4fd8-8722-61e816cdccc2.mp3",
"created_at": "2026-11-30T18:05:01.689Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Sunlit folk and gentle hand percussion",
"style": "Folk with a sunlit 92 BPM sway, brushed acoustic guitar carrying the verse, soft hand percussion and upright bass joining on the lift; chorus opens with harmony guitar strums, airy mandolin filigree, and a warm shaker pulse. Bridge strips to fingerpicked guitar and thumb taps, then final pass blooms with tambourine and subtle group hums. Bright, intimate, wood-grain mix., folk, gentle",
"duration": 152.8
},
{
"id": "7618fbbe-caf7-4754-bd3f-170022069174",
"title": "Cedar Morning",
"lyric": "[Instrumental]",
"audio_url": "https://cdn.acedata2.cloud/suno/7618fbbe-caf7-4754-bd3f-170022069174.mp3",
"created_at": "2026-11-30T18:05:01.689Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Sunlit folk and gentle hand percussion",
"style": "Folk with a sunlit 92 BPM sway, brushed acoustic guitar carrying the verse, soft hand percussion and upright bass joining on the lift; chorus opens with harmony guitar strums, airy mandolin filigree, and a warm shaker pulse. Bridge strips to fingerpicked guitar and thumb taps, then final pass blooms with tambourine and subtle group hums. Bright, intimate, wood-grain mix., folk, gentle",
"duration": 168
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
This completes the operation of generating songs by sampling, with results similar to those above.
¶ Inspo: Inspiration-Based Creation
The Inspo feature can generate new music based on 1 to 4 complete reference audio tracks and supports dragging and dropping or uploading audio as inspiration sources. The API uses the existing inspo action: the client provides publicly accessible audio URLs, and the service automatically prepares the reference audio and creates the music, without requiring the client to separately read the lyrics, style, or duration and assemble the request. It differs from the segment sampling described above and from Cover, which reproduces the style of the original song. The following parameters are required:
- action: The value is
inspo. - audio_urls: A list of reference audio URLs; 1 to 4 publicly accessible audio addresses must be provided.
- model: The model to use;
chirp-v6is recommended. - prompt: Lyrics or creative prompt (optional).
- instrumental: When set to
true, generates an instrumental track without lyrics. - persona_id: Uses the specified voice on a service channel that supports this combination; the reference audio is bound to the resource environment required by that voice during preparation.
- lyric_prompt: Used to automatically generate lyrics when
custom=trueandlyricis not provided.
Note: Reference audio must be a publicly accessible audio file. If the reference audio exactly matches a known recording in the platform's music library, Suno may reject the generation due to copyright checks. Using your own audio or audio generated by Suno as an inspiration source is recommended.
On the official website, you can enter the audio card's Inspo mode from the song menu via Remix → Use as inspiration. You can also drag other tracks below the card as full-length references.

The corresponding Python code:
import os
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": f"Bearer {os.environ['API_KEY']}",
"content-type": "application/json",
}
payload = {
"action": "inspo",
"model": "chirp-v6",
"audio_urls": ["https://cdn.acedata2.cloud/suno/3f8c1800-7a96-4a2b-811f-5fee716a9e32.mp3", "https://cdn.acedata2.cloud/suno/e4218e38-3e6f-4e47-93d8-bb15bedcafbd.mp3"],
"prompt": "Rework these references as warm acoustic folk with soft vocals",
}
response = requests.post(url, json=payload, headers=headers, timeout=180)
print(response.text)
Below is an excerpt of the final result from a V6 inspiration creation test.
{
"success": true,
"task_id": "a6fd0b9c-811a-4b67-af38-37c7de46849e",
"trace_id": "f3cc2e70-ca82-45a6-af06-6c14340cdef6",
"data": [
{
"id": "386bfdc1-5606-45fa-8077-6cba30355382",
"title": "Come Home by the Water",
"lyric": "[Verse 1]\nWindow lights across the bay\nGuide the boats that drift away\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/386bfdc1-5606-45fa-8077-6cba30355382.mp3",
"created_at": "2026-11-30T18:06:25.242Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Rework these references as warm acoustic folk with soft vocals",
"style": "Warm acoustic folk, intimate fingerpicked steel-string guitar, soft brushed percussion, mellow upright bass, subtle close harmony, gentle female lead vocal, calm unhurried pulse, organic room ambience, restrained dynamics with a fuller final refrain, natural close-miked mix",
"duration": 264.8
},
{
"id": "0ab926b9-ca32-41a6-83fc-e7fffdf8607c",
"title": "Fold the Stars into the Sea",
"lyric": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away\nBring the morning home to me\nFold the stars into the sea",
"audio_url": "https://cdn.acedata2.cloud/suno/0ab926b9-ca32-41a6-83fc-e7fffdf8607c.mp3",
"created_at": "2026-11-30T18:06:25.242Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "Rework these references as warm acoustic folk with soft vocals",
"style": "Warm acoustic folk, intimate soft female lead vocal, fingerpicked steel-string guitar and mellow strummed acoustic guitar, subtle upright bass, restrained brushed percussion, close natural vocal with light room ambience. Begin with sparse guitar and voice, gradually add bass and soft percussion, open into a tender chorus, then settle into a quiet guitar-led outro; organic, warm, uncluttered mix.",
"duration": 208.4
}
],
"cost": {
"amount": 0.504,
"currency": "credit",
"list_amount": 0.56
}
}
This completes the inspiration creation process, and the returned result is the same as for a normally generated song.
¶ Asynchronous Callback
Since Suno takes a relatively long time to generate music, approximately 1–2 minutes, if the API does not respond for a long time, the HTTP request will keep the connection open, causing additional system resource consumption, so this API also supports asynchronous callbacks.
The overall process is: When the client initiates a request, it additionally specifies a callback_url field. After the client initiates the API request, the API immediately returns a result containing a task_id field, which represents the current task ID. When the task is complete, the generated music result is sent as POST JSON to the callback_url specified by the client, also including the task_id field, so the task result can be associated using the ID.
Below, we use an example to see how to do this.
Prepare a Webhook address that can receive POST JSON and pass it to callback_url. Setting only callback_url will submit the request asynchronously; you can also set async: true at the same time.
curl -sS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"action": "generate",
"model": "chirp-v6",
"prompt": "A song for Christmas",
"callback_url": "https://example.com/webhooks/suno"
}'
Click run, and you will immediately receive a result as follows:
{
"task_id": "c409f30d-4b2f-4ad9-8ae7-f394e367713d"
}
After the task is complete, the server sends the final-state JSON to the configured callback address. Below, the song result tested for this guide is used to demonstrate the final-state structure.
{
"success": true,
"task_id": "c409f30d-4b2f-4ad9-8ae7-f394e367713d",
"trace_id": "f9ff7920-2b74-4c69-867b-183cd41166fa",
"data": [
{
"id": "15b56d7a-1ad1-4dc6-bc74-79b102caceeb",
"title": "Room for One More Chair",
"lyric": "[Verse 1]\nThe kettle sings, the window steams\nA paper chain hangs slightly crooked\nYou set the old tin on the shelf\nAnd laugh at how the years have kept it",
"audio_url": "https://cdn.acedata2.cloud/suno/15b56d7a-1ad1-4dc6-bc74-79b102caceeb.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with film-score scale, a steady four-on-the-floor pulse, driving syncopated percussion, and a repeating cello ostinato. Begin with intimate piano and close, warm lead vocals; build through layered strings, brass swells, and wordless choir accents into a wide, uplifting final chorus. Polished, spacious mix with clear vocal focus and dynamic section lifts.",
"duration": 231.96
},
{
"id": "555bf85a-907c-4573-b6f3-e816c04aabb9",
"title": "Always Room for More",
"lyric": "[Intro]\n[Wordless vocals]\nOh—ah, oh—ah\n[Verse 1]\nSnow gathers softly on the windowpane",
"audio_url": "https://cdn.acedata2.cloud/suno/555bf85a-907c-4573-b6f3-e816c04aabb9.mp3",
"created_at": "2026-12-01T09:02:22.466Z",
"model": "chirp-v6",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "Cinematic Christmas pop with marathon-film scale, syncopated rhythmic drive, cello ostinato, four-on-the-floor pulse, and wordless vocal drops. Begin with a restrained cello figure and distant wordless voices; build into a broad, uplifting chorus with layered strings, punchy percussion, and a clear lead vocal. Use a brief countdown-style dropout before the final chorus, then finish with a full, resolved orchestral-pop ending. Polished, spacious mix with strong low-end and crisp rhythmic detail.",
"duration": 231.2
}
]
}
Associate callbacks with tasks by task_id and deduplicate repeated callbacks. When success is false in a callback, read the reason for the failure from error. Only when async: true can you query the task for free through Suno Tasks.
Of course, we can also retrieve results through a streaming call. We only need to set the value of accept in the request header to application/x-ndjson. The following example input demonstrates this:
curl -NsS -X POST 'https://api.acedata.cloud/suno/audios' \
-H "Authorization: Bearer $API_KEY" \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-ndjson' \
-d '{
"action": "generate",
"model": "chirp-v6",
"prompt": "A song for Christmas"
}'
While waiting, we can receive the following output:
{"success":true,"task_id":"c409f30d-4b2f-4ad9-8ae7-f394e367713d","data":[{"id":"15b56d7a-1ad1-4dc6-bc74-79b102caceeb","lyric":"A song for Christmas","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"pending","prompt":"A song for Christmas"},{"id":"555bf85a-907c-4573-b6f3-e816c04aabb9","lyric":"A song for Christmas","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"pending","prompt":"A song for Christmas"}]}
{"success":true,"task_id":"c409f30d-4b2f-4ad9-8ae7-f394e367713d","trace_id":"f9ff7920-2b74-4c69-867b-183cd41166fa","data":[{"id":"15b56d7a-1ad1-4dc6-bc74-79b102caceeb","title":"Room for One More Chair","lyric":"[Verse 1]\nThe kettle sings, the window steams\nA paper chain hangs slightly crooked\nYou set the old tin on the shelf\nAnd laugh at how the years have kept it","audio_url":"https://cdn.acedata2.cloud/suno/15b56d7a-1ad1-4dc6-bc74-79b102caceeb.mp3","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"succeeded","prompt":"A song for Christmas","style":"Cinematic Christmas pop with film-score scale, a steady four-on-the-floor pulse, driving syncopated percussion, and a repeating cello ostinato. Begin with intimate piano and close, warm lead vocals; build through layered strings, brass swells, and wordless choir accents into a wide, uplifting final chorus. Polished, spacious mix with clear vocal focus and dynamic section lifts.","duration":231.96},{"id":"555bf85a-907c-4573-b6f3-e816c04aabb9","title":"Always Room for More","lyric":"[Intro]\n[Wordless vocals]\nOh—ah, oh—ah\n[Verse 1]\nSnow gathers softly on the windowpane","audio_url":"https://cdn.acedata2.cloud/suno/555bf85a-907c-4573-b6f3-e816c04aabb9.mp3","created_at":"2026-12-01T09:02:22.466Z","model":"chirp-v6","state":"succeeded","prompt":"A song for Christmas","style":"Cinematic Christmas pop with marathon-film scale, syncopated rhythmic drive, cello ostinato, four-on-the-floor pulse, and wordless vocal drops. Begin with a restrained cello figure and distant wordless voices; build into a broad, uplifting chorus with layered strings, punchy percussion, and a clear lead vocal. Use a brief countdown-style dropout before the final chorus, then finish with a full, resolved orchestral-pop ending. Polished, spacious mix with strong low-end and crisp rhythmic detail.","duration":231.2}],"cost":{"amount":0.504,"currency":"credit","list_amount":0.56}}
Each line is an independent JSON object using the same task_id. success: true may also be returned while processing; please use the song states to identify progress. Shown here are the first progress update and the final terminal state observed in a V6 test. If the connection is interrupted, prioritize querying the terminal state using the original task ID.
¶ Error Handling
If an error occurs, you will receive an error message similar to the following:
{
"success": false,
"error": {
"code": "forbidden",
"message": "Song Description contained artist name: eminem"
},
"trace_id": "9bb7c2f4-3b7b-4965-b50a-f663874b1b6f",
"task_id": "9bb3a2a6-c438-436d-a9f3-fa466abc077c"
}
Below is a list of HTTP Status Code, error.code, and error.message:
The
stylelength limit varies by model; if a length error is returned, shorten the content and follow the limit specified in the response. | Status Code |error.code|error.message| | ----------- | ----------------------------- | ------------------------------------------------------------------------------------------ | | 400 |bad_request|The song id does not exist or has been taken offline.| | 400 |bad_request|Prompt too long.| | 400 |bad_request|Tags too long.| | 400 |bad_request|Uploaded audio matches existing work of art.| | 400 |bad_request|instrumental must be a boolean| | 400 |bad_request|Title too long.| | 400 |bad_request|Topic too long.| | 400 |bad_request|style must be less than or equal 120| | 400 |bad_request|custom must be a boolean| | 400 |bad_request|audio_id is required when extend audio| | 400 |bad_request|continue_at is required when extend audio| | 400 |bad_request|continue_at must be a number greater than 0| | 400 |bad_request|lyric is required when extend audio and instrumental is false| | 400 |bad_request|prompt is required when generate audio| | 400 |bad_request|lyric is required when generate custom audio| | 403 |forbidden|Prompt likely malformed| | 403 |forbidden|Prompt likely copyrighted| | 403 |forbidden|Prompt contained inappropriate material| | 403 |forbidden|Song Description flagged for moderation| | 403 |forbidden|Song Description contained artist name| | 403 |forbidden|Tags contained artist name| | 403 |forbidden|Lyrics contained copyrighted material| | 403 |forbidden|Song Description contained producer tag| | 403 |forbidden|Prompt flagged for moderation| | 429 |too_many_requests|Too many requests. Please try again later.| | 500 |api_error|Unable to generate lyrics from song description| | 500 |api_error|job failed with unknown error| | 500 |api_error|service under maintenance, generation paused| | 500 |api_error|the account may have been offline| | 500 |suno_processing_unavailable|Music processing is unavailable. Contact support with the trace ID.| | 500 |suno_model_unavailable|The selected model is unavailable for this operation. Contact support with the trace ID.| | 500 |suno_processing_failed|Music processing returned no audio. Contact support with the trace ID.| | 504 |timeout|timeout while waiting for audio generation|
For temporary rate limits where the request has clearly not yet been accepted, the platform may wait and retry a limited number of times within the time budget for the current request. If 429 (too_many_requests) is still returned, please try again later; failed requests are not charged.
When using async=true or callback_url, receiving a task_id only means that the task has been created; it does not mean that generation was successful. Please confirm the final result of the original task through the callback or the Suno Tasks API; do not resubmit before the final status is clear, to avoid creating duplicate tasks.