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.47k stars 341 forks source link

[Question] Is this a real keep-alive service? #11

Open kilosonc opened 7 months ago

kilosonc commented 7 months ago

Hello guys, thanks for your amazing work. But I have to ask, is this a service which could keep running? Cause I noticed this project used cookie which expires in 7 days.

curl -H "cookie: ..." https://clerk.suno.ai/v1/client\?_clerk_js_version\=4.70.5 | jq .

{
  "response": {
    "sessions": [
      {
        "expire_at": 1712040580998,
        "abandon_at": 1714027780998,
        "last_active_at": 1711454082099,
  ...
}

So could we use a discord bot like this project https://github.com/erictik/midjourney-api

Many thanks!

blueeon commented 7 months ago

We are currently putting this issue to the test, hoping to uncover a conclusive answer.

manfen100 commented 7 months ago

We are currently putting this issue to the test, hoping to uncover a conclusive answer.我们目前正在测试这个问题,希望能找到一个结论性的答案。

api resopnse { "detail": "Unauthorized" }

blueeon commented 7 months ago

@manfen100 Please provide more context, otherwise we won’t know what issue you are trying to address.

alessandro-newzoo commented 6 months ago

I noticed in the README it mentions:

  • Automatically keep the account active.

Does that mean it should refresh the cookies automatically?

blueeon commented 6 months ago

@alessandro-newzoo You got it right, the project indeed achieved automatic cookie refreshment. However, during testing, we found that suno’s account needs to be logged in again after about 7 days. So far, we haven’t found a good solution yet.

alessandro-newzoo commented 6 months ago

I see, thanks @blueeon !

FergaliciousPixelicious commented 5 months ago

sumosuno.com seems to have figured this out as a SAAS. Any thoughts on what can be done here?