We love to generate our custom AI music with Postman and suno.ai and this repository is a nice API wrapper around suno.ai's functionalities. However, generating longer songs takes time and makes the custom_generate API call timeout in synchronous mode. We would like to make the endpoint wait up to 60 s when hosted in Vercel. The Vercel documentation on how to configure custom timeouts in the vercel.json
file can be found here: https://vercel.com/docs/functions/configuring-functions/duration.
The API calls to give the 60 s timeout to are defined in src/app/api/custom_generate/route.ts
.
Please propose the necessary changes to the repository.
Bonus: Can you create a Postman collection that is making use of the custom_generate API endpoint to create a beautiful pop song about automated code generation, contains a Postman visualization for the resulti