gcui-art / suno-api

Use API to call the music generation AI of suno.ai, and easily integrate it into agents like GPTs.
https://suno.gcui.ai
GNU Lesser General Public License v3.0
1.25k stars 286 forks source link

audio link does not work for suno version 3.5, only works with 3.0 #107

Open bobberystudent opened 3 months ago

bobberystudent commented 3 months ago

when you run the script and get "{data[0]['audio_url']}"

you get something like this: https://audiopipe.suno.ai/?item_id=xx-xx-xx-xx-xxx

but when you click on the link while using v3.5, nothing loads, but works when using suno v3.0. u can get around it via using this link: https://cdn1.suno.ai/{data[0]['id']}.mp3 but i was wondering if I was doing something wrong?

my code is just the code in readme, using custom_generate_audio, using "model": "chirp-v3-5" in data variable

Haozhe-Li commented 3 months ago

try using curl like curl -o output.mp3 your_link.mp3. Same for me when clicking them in the browser