Open jochemstoel opened 2 weeks ago
Hey, are the cookies working for you, Joch? Can't seem to make it work, having the "Internal server error. Error: Failed to get session id, you may need to update the SUNO_COOKIE".
@uisato It works fine for me. I think what you are doing wrong is you're using the value stored in your document.cookie. The best way is to grab it in the way demonstrated in the network tab. If you do not get any results in sources when you type "clerk" into search or look for it, refresh the page with the devtools already open.
My issue however was about adding features, if you have cookie problems then ask your question where it is relevant please.
Hey Jochem. Thank you for the replay. I know this is completely OT, but can't seem to get any response outside.
I'm using the apparently correct value, as shown in the GIF. Nevertheless, it has a different structure now, and I've tested several ways to extract the cookie, with no success.
Would you be so kind to show me what value are you succesfully using as a cookie? Here's a screenshot of mine.
PS: Thanks again, and sorry for the brief OT.
De: Jochem Stoel @.> Enviado: domingo, 10 de noviembre de 2024 16:05 Para: gcui-art/suno-api @.> Cc: uisato @.>; Mention @.> Asunto: Re: [gcui-art/suno-api] Extend, Cover, Negative Tags and Upload (with progress) (Issue #184)
@uisatohttps://github.com/uisato It works fine for me. I think what you are doing wrong is you're using the value stored in your document.cookie. The best way is to grab it in the way demonstrated in the network tab. If you do not get any results in sources when you type "clerk" into search or look for it, refresh the page with the devtools already open.
My issue however was about adding features, if you have cookie problems then ask your question where it is relevant please.
— Reply to this email directly, view it on GitHubhttps://github.com/gcui-art/suno-api/issues/184#issuecomment-2466769598, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUJCRRG6BKOA6S65LM33WRDZ75YZ5AVCNFSM6AAAAABRG32HP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWG43DSNJZHA. You are receiving this because you were mentioned.Message ID: @.***>
Sorry, here's the screenshot.
De: Jochem Stoel @.> Enviado: domingo, 10 de noviembre de 2024 16:05 Para: gcui-art/suno-api @.> Cc: uisato @.>; Mention @.> Asunto: Re: [gcui-art/suno-api] Extend, Cover, Negative Tags and Upload (with progress) (Issue #184)
@uisatohttps://github.com/uisato It works fine for me. I think what you are doing wrong is you're using the value stored in your document.cookie. The best way is to grab it in the way demonstrated in the network tab. If you do not get any results in sources when you type "clerk" into search or look for it, refresh the page with the devtools already open.
My issue however was about adding features, if you have cookie problems then ask your question where it is relevant please.
— Reply to this email directly, view it on GitHubhttps://github.com/gcui-art/suno-api/issues/184#issuecomment-2466769598, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUJCRRG6BKOA6S65LM33WRDZ75YZ5AVCNFSM6AAAAABRG32HP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWG43DSNJZHA. You are receiving this because you were mentioned.Message ID: @.***>
Hi, thanks for creating this repo. I need additional methods for: cover and upload, and parameter: negative_tags.
I have already done some research.
Implementing negative tags (exclude style) is easy, just add a property negative_tags to your HTTP request payload. This will work.
Extend is easy too, all you need to do is provide the ID of the song you want to extend.Update: you have already implemented extend function, it will work the same with uploads (provide audio ID) but no uploads are supported yet.I have been investigating the suno.com website but I haven't found the right way yet to "cover" an audio. This is a new feature on their platform. I assume it also required a track id.
Lastly, trying to update your repository, I haven't been able to upload my audio files to Suno yet. I have found so far that when you upload a file on the suno website, it sends a request to /audio with a payload of:
This will respond with:
Then you need to request _https://suno-uploads.s3.amazonaws.com/raw_uploads%2F11b10f4c-6bf9-499b-8d49-f7bc4661bfcb.wav_ (response.url + fields.key) and provide the file as payload.
Then a response comes from /upload-finish from Suno, followed by responses with progress indicators of the audio processing. For example:
But I get stuck on the uploading file to amazon. Authentication errors etcetera. Can you implement these features? I hope some of my findings are useful.
Update: there exists now the option to save the profile of a voice as a "persona". This is a very easy to implement endpoint too.