Commit Graph

12 Commits

Author SHA1 Message Date
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
Abwasserrohr
7045b59123
Added negative tags 2024-10-07 21:46:11 +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
blueeon
4174ca8009 🦄 refactor: opt params 2024-06-08 14:17:48 +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
Johannes Nicolai
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
Alistair Hughes
8cf877f657 add concat endpoint 2024-05-15 19:25:09 +01:00
GitPusher99
6a9de6d059 feat: support cors 2024-04-05 00:22:44 +08:00
blueeon
c30a11744d refactor: Optimize code comments. 2024-03-29 11:41:27 +08:00
blueeon
22d41d7b6c fix: change api to dynamic 2024-03-28 22:00:33 +08:00
GitPusher99
d3160ce5f9 feat: optimize code 2024-03-28 13:21:33 +08:00
blueeon
0fcf77df6d feat: Add new dependencies and SunoApi class for audio generation
functionality

Added new dependencies for axios, pino, and user-agents in the
package.json and pnpm-lock.yaml files to support audio generation
functionality. Additionally, implemented a new SunoApi class in the lib
directory to handle the audio generation process, including functions
for generating, customizing, and retrieving audio content from the
Suno.ai API. This addresses the need for enhanced audio processing
capabilities and lays the groundwork for efficient integration with the
Suno.ai API. No issues are associated with these additions.
2024-03-28 03:35:22 +08:00