Adding a melody to a song
Now that you've got your song's foundation in place, it's time to add a melody! To do this, make a POST request to the /getMelody
endpoint with the following parameters:
Add a melody to a song
POST /getMelody HTTP/1.1
Host: staging.casperaki.com
Content-Type: application/json
{
"segment": "<Insert segment>",
"song": <Insert song>
}
This will give you a melody for your specified song and segment. You can use this API to add a unique and captivating melodic element to your song, enhancing the overall listening experience.
Note: The segment
parameter specifies the specific part of the song where the melody should take place.