| 版本 | model | 上线时间 | lyric 限制 | style 限制 | 歌曲最长时长 |
|---|---|---|---|---|---|
| v5.5 | chirp-v5-5 | 2026.03.27 | 5000 | 1000 | 8 分钟 |
| v5 | chirp-v5 | 2025.09.23 | 5000 | 1000 | 8 分钟 |
| v4.5+ | chirp-v4-5-plus | 2025.07.17 | 5000 | 1000 | 8 分钟 |
| v4.5 | chirp-v4-5 | 2025.05.03 | 5000 | 1000 | 4 分钟 |
| v4 | chirp-v4 | 2024.12.17 | 3000 | 200 | 150 秒 |
| v3.5 | chirp-v3-5 | --- | 3000 | 200 | 120 秒 |
上表的Suno 现已支持最新的lyric与style限制为自定义模式(custom为true)下的上限。非自定义的灵感模式(custom为false)只填prompt,其长度上限为 500 字符(各模型一致)。
chirp-v5-5 模型。调用最新版本时,将 model 参数设置为 chirp-v5-5 即可;chirp-v5 及更早版本仍可继续使用。
然而 Suno 官方是并没有提供 API 的,AceDataCloud 提供了一套 Suno 的 API,模拟对接了 Suno 官方,可以方便快捷地生成想要的音乐。
申请和使用
要使用 Suno Audios Generation API,首先到 Ace Data Cloud 控制台 获取您的 API Token,留作备用。
如果你尚未登录或注册,会自动跳转到登录页面邀请你注册和登录,完成后会自动返回当前页面。
一个 API Token 即可调用平台所有服务,无需为每个服务单独申请。 首次申请会赠送免费额度,可免费体验;额度不足时可在 控制台 充值通用余额。
📘 完整文档:Suno Audios Generation API →
基本使用
想些什么歌曲,可以任意输入一段文字,比如我想生成一个关于圣诞的歌曲,就可以输入a song for Christmas,如图所示:

accept:想要接收怎样格式的响应结果,这里填写为application/json,即 JSON 格式。authorization:调用 API 的密钥,申请之后可以直接下拉选择。
action:此次音乐生成任务的行为,默认是generate,主要包含:extend、upload_extend、cover、upload_cover、replace_section、replace_section、concat、stems、all_stems、remaster。prompt:Suno 官方的灵感模式提示词(custom为false时生效),最大 500 字符。model:此次音乐生成任务的模型,默认是chirp-v4,主要包含:chirp-v3、chirp-v4、chirp-v3-5、chirp-v4-5、chirp-v4-5-plus、chirp-v5、chirp-v5-5。lyric:Suno 官方的自定义模式的歌词内容。chirp-v3-5与chirp-v4最大 3000 字符;chirp-v4-5及以上(含chirp-v5、chirp-v5-5)最大 5000 字符。custom:是否采用自定义模式,默认是:false。instrumental:Suno 官方的灵感模式的纯音乐选项。title:Suno 官方的自定义模式的音乐标题。chirp-v3-5、chirp-v4最大 80 字符;chirp-v4-5及以上最大 100 字符。style:Suno 官方的自定义模式音乐风格。chirp-v3-5与chirp-v4最大 200 字符;chirp-v4-5及以上(含chirp-v5、chirp-v5-5)最大 1000 字符。style_negative:Suno 官方的自定义模式的排除风格。audio_weight:上传的参考音频占比,范围 0-1,越大越依赖参考音频。audio_id:参考音乐的 ID。overpainting_start/overpainting_end:为已有纯音乐补充人声的起止时间,单位秒。underpainting_start/underpainting_end:为清唱加伴奏的起止时间,单位秒。persona_id:艺术家的歌曲 ID。continue_at:以秒为单位继续现有音频的时间。例如,213.5 表示继续到 3 分 33.5 秒。style_influence:自定义模式下的「Style Influence」高级参数,范围 0-1,越大越贴合所选风格。replace_section_end:替换片段的最终时间。replace_section_start:替换片段的起始时间。vocal_gender:控制男女声偏好,女声f,男声m,4.5 及以上模型有效;为偏好项,不保证严格遵循。weirdness:自定义模式下的「Weirdness」高级参数,范围 0-1,越大越有创意和实验性。duration:期望的歌曲时长,单位秒,需为整数,取值范围 10 到 360。该参数用于自定义模式(custom为true)的歌曲生成。它是一个倾向性提示而非硬性约束:模型会参考它,但不保证达到,实际成品时长以响应中的duration字段为准,通常短于期望值。lyric_prompt:生成歌词的 prompt,当且仅当custom为true并且lyric没有传的时候生效。callback_url:需要回调结果的 URL。async:可选,设为true时接口立即返回task_id,无需提供callback_url,随后通过对应的任务查询接口轮询获取结果。

{
"success": true,
"task_id": "e72fb249-bd5b-4e2a-b20c-8a06fea5ac14",
"trace_id": "7dbc5b6a-b2c0-4d85-9d39-fa8a8a785ccf",
"data": [
{
"id": "b481b17a-bf50-4e10-8adc-4d5635050893",
"title": "Under the Mistletoe",
"image_url": "https://cdn2.suno.ai/image_b481b17a-bf50-4e10-8adc-4d5635050893.jpeg",
"lyric": "[Verse]\nSnowflakes falling on the ground\nTwinkling lights all around\nThe scent of pine fills the air\nChristmas magic everywhere\n[Chorus]\nUnder the mistletoe tonight\nHearts aglow in the soft moonlight\nLaughter echoes\nSpirits bright\nIt’s Christmas time\nIt feels so right\n[Verse 2]\nStockings hung by the fire’s glow\nWarmth inside while the cold winds blow\nCookies baking\nSweet delight\nA season of joy shining bright\n[Chorus]\nUnder the mistletoe tonight\nHearts aglow in the soft moonlight\nLaughter echoes\nSpirits bright\nIt’s Christmas time\nIt feels so right\n[Bridge]\nCarols sung by candlelight\nStars above make the world feel tight\nPeace and love\nA season’s creed\nFilling hearts with all we need\n[Chorus]\nUnder the mistletoe tonight\nHearts aglow in the soft moonlight\nLaughter echoes\nSpirits bright\nIt’s Christmas time\nIt feels so right",
"audio_url": "https://cdn1.suno.ai/b481b17a-bf50-4e10-8adc-4d5635050893.mp3",
"video_url": "",
"created_at": "2025-06-17T15:59:32.468Z",
"model": "chirp-auk",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "holiday, cheerful, male vocals",
"duration": 154.92
},
{
"id": "fbf22dab-5e2b-4e02-84c0-6d7605f14c3d",
"title": "Under the Mistletoe",
"image_url": "https://cdn2.suno.ai/image_fbf22dab-5e2b-4e02-84c0-6d7605f14c3d.jpeg",
"lyric": "[Verse]\nSnowflakes falling on the ground\nTwinkling lights all around\nThe scent of pine fills the air\nChristmas magic everywhere\n[Chorus]\nUnder the mistletoe tonight\nHearts aglow in the soft moonlight\nLaughter echoes\nSpirits bright\nIt’s Christmas time\nIt feels so right\n[Verse 2]\nStockings hung by the fire’s glow\nWarmth inside while the cold winds blow\nCookies baking\nSweet delight\nA season of joy shining bright\n[Chorus]\nUnder the mistletoe tonight\nHearts aglow in the soft moonlight\nLaughter echoes\nSpirits bright\nIt’s Christmas time\nIt feels so right\n[Bridge]\nCarols sung by candlelight\nStars above make the world feel tight\nPeace and love\nA season’s creed\nFilling hearts with all we need\n[Chorus]\nUnder the mistletoe tonight\nHearts aglow in the soft moonlight\nLaughter echoes\nSpirits bright\nIt’s Christmas time\nIt feels so right",
"audio_url": "https://cdn1.suno.ai/fbf22dab-5e2b-4e02-84c0-6d7605f14c3d.mp3",
"video_url": "",
"created_at": "2025-06-17T15:59:32.468Z",
"model": "chirp-auk",
"state": "succeeded",
"prompt": "A song for Christmas",
"style": "holiday, cheerful, male vocals",
"duration": 158.48
}
]
}
- success:生成是否成功,如果成功则为
true,否则为false - data:是一个列表,包含了生成的歌曲的详细信息。
- state: 歌曲生成状态,主要包含四种,具体的如下:
- succeeded:生成成功
- pending:队列中
- running:执行中
- error:失败
- id:歌曲 ID
- title:歌曲的标题
- image_url:歌曲的封面图片
- lyric:歌曲的歌词
- audio_url:歌曲的音频文件,打开就是一个 mp3 音频。
- video_url:歌曲的视频文件,打开就是一个 mp4 视频。
- created_at:创建的时间
- model:使用的模型,一般是最新的 v3 模型
- style:风格
- state: 歌曲生成状态,主要包含四种,具体的如下:
自定义生成
如果想自定义生成歌词,可以输入歌词: 这时候lyric 字段可以传入类似如下内容:
[Verse]\nSnowflakes falling all around\nGlistening white\nCovering the ground\nChildren laughing\nFull of delight\nIn this winter wonderland tonight\nSanta's sleigh\nUp in the sky\nRudolph's nose shining bright\nOh my\nHear the jingle bells\nRinging so clear\nBringing joy and holiday cheer\n[Verse 2]\nRoasting chestnuts by the fire's glow\nChristmas lights\nThey twinkle and show\nFamilies gathering with love and cheer\nSpreading warmth to everyone near
注意,这里的歌词中 \n 是换行符,如果你不知道如何生成歌词,可以使用 AceDataCloud 提供的歌词生成 API 来通过 prompt 生成歌词,API 是 Suno Lyrics Generation API。
接下来我们要根据歌词、标题、风格自定义生成歌曲,就可以指定如下内容:
- lyric:歌词文本
- custom:填写为
true,代表自定义生成,该参数默认为 false,代表使用prompt生成。 - title:歌曲的标题。
- style:歌曲的风格,选填。


curl -X POST 'https://api.acedata.cloud/suno/audios' \
-H 'accept: application/json' \
-H 'authorization: Bearer {token}' \
-H 'content-type: application/json' \
-d '{
"action": "generate",
"prompt": "A song for Christmas",
"model": "chirp-v4-5",
"lyric": "[Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSanta's sleigh\\nUp in the sky\\nRudolph's nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fire's glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near",
"custom": true
}'
自定义歌手风格生成功能
如果想使用歌手风格来生成歌曲的话,首先通过上文的基本使用生成一首歌曲, 最后得到了需要设置这个歌曲为歌手风格,然后需要进入Suno Persona API根据官方生成的音乐 IDaudio_id 来生成一个歌手风格的 id 参数 persona_id,具体的参数如下图所示:


import requests
url = "https://api.acedata.cloud/suno/persona"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"audio_id": "97efc9f4-0e8d-4b3e-88df-14568fa1b11f",
"name": "test"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "7628b754-4fe7-4e79-bda4-806d0dd8bf6e",
"data": {
"persona_id": "e0d7319e-aa2a-44cb-b00a-916218d7cb0b"
}
}
audio_id 和 persona_id 分别为 97efc9f4-0e8d-4b3e-88df-14568fa1b11f、e0d7319e-aa2a-44cb-b00a-916218d7cb0b 为此次的示例数据。 然后可以将参数 action 设置为 artist_consistency (如果是新版的歌手风格Persona-v2-vox,action 必须设置为 artist_consistency_vox),并且输入需要继续生成歌曲的 ID 、 歌手风格 ID,填写样例如下:


import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "artist_consistency",
"prompt": "A song for Christmas",
"model": "chirp-v4-5",
"persona_id": "e0d7319e-aa2a-44cb-b00a-916218d7cb0b",
"audio_id": "97efc9f4-0e8d-4b3e-88df-14568fa1b11f"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "9b732b1a-bd67-48bc-95e4-90140e06836f",
"trace_id": "30fcd88e-7687-4137-92d7-913b58115204",
"data": [
{
"id": "727a36e2-8dce-4df7-99e5-14e44635c80f",
"title": "",
"image_url": "https://cdn2.suno.ai/image_727a36e2-8dce-4df7-99e5-14e44635c80f.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/727a36e2-8dce-4df7-99e5-14e44635c80f.mp3",
"video_url": "",
"created_at": "2025-06-17T16:27:33.979Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 244.4
},
{
"id": "3b33301a-b17e-4b25-8842-09b46dab1a36",
"title": "",
"image_url": "https://cdn2.suno.ai/image_3b33301a-b17e-4b25-8842-09b46dab1a36.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/3b33301a-b17e-4b25-8842-09b46dab1a36.mp3",
"video_url": "",
"created_at": "2025-06-17T16:27:33.979Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 229.88
}
]
}
继续生成功能
如果想对已经生成的 Suno 歌曲进行继续生成的话,可以将参数action 设置为 extend ,并且输入需要继续生成歌曲的 ID,歌曲 ID 的获取是根据基本使用来获取,通过上文可知,这时候可以看到歌曲的 ID 为:
"id": "97efc9f4-0e8d-4b3e-88df-14568fa1b11f"
注意,这里的歌词中 id 是生成后歌曲的 ID,如果你不知道如何生成歌曲,可以参考上文的基本使用来生成歌曲。
如果想对自己上传的歌曲进行继续生成的话,可以将参数 action 设置为 upload_extend ,并且输入需要继续生成自定义上传的歌曲 ID,歌曲 ID 的获取是使用 Suno Upload Generation API来获取,如下图所示:

- lyric:歌词文本
- custom:填写为
true,代表自定义生成,该参数默认为 false,代表使用prompt生成。 - style:歌曲的风格,选填。
- continue_at:以秒为单位继续现有音频的时间。例如,213.5 表示继续到 3 分 33.5 秒。


import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "extend",
"prompt": "A song for Christmas",
"model": "chirp-v4-5",
"audio_id": "97efc9f4-0e8d-4b3e-88df-14568fa1b11f",
"continue_at": 2,
"lyric": "[Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSanta's sleigh\\nUp in the sky\\nRudolph's nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fire's glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near",
"custom": True,
"instrumental": False
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "75b835d9-30d1-4641-8524-0aeedbdc9e1a",
"trace_id": "44c41045-a2e1-4d19-aafc-7abd239d0d5c",
"data": [
{
"id": "0a1e1b10-c36a-41c9-9bfb-b26d9d25db98",
"title": "",
"image_url": "https://cdn2.suno.ai/image_0a1e1b10-c36a-41c9-9bfb-b26d9d25db98.jpeg",
"lyric": "[Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSanta's sleigh\\nUp in the sky\\nRudolph's nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fire's glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near",
"audio_url": "https://cdn1.suno.ai/0a1e1b10-c36a-41c9-9bfb-b26d9d25db98.mp3",
"video_url": "",
"created_at": "2025-06-17T16:38:35.509Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 165.92
},
{
"id": "4334c5b4-0a44-4b26-a8f6-66cc4dbb8fc3",
"title": "",
"image_url": "https://cdn2.suno.ai/image_4334c5b4-0a44-4b26-a8f6-66cc4dbb8fc3.jpeg",
"lyric": "[Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSanta's sleigh\\nUp in the sky\\nRudolph's nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fire's glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near",
"audio_url": "https://cdn1.suno.ai/4334c5b4-0a44-4b26-a8f6-66cc4dbb8fc3.mp3",
"video_url": "",
"created_at": "2025-06-17T16:38:35.509Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 158.84
}
]
}
获取完整歌曲
当基于原有的歌曲继续生成歌曲之后,返回的歌曲并不包含原来的歌曲内容。如果要获得完整的歌曲内容,需要使用拼接功能,就可以指定如下内容:- action:内容为
concat。 - audio_id:最后一个片段的 ID。
{
"action": "concat",
"audio_id": "0a1e1b10-c36a-41c9-9bfb-b26d9d25db98"
}
{
"success": true,
"task_id": "0f794915-8418-4124-93f5-b7eb3a417167",
"trace_id": "62afcce0-e7e5-44b8-8c2e-4bba12a4f414",
"data": [
{
"id": "0efec7e0-11bf-4313-9981-2c0e7218d7dd",
"title": "",
"image_url": "https://cdn2.suno.ai/image_0a1e1b10-c36a-41c9-9bfb-b26d9d25db98.jpeg",
"lyric": "[Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSanta's sleigh\\nUp in the sky\\nRudolph's nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fire's glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near\n[Verse]\\nSnowflakes falling all around\\nGlistening white\\nCovering the ground\\nChildren laughing\\nFull of delight\\nIn this winter wonderland tonight\\nSanta's sleigh\\nUp in the sky\\nRudolph's nose shining bright\\nOh my\\nHear the jingle bells\\nRinging so clear\\nBringing joy and holiday cheer\\n[Verse 2]\\nRoasting chestnuts by the fire's glow\\nChristmas lights\\nThey twinkle and show\\nFamilies gathering with love and cheer\\nSpreading warmth to everyone near",
"audio_url": "https://cdn1.suno.ai/0efec7e0-11bf-4313-9981-2c0e7218d7dd.mp3",
"video_url": "",
"created_at": "2025-06-17T16:43:06.718Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 167.91997916666668,
"concat_history": [
{
"continue_at": 2,
"id": "97efc9f4-0e8d-4b3e-88df-14568fa1b11f",
"infill": false,
"source": "web",
"type": "gen"
},
{
"id": "0a1e1b10-c36a-41c9-9bfb-b26d9d25db98"
}
]
}
]
}
音乐翻版
当基于原有的歌曲继续生成歌曲之后,返回的歌曲的风格可能不太合适。如果要对原先生成的歌曲(若是自定义上传的音乐也支持)进行翻版,需要使用音乐翻版方法,就可以指定如下内容:- action:内容为
cover,当是对自定义上传的音乐进行翻版操作的时候必须指定内容为:upload_cover。 - audio_id:之前生成歌曲的 ID。
{
"action": "cover",
"audio_id": "0a1e1b10-c36a-41c9-9bfb-b26d9d25db98",
"prompt": "A song for Christmas",
"model": "chirp-v4-5"
}
{
"success": true,
"task_id": "b9d43d06-2e0a-4b5e-9e0d-7dfab32e00ab",
"trace_id": "6c5e567d-0fdc-4c44-9b36-4090d9a75ff5",
"data": [
{
"id": "6988fa57-f810-41cf-afab-7838db2c77dc",
"title": "",
"image_url": "https://cdn2.suno.ai/image_6988fa57-f810-41cf-afab-7838db2c77dc.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/6988fa57-f810-41cf-afab-7838db2c77dc.mp3",
"video_url": "",
"created_at": "2025-06-17T16:44:13.007Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 182.4
},
{
"id": "ce98b991-0258-4f05-8245-e43d4efa8fb8",
"title": "",
"image_url": "https://cdn2.suno.ai/image_ce98b991-0258-4f05-8245-e43d4efa8fb8.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/ce98b991-0258-4f05-8245-e43d4efa8fb8.mp3",
"video_url": "",
"created_at": "2025-06-17T16:44:13.007Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 179.72
}
]
}
替换片段
当生成歌曲之后需要进行替换歌曲片段单独操作的二次创作时,可以对歌曲的某个片段进行替换操作。⚠️ 注意:参数说明如下:replace_section单独使用时只会返回新生成的”替换片段”本身(即被替换那一段的新音频,时长大约等于replace_section_end - replace_section_start,并附带少量上下文),并不会返回拼接好的整首歌曲。要得到与原曲拼接后的完整成品,需要在replace_section成功后,针对返回的片段 ID 再发起一次 音乐拼接 任务。完整流程见下文。
- action:内容为
replace_section。 - audio_id:原始歌曲(被替换的源歌曲)的 ID。
- model: 歌曲生成模型。
- lyric: 替换后的完整歌词(包含被替换段及其上下文,与
prompt中的内容保持一致)。 - prompt:需要替换的那一段新歌词。
- style:歌曲的风格,选填。
- replace_section_start:被替换片段在原曲中的起始时间(秒)。
- replace_section_end:被替换片段在原曲中的终止时间(秒)。
步骤一:发起替换片段任务
比如原先生成后的歌曲 ID 是:18db7ed0-2b8a-41db-91c1-b0781dcca0d4(时长 94.12 秒),希望把第 30 秒到第 60 秒处的副歌替换为新的歌词,那么可以设置参数如下:{
"action": "replace_section",
"audio_id": "18db7ed0-2b8a-41db-91c1-b0781dcca0d4",
"model": "chirp-v5-5",
"custom": false,
"instrumental": false,
"lyric": "[Intro]\n锣鼓喧天 红灯高挂\n[Verse 1]\n爆竹声声辞旧岁\n春风暖暖入万家\n红包压岁笑开颜\n金蛇起舞贺新春\n[Chorus]\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n[Verse 2]\n饺子飘香年夜饭\n灯笼摇曳照团圆",
"prompt": "梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地",
"replace_section_start": 30.0,
"replace_section_end": 60.0
}
{
"success": true,
"task_id": "dd067075-a295-4160-8375-d5504327d55b",
"trace_id": "c34f589b-9195-4d0b-af78-9c890e77609c",
"data": [
{
"id": "364f9d8b-ca25-463b-9a5e-d0b7139e2d6a",
"title": "",
"image_url": "https://cdn2.suno.ai/image_364f9d8b-ca25-463b-9a5e-d0b7139e2d6a.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_364f9d8b-ca25-463b-9a5e-d0b7139e2d6a.jpeg",
"lyric": "[Intro]\n锣鼓喧天 红灯高挂\n[Verse 1]\n爆竹声声辞旧岁\n春风暖暖入万家\n红包压岁笑开颜\n金蛇起舞贺新春\n[Chorus]\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n[Verse 2]\n饺子飘香年夜饭\n灯笼摇曳照团圆",
"audio_url": "https://cdn1.suno.ai/364f9d8b-ca25-463b-9a5e-d0b7139e2d6a.mp3",
"video_url": "",
"created_at": "2026-05-06T06:55:00.000Z",
"model": "chirp-v5-5",
"state": "succeeded",
"style": "",
"duration": 45.16
},
{
"id": "fae966ea-5f7f-4e80-9962-1c57963c7f8a",
"title": "",
"audio_url": "https://cdn1.suno.ai/fae966ea-5f7f-4e80-9962-1c57963c7f8a.mp3",
"model": "chirp-v5-5",
"state": "succeeded",
"duration": 33.8
}
]
}
步骤二:将替换片段拼接回原曲
针对上面挑选的片段(例如364f9d8b-ca25-463b-9a5e-d0b7139e2d6a),按 音乐拼接 一节的方法发起 concat 任务:
{
"action": "concat",
"audio_id": "364f9d8b-ca25-463b-9a5e-d0b7139e2d6a",
"model": "chirp-v5-5"
}
{
"success": true,
"task_id": "5dbd4a78-0197-4ef3-9c16-8bddaf4f0c94",
"trace_id": "580bd1da-2ad3-4d75-be1f-6c14bd4b489d",
"data": [
{
"id": "365a9640-0452-4567-80f0-4f5a2a17ddd5",
"title": "新年快乐",
"image_url": "https://cdn2.suno.ai/image_364f9d8b-ca25-463b-9a5e-d0b7139e2d6a.jpeg",
"lyric": "[Intro]\n锣鼓喧天 红灯高挂\n[Verse 1]\n爆竹声声辞旧岁\n春风暖暖入万家\n红包压岁笑开颜\n金蛇起舞贺新春\n[Chorus]\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n梅花绽放春意洋溢满地\n[Verse 2]\n饺子飘香年夜饭\n灯笼摇曳照团圆",
"audio_url": "https://cdn1.suno.ai/365a9640-0452-4567-80f0-4f5a2a17ddd5.mp3",
"video_url": "",
"created_at": "2026-05-06T06:56:46.057Z",
"model": "chirp-v5-5",
"state": "succeeded",
"style": "traditional Chinese new year, festive, female vocals, upbeat",
"duration": 105.28
}
]
}
duration 已恢复成完整歌曲长度(105.28 秒,约等于原曲长度),audio_url 指向的就是替换完成后的整首歌。这就完成了”生成 → 替换片段 → 拼接整曲”的二次创作流程。
声曲分离
当生成歌曲之后需要进行伴奏和人声单独操作的二次创作时,可以分离纯音乐伴奏和清唱人声。就可以指定如下内容:- action:内容为
stems。 - audio_id:之前生成歌曲的 ID。
{
"action": "stems",
"audio_id": "ec13e502-d043-4eb2-92ee-e900c6da69d1"
}
{
"success": true,
"task_id": "4050affc-f8a6-4cba-a86c-bf201eed053d",
"trace_id": "5107ee58-687d-422f-9195-fa0e82e1fcc8",
"data": [
{
"id": "e3de0928-085a-42c4-b982-3b24738d1989",
"title": "Deck the Sky - Vocals",
"image_url": "https://cdn2.suno.ai/image_e3de0928-085a-42c4-b982-3b24738d1989.jpeg",
"lyric": "[Verse]\nSnowflakes dance on rooftops high\nChildren's laughter fills the sky\nCarols ring from church bells loud\nHolidays a joyful crowd\n[Verse 2]\nCandy canes and cocoa warm\nWrapped up tight in our own storm\nStockings hung with dreams and cheer\nMagic growing every year\n[Chorus]\nDeck the sky with twinkling stars\nHoliday joy feels ours and ours\nSing the songs of love and light\nChristmas glows so pure and bright\n[Verse 3]\nFireside tales of long ago\nReindeer prance in icy glow\nEvergreen and tinsel’s gleam\nChristmas time a lovely dream\n[Bridge]\nHearts are full with friends and kin\nMistletoe for love to win\nGifts of love and hope we share\nChristmas spirit everywhere\n[Chorus]\nDeck the sky with twinkling stars\nHoliday joy feels ours and ours\nSing the songs of love and light\nChristmas glows so pure and bright",
"audio_url": "https://cdn1.suno.ai/e3de0928-085a-42c4-b982-3b24738d1989.mp3",
"video_url": "https://cdn1.suno.ai/e3de0928-085a-42c4-b982-3b24738d1989.mp4",
"created_at": "2025-01-05T07:49:16.881Z",
"model": "",
"state": "succeeded",
"style": "holiday, jolly",
"duration": 174.16
},
{
"id": "ad5d7c89-709c-4eb4-a5a6-72f9f5e57fdb",
"title": "Deck the Sky - Instrumental",
"image_url": "https://cdn2.suno.ai/image_ad5d7c89-709c-4eb4-a5a6-72f9f5e57fdb.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/ad5d7c89-709c-4eb4-a5a6-72f9f5e57fdb.mp3",
"video_url": "https://cdn1.suno.ai/ad5d7c89-709c-4eb4-a5a6-72f9f5e57fdb.mp4",
"created_at": "2025-01-05T07:49:16.892Z",
"model": "",
"state": "succeeded",
"style": "holiday, jolly",
"duration": 174.16
}
]
}
全轨道声曲分离
当生成歌曲之后需要进行全轨道声曲分离操作时,就可以指定如下内容:- action:内容为
all_stems。 - audio_id:之前生成歌曲的 ID。
{
"action": "all_stems",
"audio_id": "bdf23a5a-59f5-4103-b452-054a824a7f9f"
}
{
"success": true,
"task_id": "f4b16fb9-8478-4857-88c7-b9a1f0bb9518",
"trace_id": "9c560ebd-4fc6-4bdb-988a-8890160a92fb",
"data": [
{
"id": "f86ca64a-9519-4ea7-a592-52438e001412",
"title": "安全之弦 (Vocals)",
"image_url": "https://cdn2.suno.ai/image_f86ca64a-9519-4ea7-a592-52438e001412.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/f86ca64a-9519-4ea7-a592-52438e001412.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "99e649a7-a394-47b9-a915-d7f847285a36",
"title": "安全之弦 (Backing Vocals)",
"image_url": "https://cdn2.suno.ai/image_99e649a7-a394-47b9-a915-d7f847285a36.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/99e649a7-a394-47b9-a915-d7f847285a36.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "6d710bf7-809f-4fdc-bb63-b8cb3a456d42",
"title": "安全之弦 (Drums)",
"image_url": "https://cdn2.suno.ai/image_6d710bf7-809f-4fdc-bb63-b8cb3a456d42.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/6d710bf7-809f-4fdc-bb63-b8cb3a456d42.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "e05f07e3-7d80-4713-8e51-7f176c733543",
"title": "安全之弦 (Bass)",
"image_url": "https://cdn2.suno.ai/image_e05f07e3-7d80-4713-8e51-7f176c733543.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/e05f07e3-7d80-4713-8e51-7f176c733543.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "93fe7cd8-62fd-4739-b78e-142c7e0b8562",
"title": "安全之弦 (Guitar)",
"image_url": "https://cdn2.suno.ai/image_93fe7cd8-62fd-4739-b78e-142c7e0b8562.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/93fe7cd8-62fd-4739-b78e-142c7e0b8562.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "8367d71c-fdd3-441c-8ebe-70c33cca821b",
"title": "安全之弦 (Keyboard)",
"image_url": "https://cdn2.suno.ai/image_8367d71c-fdd3-441c-8ebe-70c33cca821b.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/8367d71c-fdd3-441c-8ebe-70c33cca821b.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "28c03590-731c-416e-8fd3-95cdb3d75043",
"title": "安全之弦 (Percussion)",
"image_url": "https://cdn2.suno.ai/image_28c03590-731c-416e-8fd3-95cdb3d75043.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/28c03590-731c-416e-8fd3-95cdb3d75043.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "3d4c1a28-4e1c-485a-8201-d21bb93aca2f",
"title": "安全之弦 (Strings)",
"image_url": "https://cdn2.suno.ai/image_3d4c1a28-4e1c-485a-8201-d21bb93aca2f.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/3d4c1a28-4e1c-485a-8201-d21bb93aca2f.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "b9db8ded-01ec-4e37-b8a5-64aab3a814c2",
"title": "安全之弦 (Synth)",
"image_url": "https://cdn2.suno.ai/image_b9db8ded-01ec-4e37-b8a5-64aab3a814c2.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/b9db8ded-01ec-4e37-b8a5-64aab3a814c2.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "10a5248e-32e6-42b9-8da1-678a8a392aef",
"title": "安全之弦 (FX)",
"image_url": "https://cdn2.suno.ai/image_10a5248e-32e6-42b9-8da1-678a8a392aef.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/10a5248e-32e6-42b9-8da1-678a8a392aef.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "2d272128-111f-4901-8f62-5ae1eb43095a",
"title": "安全之弦 (Brass)",
"image_url": "https://cdn2.suno.ai/image_2d272128-111f-4901-8f62-5ae1eb43095a.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/2d272128-111f-4901-8f62-5ae1eb43095a.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "4a7c19a5-f8d4-4e4a-add9-aa0bad9307cc",
"title": "安全之弦 (Woodwinds)",
"image_url": "https://cdn2.suno.ai/image_4a7c19a5-f8d4-4e4a-add9-aa0bad9307cc.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/4a7c19a5-f8d4-4e4a-add9-aa0bad9307cc.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "1ca774f9-3e75-48a6-941b-808875eadcd2",
"title": "安全之弦 (Vocals)",
"image_url": "https://cdn2.suno.ai/image_1ca774f9-3e75-48a6-941b-808875eadcd2.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/1ca774f9-3e75-48a6-941b-808875eadcd2.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.770Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "14c5ffc7-addf-4fee-afd2-4b8b3e7ee470",
"title": "安全之弦 (Backing Vocals)",
"image_url": "https://cdn2.suno.ai/image_14c5ffc7-addf-4fee-afd2-4b8b3e7ee470.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/14c5ffc7-addf-4fee-afd2-4b8b3e7ee470.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "9d044557-450d-48ab-90dc-8eaf6f1cdb6c",
"title": "安全之弦 (Drums)",
"image_url": "https://cdn2.suno.ai/image_9d044557-450d-48ab-90dc-8eaf6f1cdb6c.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/9d044557-450d-48ab-90dc-8eaf6f1cdb6c.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "efd052d0-c12f-47b3-8282-1f3ef7610e1f",
"title": "安全之弦 (Bass)",
"image_url": "https://cdn2.suno.ai/image_efd052d0-c12f-47b3-8282-1f3ef7610e1f.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/efd052d0-c12f-47b3-8282-1f3ef7610e1f.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "5775372b-292e-4420-96ef-60e57a60cc1f",
"title": "安全之弦 (Guitar)",
"image_url": "https://cdn2.suno.ai/image_5775372b-292e-4420-96ef-60e57a60cc1f.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/5775372b-292e-4420-96ef-60e57a60cc1f.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "dab3f220-19cd-408e-9b96-30ec18f5b049",
"title": "安全之弦 (Keyboard)",
"image_url": "https://cdn2.suno.ai/image_dab3f220-19cd-408e-9b96-30ec18f5b049.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/dab3f220-19cd-408e-9b96-30ec18f5b049.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "2d0cd6d4-af82-4bb5-86fe-d92bdb367157",
"title": "安全之弦 (Percussion)",
"image_url": "https://cdn2.suno.ai/image_2d0cd6d4-af82-4bb5-86fe-d92bdb367157.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/2d0cd6d4-af82-4bb5-86fe-d92bdb367157.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "f3191a1a-5e8d-4afe-b638-3add222d52cd",
"title": "安全之弦 (Strings)",
"image_url": "https://cdn2.suno.ai/image_f3191a1a-5e8d-4afe-b638-3add222d52cd.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/f3191a1a-5e8d-4afe-b638-3add222d52cd.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "a8834ea5-200b-4206-a812-9780ef336660",
"title": "安全之弦 (Synth)",
"image_url": "https://cdn2.suno.ai/image_a8834ea5-200b-4206-a812-9780ef336660.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/a8834ea5-200b-4206-a812-9780ef336660.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "f50d1a31-ef72-400a-b8ae-0367849d007d",
"title": "安全之弦 (FX)",
"image_url": "https://cdn2.suno.ai/image_f50d1a31-ef72-400a-b8ae-0367849d007d.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/f50d1a31-ef72-400a-b8ae-0367849d007d.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "cb581673-23cc-40d6-9f9b-0f76720f0d18",
"title": "安全之弦 (Brass)",
"image_url": "https://cdn2.suno.ai/image_cb581673-23cc-40d6-9f9b-0f76720f0d18.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/cb581673-23cc-40d6-9f9b-0f76720f0d18.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
},
{
"id": "d91cfb52-f0a3-4546-bf8a-2ad14c3775a5",
"title": "安全之弦 (Woodwinds)",
"image_url": "https://cdn2.suno.ai/image_d91cfb52-f0a3-4546-bf8a-2ad14c3775a5.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/d91cfb52-f0a3-4546-bf8a-2ad14c3775a5.mp3",
"video_url": "",
"created_at": "2025-06-11T02:40:30.771Z",
"model": "chirp-ahi-stem-12-t1",
"state": "succeeded",
"duration": 154.92
}
]
}
自定义生成的高级参数
官方允许在自定义模式下使用高级参数weirdness==>Weirdness、style_influence==>Style Influence、audio_weight==>Audio Influence来进行生成,对应如下如的官方示例:



import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "generate",
"model": "chirp-v4-5",
"lyric": "Hello Hello Hello ",
"custom": True,
"weirdness": 0.4,
"style_influence": 0.4,
"audio_weight": 0.4
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "2f3aa682-e1a7-43a9-9fbb-ed0ce8668a4b",
"trace_id": "07408194-7deb-4a52-a36d-9a9a13143b5f",
"data": [
{
"id": "c66e2077-7580-43f2-9937-c67a8afcd8bd",
"title": "",
"image_url": "https://cdn2.suno.ai/image_c66e2077-7580-43f2-9937-c67a8afcd8bd.jpeg",
"lyric": "Hello Hello Hello ",
"audio_url": "https://cdn1.suno.ai/c66e2077-7580-43f2-9937-c67a8afcd8bd.mp3",
"video_url": "",
"created_at": "2025-07-10T12:54:35.199Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 187.92
},
{
"id": "a922f97b-307c-4c4d-aae3-a47ba8202a10",
"title": "",
"image_url": "https://cdn2.suno.ai/image_a922f97b-307c-4c4d-aae3-a47ba8202a10.jpeg",
"lyric": "Hello Hello Hello ",
"audio_url": "https://cdn1.suno.ai/a922f97b-307c-4c4d-aae3-a47ba8202a10.mp3",
"video_url": "",
"created_at": "2025-07-10T12:54:35.199Z",
"model": "chirp-auk",
"state": "succeeded",
"style": "",
"duration": 229.64
}
]
}
控制歌曲时长
默认情况下生成的歌曲时长由模型自行决定,通常在 30 秒到 4 分钟之间。如果需要更长或更短的成品,可以通过duration 参数指定期望时长,单位是秒,取值为 10 到 360 之间的整数。
该参数用于自定义模式(custom 为 true)的歌曲生成。需要特别说明的是,duration 是一个倾向性提示,而不是硬性约束:模型在创作时会参考这个值,但不保证达到,实测中实际时长通常明显短于期望值,同一次请求返回的两首歌曲时长也可能相差数倍。即使是完全相同的请求,多次提交得到的时长也可能有较大差异。因此不要把它当作精确的时长控制来使用,如果业务上需要固定时长,请在拿到成品后自行裁剪或重试。
对应的 Python 代码:
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "generate",
"model": "chirp-v5-5",
"custom": True,
"title": "Under the City Lights",
"style": "lo-fi piano",
"lyric": "[Verse]\nSunrise creepin\nGold on the floor\n[Chorus]\nUnder the city lights\n",
"duration": 330
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
duration 是期望时长,而响应 data 中每首歌曲的 duration 字段是该首歌曲的实际时长。两者名称相同但含义不同,实际时长不保证等于期望值。歌词长度是影响成品时长的主要因素之一,若需要较长的成品,建议同时提供更完整的歌词。
接口不会对 duration 做额外校验,参数会原样传递给模型。如果传入了当前模式或模型不支持的取值,可能表现为该值被忽略,建议先用一次请求确认效果再批量使用。
Add Insterumental 功能
2025 年 8 月份 suno 新出 Add Insterumental 功能,首先需要上传一首清唱无配音的歌曲, 让 suno 帮你配乐,首先可以先到 Suno Upload API上传一首清唱无配乐的歌曲,对应如下如的操作如下图所示:
audio_id,具体的结果如下图所示:

audio_id:92254cab-3372-4d9e-bce9-cdcfdbc39070,然后我们还需要填写如下参数:
- action:内容为
underpainting。 - underpainting_start:对上传的歌曲进行添加伴奏的起始时间,默认值是 0。
- underpainting_end:对上传的歌曲进行添加伴奏的终点时间,必须小于歌曲的总时长。
- audio_id:上传的清唱无配音的歌曲 ID。
- style:伴奏的风格,最好是不用歌词 毕竟是配音。

import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "underpainting",
"model": "chirp-v4-5",
"style": "Pop rap, uplifting, magnetic male vocals, piano, synth, electric guitar, driving bass, clear structure",
"audio_id": "92254cab-3372-4d9e-bce9-cdcfdbc39070",
"underpainting_end": 120
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "822d2e14-c535-4d48-a4e5-1b6ab00b04a7",
"trace_id": "257eac2c-8e4f-44d0-8454-5e215111eefa",
"data": [
{
"id": "2788cd21-bd84-422d-beb5-859c60fbf5b6",
"title": "",
"image_url": "https://cdn2.suno.ai/image_2788cd21-bd84-422d-beb5-859c60fbf5b6.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/2788cd21-bd84-422d-beb5-859c60fbf5b6.mp3",
"video_url": "",
"created_at": "2025-08-27T15:25:42.548Z",
"model": "chirp-v4",
"state": "succeeded",
"style": "Pop rap, uplifting, magnetic male vocals, piano, synth, electric guitar, driving bass, clear structure",
"duration": 10.16
},
{
"id": "a4bb7220-e971-4cbf-a626-b86c648bcf55",
"title": "",
"image_url": "https://cdn2.suno.ai/image_a4bb7220-e971-4cbf-a626-b86c648bcf55.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/a4bb7220-e971-4cbf-a626-b86c648bcf55.mp3",
"video_url": "",
"created_at": "2025-08-27T15:25:42.548Z",
"model": "chirp-v4",
"state": "succeeded",
"style": "Pop rap, uplifting, magnetic male vocals, piano, synth, electric guitar, driving bass, clear structure",
"duration": 2.52
}
]
}
Add Vocals 功能
2025 年 8 月份 suno 新出 Add Vocals 功能,首先需要上传一首纯音乐,让 suno 填词、出人声歌唱,首先可以先到 Suno Upload API上传一首清唱无配乐的歌曲,对应如下如的操作如下图所示:
audio_id,具体的结果如下图所示:

audio_id:92254cab-3372-4d9e-bce9-cdcfdbc39070,然后我们还需要填写如下参数:
- action:内容为
overpainting。 - overpainting_start:对上传的歌曲进行添加人声的起始时间,默认值是 0。
- overpainting_end:对上传的歌曲进行添加人声的终点时间,必须小于歌曲的总时长。
- audio_id:上传的清唱无配音的歌曲 ID。
- custom:该模式下必须使用自定义模式填入歌词。
- lyric:自定义模式下填写的歌词。
- style:伴奏的风格。

import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "overpainting",
"model": "chirp-v4-5",
"lyric": "Yea your were the best I could get \\nBut I knew that it couldn’t last \\nStayed down since we were friends \\nHad to leave those thoughts in the past \\nMade like 40k just last week \\nOn top of the 20 with my babe\\ndon’t care for what niggas say",
"custom": True,
"audio_id": "92254cab-3372-4d9e-bce9-cdcfdbc39070",
"overpainting_end": 120
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "31bb250e-6614-49ec-ac85-631f224daeba",
"trace_id": "efe8e7f3-9a65-4f13-a9f8-51e8478899df",
"data": [
{
"id": "a597f945-64df-4722-a631-d436450832bd",
"title": "",
"image_url": "https://cdn2.suno.ai/image_a597f945-64df-4722-a631-d436450832bd.jpeg",
"lyric": "Yea your were the best I could get \\nBut I knew that it couldn’t last \\nStayed down since we were friends \\nHad to leave those thoughts in the past \\nMade like 40k just last week \\nOn top of the 20 with my babe\\ndon’t care for what niggas say",
"audio_url": "https://cdn1.suno.ai/a597f945-64df-4722-a631-d436450832bd.mp3",
"video_url": "",
"created_at": "2025-08-27T15:33:51.550Z",
"model": "chirp-v4",
"state": "succeeded",
"style": "",
"duration": 105.32
},
{
"id": "b41a8b91-3d88-4ebd-a6cf-732764b24954",
"title": "",
"image_url": "https://cdn2.suno.ai/image_b41a8b91-3d88-4ebd-a6cf-732764b24954.jpeg",
"lyric": "Yea your were the best I could get \\nBut I knew that it couldn’t last \\nStayed down since we were friends \\nHad to leave those thoughts in the past \\nMade like 40k just last week \\nOn top of the 20 with my babe\\ndon’t care for what niggas say",
"audio_url": "https://cdn1.suno.ai/b41a8b91-3d88-4ebd-a6cf-732764b24954.mp3",
"video_url": "",
"created_at": "2025-08-27T15:33:51.550Z",
"model": "chirp-v4",
"state": "succeeded",
"style": "",
"duration": 148.16
}
]
}
Remaster 功能
2025 年 12 月份 suno 新出 Remaster 功能,该功能可以重新生成歌曲,不可跨账号,然后我们还需要填写如下参数:- action:内容为
remaster。 - audio_id:需要重新生成的歌曲 ID。
- model:仅支持 v4.5+、v5。
- variation_category:仅在 v5 以上版本支持,而且只有 3 个值 high normal subtle。

import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "remaster",
"variation_category": "high",
"audio_id": "21fd46d4-45c3-4826-bec9-3f3df667902e"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "791ee74c-9363-4352-afe7-babb19b89899",
"trace_id": "77acda57-c3d4-4e11-a506-4f50e0609916",
"data": [
{
"id": "b0515cdf-9cb5-46cd-b0fe-10a239dc9274",
"title": "Navidad en costura (Remastered)",
"image_url": "https://cdn2.suno.ai/image_b0515cdf-9cb5-46cd-b0fe-10a239dc9274.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_b0515cdf-9cb5-46cd-b0fe-10a239dc9274.jpeg",
"lyric": "En Teror las clases siguen,\nni en Navidad hay parón;\ncose el grupo entre villancicos\ny un buen trocito de turrón.\nLa Popular abre sus puertas,\ny el taller suena mejor;\nhilo, aguja y canto alegre\nlo pasaremos mejor\nSeguimos en las costuras,\ncon música y diversión;\nlos alumnos comeremos\nGolosinas un montón ",
"audio_url": "https://cdn1.suno.ai/b0515cdf-9cb5-46cd-b0fe-10a239dc9274.mp3",
"video_url": "",
"created_at": "2025-12-04T13:09:59.936Z",
"model": "chirp-v4",
"state": "succeeded",
"style": "Villancico",
"duration": 32.2
},
{
"id": "06edab94-a4f9-4c0c-abac-a2e8a97c76a8",
"title": "Navidad en costura (Remastered)",
"image_url": "https://cdn2.suno.ai/image_06edab94-a4f9-4c0c-abac-a2e8a97c76a8.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_06edab94-a4f9-4c0c-abac-a2e8a97c76a8.jpeg",
"lyric": "En Teror las clases siguen,\nni en Navidad hay parón;\ncose el grupo entre villancicos\ny un buen trocito de turrón.\nLa Popular abre sus puertas,\ny el taller suena mejor;\nhilo, aguja y canto alegre\nlo pasaremos mejor\nSeguimos en las costuras,\ncon música y diversión;\nlos alumnos comeremos\nGolosinas un montón ",
"audio_url": "https://cdn1.suno.ai/06edab94-a4f9-4c0c-abac-a2e8a97c76a8.mp3",
"video_url": "",
"created_at": "2025-12-04T13:09:59.936Z",
"model": "chirp-v4",
"state": "succeeded",
"style": "Villancico",
"duration": 32.2
}
]
}
Mashup 混曲生成功能
2025 年 12 月份 suno 新出 Mashup 功能,该功能可以根据俩首参考歌曲生成歌曲,然后我们还需要填写如下参数:- action:内容为
mashup。 - mashup_audio_ids:俩首参考歌曲的 ID。

import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "mashup",
"lyric": "Sambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nSambuy come, Sambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\nSambuy come back",
"model": "chirp-v4-5",
"custom": True,
"instrumental": False,
"mashup_audio_ids": ["9f102969-0024-479e-b38f-c0c5db21383d","6aebb715-701c-433f-b976-a7ff5cf16255"]
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "3fe070eb-2ab1-4424-909c-acfe3ca761af",
"trace_id": "2b220382-7a84-4853-ae43-05cdcad233a9",
"data": [
{
"id": "5ff751dc-0e72-4de9-a54b-2cad50984b47",
"title": "",
"image_url": "https://cdn2.suno.ai/image_5ff751dc-0e72-4de9-a54b-2cad50984b47.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_5ff751dc-0e72-4de9-a54b-2cad50984b47.jpeg",
"lyric": "Sambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nSambuy come, Sambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\nSambuy come back",
"audio_url": "https://cdn1.suno.ai/5ff751dc-0e72-4de9-a54b-2cad50984b47.mp3",
"video_url": "",
"created_at": "2026-01-25T15:13:30.181Z",
"model": "chirp-v4-5",
"state": "succeeded",
"style": "",
"duration": 219.08
},
{
"id": "19c515c4-d7b3-4a17-8ab0-dd1ebd4861b8",
"title": "",
"image_url": "https://cdn2.suno.ai/image_19c515c4-d7b3-4a17-8ab0-dd1ebd4861b8.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_19c515c4-d7b3-4a17-8ab0-dd1ebd4861b8.jpeg",
"lyric": "Sambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nSambuy come, Sambuy come back \\nBluespawn, greenspawn are making you a spawn \\n\\nSambuy come \\nSambuy come back \\nBluespawn, greenspawn are making you a spawn \\nSambuy come back",
"audio_url": "https://cdn1.suno.ai/19c515c4-d7b3-4a17-8ab0-dd1ebd4861b8.mp3",
"video_url": "",
"created_at": "2026-01-25T15:13:30.181Z",
"model": "chirp-v4-5",
"state": "succeeded",
"style": "",
"duration": 163.12
}
]
}
Samples 取样生成歌曲
2025 年 12 月份 suno 新出 Samples 功能,该功能可以根据俩首参考歌曲生成歌曲,然后我们还需要填写如下参数:- action:内容为
samples。 - samples_start:取样开始时间。
- samples_end:取样结束时间。
- audio_id:需要取样的参考歌曲的 ID。

import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "samples",
"model": "chirp-v5",
"lyric": "[Verse 1]\\nPhone lit up\\nHeadline in my hand\\nFeels made up\\nStill says “you won’t understand”\\nYour name\\nMy name\\nSide by side in the scroll\\nCold black text\\nOn a story I used to hold\\n\\n[Chorus]\\nYou’re breaking news\\nAnd I’m just breaking\\nFront-page truth\\nHeart still shaking\\nEverybody reads\\nWhat we already knew\\nYou’re a story now\\nAnd I’m the one you broke it to\\n\\n[Verse 2]\\nNeighbors talk\\nThrough a half-closed door\\nCoffee cools\\nOn a cracked old floor\\nYour suitcase snaps\\nLike a camera flash\\nOne last quote\\nThen you cut to black\\n\\n[Chorus]\\nYou’re breaking news\\nAnd I’m just breaking\\nFront-page truth\\nHeart still shaking\\nEverybody reads\\nWhat we already knew\\nYou’re a story now\\nAnd I’m the one you broke it to\\n\\n[Bridge]\\nIs there a line\\nWhere we rewind\\nOr just a feed\\nThat leaves us behind\\nTell me\\nWho gets\\nThe final view\\nWhen I stop trending\\nWith you\\n\\n[Chorus]\\nYou’re breaking news\\nAnd I’m just breaking\\nFront-page truth\\nHeart still shaking\\nEverybody reads\\nWhat we already knew\\nYou’re a story now\\nAnd I’m the one you broke it to (yeah)",
"custom": True,
"instrumental": False,
"audio_id": "0fa07665-6b8e-4a8b-8bd3-7e0cfcdada88",
"samples_end": 102.16,
"samples_start": 59.88
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "12135a45-6384-4683-9bb1-64f19933915a",
"trace_id": "683e559d-340e-4c72-8fae-e683442ac7e9",
"data": [
{
"id": "9a0b680f-a9ea-4a36-8695-8ea777ab6ee7",
"title": "Whistle in the Wind",
"image_url": "https://cdn2.suno.ai/image_9a0b680f-a9ea-4a36-8695-8ea777ab6ee7.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_9a0b680f-a9ea-4a36-8695-8ea777ab6ee7.jpeg",
"lyric": "[Verse 1]\nPhone lit up\nHeadline in my hand\nFeels made up\nStill says “you won’t understand”\nYour name\nMy name\nSide by side in the scroll\nCold black text\nOn a story I used to hold\n[Chorus]\nYou’re breaking news\nAnd I’m just breaking\nFront-page truth\nHeart still shaking\nEverybody reads\nWhat we already knew\nYou’re a story now\nAnd I’m the one you broke it to\n[Verse 2]\nNeighbors talk\nThrough a half-closed door\nCoffee cools\nOn a cracked old floor\nYour suitcase snaps\nLike a camera flash\nOne last quote\nThen you cut to black\n[Chorus]\nYou’re breaking news\nAnd I’m just breaking\nFront-page truth\nHeart still shaking\nEverybody reads\nWhat we already knew\nYou’re a story now\nAnd I’m the one you broke it to\n[Bridge]\nIs there a line\nWhere we rewind\nOr just a feed\nThat leaves us behind\nTell me\nWho gets\nThe final view\nWhen I stop trending\nWith you\n[Chorus]\nYou’re breaking news\nAnd I’m just breaking\nFront-page truth\nHeart still shaking\nEverybody reads\nWhat we already knew\nYou’re a story now\nAnd I’m the one you broke it to (yeah)",
"audio_url": "https://cdn1.suno.ai/9a0b680f-a9ea-4a36-8695-8ea777ab6ee7.mp3",
"video_url": "",
"created_at": "2026-01-31T14:34:45.043Z",
"model": "chirp-v5",
"state": "succeeded",
"style": "acoustic with a hint of optimism,folk-pop,female vocals",
"duration": 176.92
},
{
"id": "66473dee-3aaf-43b2-80fd-76568b3abbb1",
"title": "Whistle in the Wind",
"image_url": "https://cdn2.suno.ai/image_66473dee-3aaf-43b2-80fd-76568b3abbb1.jpeg",
"image_large_url": "https://cdn2.suno.ai/image_large_66473dee-3aaf-43b2-80fd-76568b3abbb1.jpeg",
"lyric": "[Verse 1]\nPhone lit up\nHeadline in my hand\nFeels made up\nStill says “you won’t understand”\nYour name\nMy name\nSide by side in the scroll\nCold black text\nOn a story I used to hold\n[Chorus]\nYou’re breaking news\nAnd I’m just breaking\nFront-page truth\nHeart still shaking\nEverybody reads\nWhat we already knew\nYou’re a story now\nAnd I’m the one you broke it to\n[Verse 2]\nNeighbors talk\nThrough a half-closed door\nCoffee cools\nOn a cracked old floor\nYour suitcase snaps\nLike a camera flash\nOne last quote\nThen you cut to black\n[Chorus]\nYou’re breaking news\nAnd I’m just breaking\nFront-page truth\nHeart still shaking\nEverybody reads\nWhat we already knew\nYou’re a story now\nAnd I’m the one you broke it to\n[Bridge]\nIs there a line\nWhere we rewind\nOr just a feed\nThat leaves us behind\nTell me\nWho gets\nThe final view\nWhen I stop trending\nWith you\n[Chorus]\nYou’re breaking news\nAnd I’m just breaking\nFront-page truth\nHeart still shaking\nEverybody reads\nWhat we already knew\nYou’re a story now\nAnd I’m the one you broke it to (yeah)",
"audio_url": "https://cdn1.suno.ai/66473dee-3aaf-43b2-80fd-76568b3abbb1.mp3",
"video_url": "",
"created_at": "2026-01-31T14:34:45.043Z",
"model": "chirp-v5",
"state": "succeeded",
"style": "acoustic with a hint of optimism,folk-pop,female vocals",
"duration": 177.48
}
]
}
Inspo 灵感创作功能
Suno 新出的 Inspo 灵感创作功能,可以根据 1 到 4 段参考音频作为灵感来源,生成全新的音乐。与翻版(cover)不同,Inspo 并不会复刻原曲,而是从参考音频中提取风格灵感,再结合提示词、风格标签等生成新作品。使用时需要填写如下参数:- action:内容为
inspo。 - audio_urls:参考音频的 URL 列表,需提供 1 到 4 个公开可访问的音频地址。
- model:使用的模型,例如
chirp-v5。 - prompt:歌词或创作提示词(可选)。
- tags:音乐风格标签,例如
acoustic, folk, warm(可选)。 - title:歌曲标题(可选)。
- audio_weight:参考音频对生成结果的影响权重,取值范围 0 到 1(可选)。
说明:参考音频需为公开可访问的音频文件。若参考音频与平台曲库中的已知录音完全匹配,Suno 可能会因版权校验而拒绝生成,建议使用自有或由 Suno 生成的音频作为灵感来源。对应的 Python 代码:
import requests
url = "https://api.acedata.cloud/suno/audios"
headers = {
"accept": "application/json",
"authorization": "Bearer {token}",
"content-type": "application/json"
}
payload = {
"action": "inspo",
"model": "chirp-v5",
"audio_urls": [
"https://cdn1.suno.ai/935dd2f5-ddef-43cf-8e68-5a262425694d.mp3"
],
"prompt": "warm acoustic folk with soft vocals",
"tags": "acoustic, folk, warm",
"title": "Inspo Demo",
"audio_weight": 0.6
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
{
"success": true,
"task_id": "725e6b41-78d0-4adf-856c-05e81098c029",
"trace_id": "8c2f0b3e-2f6a-4738-8b1d-c58068ca3dab",
"data": [
{
"id": "20ca5628-86e0-4c32-8ae4-9f0c481e45f3",
"title": "Inspo Demo",
"image_url": "https://cdn2.suno.ai/image_20ca5628-86e0-4c32-8ae4-9f0c481e45f3.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/20ca5628-86e0-4c32-8ae4-9f0c481e45f3.mp3",
"video_url": "",
"created_at": "2026-06-18T13:01:53.910Z",
"model": "chirp-v5",
"state": "succeeded",
"style": "acoustic, folk, warm",
"duration": 36.92
},
{
"id": "8744a796-9961-45af-868d-4f3bc1c44257",
"title": "Inspo Demo",
"image_url": "https://cdn2.suno.ai/image_8744a796-9961-45af-868d-4f3bc1c44257.jpeg",
"lyric": "",
"audio_url": "https://cdn1.suno.ai/8744a796-9961-45af-868d-4f3bc1c44257.mp3",
"video_url": "",
"created_at": "2026-06-18T13:01:53.910Z",
"model": "chirp-v5",
"state": "succeeded",
"style": "acoustic, folk, warm",
"duration": 84.16
}
]
}
异步回调
由于 Suno 生成音乐的时间相对较长,大约需要 1-2 分钟,如果 API 长时间无响应,HTTP 请求会一直保持连接,导致额外的系统资源消耗,所以本 API 也提供了异步回调的支持。 整体流程是:客户端发起请求的时候,额外指定一个callback_url 字段,客户端发起 API 请求之后,API 会立马返回一个结果,包含一个 task_id 的字段信息,代表当前的任务 ID。当任务完成之后,生成音乐的结果会通过 POST JSON 的形式发送到客户端指定的 callback_url,其中也包括了 task_id 字段,这样任务结果就可以通过 ID 关联起来了。
下面我们通过示例来了解下具体怎样操作。
首先,Webhook 回调是一个可以接收 HTTP 请求的服务,开发者应该替换为自己搭建的 HTTP 服务器的 URL。此处为了方便演示,使用一个公开的 Webhook 样例网站 https://webhook.site/,打开该网站即可得到一个 Webhook URL,如图所示:
将此 URL 复制下来,就可以作为 Webhook 来使用,此处的样例为 https://webhook.site/03e60575-3d96-4132-b681-b713d78116e2。
接下来,我们可以设置字段 callback_url 为上述 Webhook URL,同时填入 prompt,如图所示:
点击运行,可以发现会立即得到一个结果,如下:
{
"task_id": "44472ab8-783b-4054-b861-5bf14e462f60"
}
内容如下:
{
"success": true,
"task_id": "44472ab8-783b-4054-b861-5bf14e462f60",
"data": [
{
"id": "da4324e5-84b2-484b-b0e9-dd261381c594",
"title": "Winter Whispers",
"image_url": "https://cdn1.suno.ai/image_da4324e5-84b2-484b-b0e9-dd261381c594.png",
"lyric": "[Verse]\nSnow falling gently from the sky\nChildren giggling as they pass by\nFire crackling\nCozy and warm\nChristmas spirit begins to swarm\n[Verse 2]\nTwinkling lights\nA sight to behold\nStockings hung\nWaiting to be filled with gold\nGifts wrapped with love\nPiled high\nExcitement in the air\nYou can't deny\n[Chorus]\nWinter whispers in the wind\nJoy and love it brings\nLet's celebrate this season\nWith the ones we're missing",
"audio_url": "https://cdn1.suno.ai/da4324e5-84b2-484b-b0e9-dd261381c594.mp3",
"video_url": "https://cdn1.suno.ai/da4324e5-84b2-484b-b0e9-dd261381c594.mp4",
"created_at": "2024-05-11T07:33:05.430Z",
"model": "chirp-v3",
"prompt": "A song for Christmas",
"style": "pop"
},
{
"id": "b878a87b-a0db-4046-8ccd-ecd2fb3d4372",
"title": "Winter Whispers",
"image_url": "https://cdn1.suno.ai/image_b878a87b-a0db-4046-8ccd-ecd2fb3d4372.png",
"lyric": "[Verse]\nSnow falling gently from the sky\nChildren giggling as they pass by\nFire crackling\nCozy and warm\nChristmas spirit begins to swarm\n[Verse 2]\nTwinkling lights\nA sight to behold\nStockings hung\nWaiting to be filled with gold\nGifts wrapped with love\nPiled high\nExcitement in the air\nYou can't deny\n[Chorus]\nWinter whispers in the wind\nJoy and love it brings\nLet's celebrate this season\nWith the ones we're missing",
"audio_url": "https://cdn1.suno.ai/b878a87b-a0db-4046-8ccd-ecd2fb3d4372.mp3",
"video_url": "https://cdn1.suno.ai/b878a87b-a0db-4046-8ccd-ecd2fb3d4372.mp4",
"created_at": "2024-05-11T07:33:05.430Z",
"model": "chirp-v3",
"prompt": "A song for Christmas",
"style": "pop"
}
]
}
task_id 字段,其他的字段都和上文类似,通过该字段即可实现任务的关联。
当然我们也可以通过流式调用来获取结果,我们只需要将请求头里面的accept的值设置为application/x-ndjson即可,下面用一个示例输入作为示范:

{"success":true,"task_id":"1af4b454-ce84-4512-a0a2-de3f8574ecd8","data":[{"id":"1f610752-f426-4fd5-89a8-ba2ad0370881","title":"Snowflakes and Mistletoe","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"pending","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar"},{"id":"d1a3109d-799b-401e-b032-4b501bcf26f3","title":"Snowflakes and Mistletoe","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"pending","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar"}]}
{"success":true,"task_id":"1af4b454-ce84-4512-a0a2-de3f8574ecd8","data":[{"id":"1f610752-f426-4fd5-89a8-ba2ad0370881","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://audiopipe.suno.ai/?item_id=1f610752-f426-4fd5-89a8-ba2ad0370881","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"running","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar"},{"id":"d1a3109d-799b-401e-b032-4b501bcf26f3","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://audiopipe.suno.ai/?item_id=d1a3109d-799b-401e-b032-4b501bcf26f3","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"running","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar"}]}
{"success":true,"task_id":"1af4b454-ce84-4512-a0a2-de3f8574ecd8","data":[{"id":"1f610752-f426-4fd5-89a8-ba2ad0370881","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://cdn1.suno.ai/1f610752-f426-4fd5-89a8-ba2ad0370881.mp3","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"succeeded","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar","duration":129.92},{"id":"d1a3109d-799b-401e-b032-4b501bcf26f3","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://audiopipe.suno.ai/?item_id=d1a3109d-799b-401e-b032-4b501bcf26f3","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"running","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar"}]}
{"success":true,"task_id":"1af4b454-ce84-4512-a0a2-de3f8574ecd8","data":[{"id":"1f610752-f426-4fd5-89a8-ba2ad0370881","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://cdn1.suno.ai/1f610752-f426-4fd5-89a8-ba2ad0370881.mp3","video_url":"https://cdn1.suno.ai/1f610752-f426-4fd5-89a8-ba2ad0370881.mp4","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"succeeded","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar","duration":129.92},{"id":"d1a3109d-799b-401e-b032-4b501bcf26f3","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://audiopipe.suno.ai/?item_id=d1a3109d-799b-401e-b032-4b501bcf26f3","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"running","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar"}]}
{"success":true,"task_id":"1af4b454-ce84-4512-a0a2-de3f8574ecd8","trace_id":"4440342a-41c4-4140-8bb1-3537a598ca2e","data":[{"id":"1f610752-f426-4fd5-89a8-ba2ad0370881","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_1f610752-f426-4fd5-89a8-ba2ad0370881.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://cdn1.suno.ai/1f610752-f426-4fd5-89a8-ba2ad0370881.mp3","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"succeeded","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar","duration":129.92},{"id":"d1a3109d-799b-401e-b032-4b501bcf26f3","title":"Snowflakes and Mistletoe","image_url":"https://cdn2.suno.ai/image_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","image_large_url":"https://cdn2.suno.ai/image_large_d1a3109d-799b-401e-b032-4b501bcf26f3.jpeg","lyric":"[Verse]\nLights are tangled on the tree again\nThe cat’s knocked over the wreath\nCookies burning in the oven too\nBut I’m still grinning through my teeth\n[Prechorus]\nSnow is falling like glitter in the sky\nI’ve got a feeling this year’s gonna fly\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe\n[Verse 2]\nGrandma’s singing a little off-key\nThe kids are laughing too loud\nThe dog’s stolen a turkey leg\nChaos is a Christmas crowd\n[Prechorus]\nBut the fire’s crackling\nWarm and bright\nAnd my heart’s a candle tonight\n[Chorus]\nSnowflakes and mistletoe\nEverywhere I go\nI know\nLove is the gift\nThe glow\nSnowflakes and mistletoe","audio_url":"https://cdn1.suno.ai/d1a3109d-799b-401e-b032-4b501bcf26f3.mp3","video_url":"","created_at":"2025-12-13T11:29:25.101Z","model":"chirp-v5","state":"succeeded","prompt":"A song for Christmas","style":"uplifting, orchestral with bells and acoustic guitar","duration":127.16}]}
错误处理
如果发生错误,您将得到类似如下的错误信息:{
"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"
}
error.code, error.message 的列表:
说明:不同上游账号的限额和报错文案可能存在差异。通常chirp-v3-5/chirp-v4的style限制更低(200),chirp-v4-5及以上通常支持到 1000;当命中旧上游时,可能出现Tags too long.或style must be less than or equal 120等兼容文案。
| 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 | Generic openAI error |
| 403 | forbidden | Prompt flagged for moderation |
| 500 | api_error | Unable to generate lyrics from song description |
| 500 | api_error | job failed with unknown error |
| 500 | api_error | no available worker in system |
| 500 | api_error | service under maintenance, generation paused |
| 504 | timeout | timeout while waiting for audio generation |

