suno 下载
- suno 2026.09.03 要限制下载 官网通知
- 下面会按照 我们一些解决方案 是否加收费等一些问题进行讨论
- 9.3 前仅支持 主动下载
1. 我们的解决方案
- 目前我们已经完成了对 suno 加密音频的解密
- 我们将解密音频存储到我们的服务器上,供大家下载
- 由原来的 https://cdn1.suno.ai/26a9b6a0-bf88-4325-9cd9-be136426421d.mp3 变成 https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a
- 可能原来的 https://cdn1.suno.ai/xxx.mp3 需要下载费用,但是我们的 https://suno.day/f/xxx.m4a 不会增加费用
- 为了数据安全;存储在服务器上的文件,仅保留
3 天72小时注意好备份 - 默认下载不会增加费用,但是你要主动过来下载,需花费
100 积分(0.01CNY)
2. 返回数据格式的改变
get https://api.openai-hk.com/suno/feed/26a9b6a0-bf88-4325-9cd9-be136426421d
- json 字段未变化,原来 audio_url 为 https://suno.day/f/xxx.m4a
- json 字段未变化,原来 audio_url 只有
""和https://suno.day/f/xxxx.m4a
json
{
....
"m4a": "https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a", //9.3前会加一个这个字段
"audio_url": "https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a",
....
"media_urls": [ //当 状态是有 streaming的时候 中间态也解密了
.....
{
"content_type": "mp3",
"delivery": "streaming",
"encoding": "1.0.0", //边听边生成链接
"url": "https://audiopipe.suno.day/?item_id=f13ed754-2f7f-4a7f-b113-54e9669ce127&key=006ae5cd9360df4e876d652148ae50c0"
}
]
}{
....
"m4a": "https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a", //9.3前会加一个这个字段
"audio_url": "https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a",
....
"media_urls": [ //当 状态是有 streaming的时候 中间态也解密了
.....
{
"content_type": "mp3",
"delivery": "streaming",
"encoding": "1.0.0", //边听边生成链接
"url": "https://audiopipe.suno.day/?item_id=f13ed754-2f7f-4a7f-b113-54e9669ce127&key=006ae5cd9360df4e876d652148ae50c0"
}
]
}3.主动下载
- 你可以主动下线,然后重新请求,但需要花费
100 积分(0.01CNY) - 数据同样保存在服务器上,仅保留
3 天72小时注意好备份 - 过期后可以再次请求,不会重复收费用
json
{
"id": "26a9b6a0-bf88-4325-9cd9-be136426421d",
"song": "https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a",
"status": "complete", //error complete submitted
"message": "", //当error时有错误信息
"mp3": "" //当 output=mp3 时有这个字段才有内容
}{
"id": "26a9b6a0-bf88-4325-9cd9-be136426421d",
"song": "https://suno.day/f/26a9b6a0-bf88-4325-9cd9-be136426421d.m4a",
"status": "complete", //error complete submitted
"message": "", //当error时有错误信息
"mp3": "" //当 output=mp3 时有这个字段才有内容
}- 如果要带 mp3 可以 加上
?output=mp3拼凑https://api.openai-hk.com/suno/act/mp3/{clip_id}?output=mp3 - mp3 可能有损耗,不推荐 ;另外转 mp3 格式耗时较长
4.获取流输出
- 我们都知道 suno 支持边听边下载 就需要流输出
- 非主动获取不需要付费
- 这个流输出 只在 suno 是 streaming 的时候才有用
- 计费:
100 积分(0.01CNY)
json
{
"content_type": "mp3",
"url": "https://audiopipe.suno.day/?item_id=020a974b-9930-4e16-a5c9-74dddc87ec3c&key=f0d4b31dd0fc9bb20364dc25f3f7e509"
}{
"content_type": "mp3",
"url": "https://audiopipe.suno.day/?item_id=020a974b-9930-4e16-a5c9-74dddc87ec3c&key=f0d4b31dd0fc9bb20364dc25f3f7e509"
}- 得到 url 就是 流输出
5.非主动下载 自动生成 mp3
- 如果我要输出 mp3,但是不是主动下载不想付费如何实现
- 在你提交生成的时候加一个参数
"output":"mp3"
shell
curl --request POST \
--url https://api.openai-hk.com/sunoapi/generate \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json' \
--data '{
"generation_type": "TEXT",
"title": "过年20",
"tags": "pop 中国风",
"negative_tags": "",
"mv": "chirp-auk-turbo",
"prompt": "[Verse 1]\n红纸贴....",
"make_instrumental": false,
"metadata": {
"create_mode": "custom"
}
,"output":"mp3"
}'curl --request POST \
--url https://api.openai-hk.com/sunoapi/generate \
--header 'Authorization: Bearer hk-your-key' \
--header 'Content-Type: application/json' \
--data '{
"generation_type": "TEXT",
"title": "过年20",
"tags": "pop 中国风",
"negative_tags": "",
"mv": "chirp-auk-turbo",
"prompt": "[Verse 1]\n红纸贴....",
"make_instrumental": false,
"metadata": {
"create_mode": "custom"
}
,"output":"mp3"
}'- 这样生产出来的 audio_url 就会变成 mp3
audio_url:https://suno.day/m/b37ba5a6-5934-4372-b7a9-107030f1ed0c.mp3,- 如果是
"output":"mp3"则status会多出一个状态downloading
其他
- 如果客户需要自行下载也可以安装 "suno free download" 谷歌插件
- 插件支持批量下载 可以备份自己的音频
- 插件下载地址 https://chromewebstore.google.com/detail/suno-free-download/hdkjnjofjoefdhehdcalhnadokfpmdpi?authuser=0&hl=zh-CN
OpenAi-HK