I'm trying to implement this API in a chatbot I made with voiceflow. The idea is that after the user provides information about him, a prompt is sent to the suno API to create a song with this information, specific to each user. My problem is being in the answer, how to get the url of the user-generated song to be placed directly as a chatbot response to the user - i think i'm having parameters problem here, but i really can't understand what - bc it isn't showing any error, but the response is always "0" when it was to be the url for the music.
PS: And i'm having error when setting true "waiting_audio" :
I'm trying to implement this API in a chatbot I made with voiceflow. The idea is that after the user provides information about him, a prompt is sent to the suno API to create a song with this information, specific to each user. My problem is being in the answer, how to get the url of the user-generated song to be placed directly as a chatbot response to the user - i think i'm having parameters problem here, but i really can't understand what - bc it isn't showing any error, but the response is always "0" when it was to be the url for the music.
PS: And i'm having error when setting true "waiting_audio" :
"error": { "code": "504", "message": "An error occurred with your deployment" } } Response headers cache-control: public,max-age=0,must-revalidate content-length: 79 content-type: application/json date: Mon,15 Apr 2024 14:39:30 GMT server: Vercel strict-transport-security: max-age=63072000; includeSubDomains; preload x-matched-path: /api/generate x-vercel-error: FUNCTION_INVOCATION_TIMEOUT x-vercel-id: gru1::5qh7t-1713191959378-e60f698c9961 "