Commit Graph
82 Commits
Author SHA1 Message Date
gohoski 48a39a77f4 implement cookie check, use browser NPM package for auto install instead of a manual command, fix Docker & add notice about macOS recommendation 2025-01-21 23:15:53 +03:00
gohoski 72bdbe083e change song API url in interface wait trigger 2025-01-15 23:17:00 +03:00
gohoski 881c6c773c changed wait for hCaptcha image logic & other stuff
- fixed bug in dragging type of hCaptcha when worker did not select an even amount of coordinates and it would crash
- change waitForResponse function to a waitForRequests util function with more proper checks
2025-01-11 01:48:17 +03:00
gohoski 52ad4dea00 properly catch hCaptcha window closing after timeout.
please note that you can't increase the timeout in any way, even by clicking,so the only option we have is to just reinstate the solving process
2025-01-08 03:10:49 +03:00
gohoski 9141a226b5 implement dragging type of hCaptcha
also change the Suno interface load trigger from a locator to waitForResponse since the previous locator could not exist on a Suno account without any songs
2025-01-06 20:39:58 +03:00
gohoski 64b41508d4 Remove unnecessary logging 2025-01-06 06:08:04 +03:00
gohoski 7da7ac6ae2 Implement hCaptcha solving via 2Captcha & other stuff
- implement hCaptcha solving via paid service 2Captcha and browser automation library Playwright with rebrowser-patches

- implement sunoApi instances caching so sessions won't be constantly updated

- add support for entering cookies not only in SUNO_COOKIE, but also the Cookie HTTP header

- update docs and add Russian docs
2025-01-06 05:25:08 +03:00
Bhushan RathodandGitHub edd8322f9e update clerk version in SunoApi.ts
Use a Clerk version released before fraud detection was implemented
2024-11-25 17:20:36 +05:30
GlebandGitHub 98affeb2a7 Update BASE_URL 2024-11-16 23:10:45 +03:00
blueeonandGitHub 80a434f928 Merge pull request #189 from tmirkovic/add-routes
Add routes for generating stems and getting lyrics timestamps
2024-11-16 23:36:45 +08:00
tmirkovic 15bab02551 Add route for getting aligned lyrics 2024-11-10 14:02:40 -05:00
tmirkovic 96b675a039 Add route for generating stems 2024-11-09 22:44:30 -05:00
tmirkovic 6118f0271a Specify task 2024-11-09 21:13:27 -05:00
tmirkovic 4344c66885 Fix extending song 2024-11-09 20:21:42 -05:00
Wesley Seubring b2f0c3aacc feat(get): add page query param 2024-10-25 13:51:08 +02:00
blueeonandGitHub 6c49aec4b2 Merge pull request #169 from Kinggodhoon/feat/get-latest-clerk-version
Add method(Get clerk latest version) in to lib/SunoApi
2024-10-16 11:45:40 +08:00
Kinggodhoon d9ca3aedcd modify: remove test console log 2024-10-10 18:10:10 +09:00
Kinggodhoon aae2d7c2f2 feat: add method(Get clerk latest version) in to lib/SunoApi 2024-10-10 17:50:50 +09:00
AbwasserrohrandGitHub 762497a3c6 Added negative tags 2024-10-07 21:46:45 +02:00
AbwasserrohrandGitHub 7045b59123 Added negative tags 2024-10-07 21:46:11 +02:00
AbwasserrohrandGitHub 0e8a2f55a2 Added negative tags 2024-10-07 21:45:32 +02:00
swumagicandGitHub f7511f6f91 Update SunoApi.ts 4.73.3 fix 4.73.4
Update SunoApi.ts 4.73.2 fix 4.73.3
2024-07-30 14:52:44 +08:00
Maxim Karpovich 5048d4d142 Addressed the same issue as described in #132 2024-07-14 19:51:41 +02:00
Maxim Karpovich b4860a23dc Implemented feature request issue #132
https://github.com/gcui-art/suno-api/issues/132
2024-07-14 19:01:25 +02:00
swumagicandGitHub e236ee6c3c Update SunoApi.ts 4.73.2 fix 4.73.3
Update SunoApi.ts 4.73.2 fix 4.73.3
2024-06-25 00:38:46 +08:00
cxk 88b35c9825 FIX: duration field name error 2024-06-12 16:19:23 +08:00
blueeon eb484dfa79 📃 docs: change domain 2024-06-08 14:48:24 +08:00
blueeon 4174ca8009 🦄 refactor: opt params 2024-06-08 14:17:48 +08:00
blueeon e96ca35094 🐞 fix: update params 2024-06-08 14:06:46 +08:00
blueeon cb36f1b1a4 feat: Model selection.
1. Use the model number as an optional parameter, defaulting to 3.5;
2. Improve documentation.
2024-06-08 12:05:59 +08:00
Carlos Valencia 299e94f592 Adds error message management on generation 2024-06-04 17:04:55 -05:00
LordSkare 3a8a0a8309 update chirp v.3.5 2024-05-31 00:10:16 +05:00
swumagicandGitHub 0491386f47 Update SunoApi.ts
4.72.4 up 4.73.2
2024-05-29 05:08:21 +08:00
blueeonandGitHub 9ebcfc48fb Merge pull request #86 from jonico/patch-1
feat: 60 s timeout for custom_generate endpoint to give more time for synchronous song creation on Vercel deployments
2024-05-26 21:14:31 +08:00
Johannes NicolaiandGitHub b4704cd2b2 feat: 60 s timeout for custom_generate endpoint
* increased timeout for custom_generate to 60 s
* prevents many timeouts if wait_audio is set to true on Vercel
* highest possible value to work in all Vercel tiers
2024-05-24 14:26:26 +02:00
Ted Schaefer 3897c87a4d Add missing null check in get clip. 2024-05-21 22:29:59 -07:00
blueeonandGitHub a7a5e842fc Merge branch 'main' into add-get-clip-route 2024-05-20 14:09:31 +08:00
blueeonandGitHub 2bd9ab673b Merge pull request #79 from alifhughes/concat-endpoint
Add concat endpoint to "get whole song" from an extension
2024-05-20 14:07:41 +08:00
swumagicandGitHub d2acd138e4 Update SunoApi.ts
4.72.2 up4.72.4
2024-05-19 00:30:43 +08:00
Alistair Hughes 95b7a773f0 added docs 2024-05-16 22:55:51 +01:00
Alistair Hughes 8cf877f657 add concat endpoint 2024-05-15 19:25:09 +01:00
Alistair Hughes cde08a133f update docs 2024-05-14 18:01:12 +01:00
Alistair Hughes 164fd70b63 reset changes 2024-05-12 17:16:09 +01:00
Alistair Hughes 088d9abee3 add missing file 2024-05-12 17:15:48 +01:00
Alistair Hughes b77bfc71f1 added get clip route 2024-05-12 17:12:24 +01:00
blueeon dd5a5208de feat: add extend api
- Added extend API
- Added documentation for extend API
2024-04-27 17:58:27 +08:00
Nick Budzban 72e5479e8f fix the docker path 2024-04-26 23:15:04 -05:00
blueeon 584ed42b05 🐞 fix: update url
Suno has updated the URL for session updates.
2024-04-20 21:31:39 +08:00
Andy FangandGitHub 0e74223756 Update SunoApi.ts: Hotfix for CLERK_BASE_URL
from `clerk.suno.ai` to `clerk.suno.com`
2024-04-10 12:54:19 +08:00
GitPusher99 6a9de6d059 feat: support cors 2024-04-05 00:22:44 +08:00