wlhtea / Suno2openai

以openai格式调用suno api,并将cookie保存为数据库,实现cookie池调用 📈已接入newapi、oneapi中转站,适配chat-next-web等前端项目 || Call suno api in openai format, and save the cookie as a database to realize the cookie pool call to access newapi, oneapi relay station, adapting chat-next-web and other front-end projects
MIT License
220 stars 44 forks source link

🤖 refactor process cookies #44

Closed Yanyutin753 closed 3 months ago

Yanyutin753 commented 3 months ago

PR:

  1. 加入多线程环境变量BATCH_SIZE:使得刷新和添加cookies变秒男
  2. 优化添加和刷新cookies返回形式,变成流式返回,为后续接入前端埋下伏笔