Commit Graph

45 Commits

Author SHA1 Message Date
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 Rathod
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
Gleb
98affeb2a7
Update BASE_URL 2024-11-16 23:10:45 +03:00
blueeon
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
blueeon
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
Abwasserrohr
0e8a2f55a2
Added negative tags 2024-10-07 21:45:32 +02:00
swumagic
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
swumagic
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
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
swumagic
0491386f47
Update SunoApi.ts
4.72.4 up 4.73.2
2024-05-29 05:08:21 +08:00
blueeon
a7a5e842fc
Merge branch 'main' into add-get-clip-route 2024-05-20 14:09:31 +08:00
blueeon
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
swumagic
d2acd138e4
Update SunoApi.ts
4.72.2 up4.72.4
2024-05-19 00:30:43 +08: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
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 Fang
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
blueeon
b3be1185a9 feat: Add new API
- Add a new API generate_lyrics.
- Update the documentation.
- Modify the API version.
2024-03-31 16:44:07 +08:00
blueeon
721bfecb77 fix: Optimize the logic for session ID validation and improve error messages. 2024-03-31 15:02:39 +08:00
blueeon
c30a11744d refactor: Optimize code comments. 2024-03-29 11:41:27 +08:00
blueeon
db007c3c6c fix: update token refresh method 2024-03-28 23:41:25 +08:00
GitPusher99
f20b892dd0 fix: refresh token 2024-03-28 23:06:29 +08:00
GitPusher99
de883ca5fb fix: refresh token 2024-03-28 23:04:20 +08:00
GitPusher99
179669e399 feat: optimize code 2024-03-28 16:21:15 +08:00
GitPusher99
7bcf16207a feat: adjust keepAlive token 2024-03-28 16:08:13 +08:00
GitPusher99
12604fe17e feat: remove useless code 2024-03-28 15:57:35 +08:00
GitPusher99
d229d741f4 feat: resolve conflict 2024-03-28 15:48:16 +08:00
GitPusher99
d3160ce5f9 feat: optimize code 2024-03-28 13:21:33 +08:00