Commit Graph

7 Commits

Author SHA1 Message Date
GitPusher99
6a9de6d059 feat: support cors 2024-04-05 00:22:44 +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
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
2a309f87a7 feat: Add pino-pretty logging and update SunoApi methods
Introduce pino-pretty for improved logging and update SunoApi methods to
incorporate new functionalities for generating custom audios, retrieving
audio information, and obtaining credit details. The new pino-pretty
logging enhances readability and provides better insights into
application behavior. These changes align with the broader goal of
enhancing developer experience and maintaining application stability.

#N/A
2024-03-28 11:50:10 +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