Supports user-defined uploading of music descriptions and lyrics, then generates a Song.
Request
Body Params application/json
{
"prompt": "Dream Pop, shimmering synths, soft electronic beats, melancholic, dreamy, moderate tempo, ethereal female vocals, warm analog production",
"model": "TemPolor v4.5",
"lyrics": "[Intro: Bright fingerpicked acoustic guitar][Verse 1]...[Chorus]...[Bridge]...[Outro: Guitar fades with gentle harmonic chime]",
"callback_url": "https://**************/callback"
}
Request Code Samples
curl --location -g --request POST 'https://api.tempolor.com/open-apis/v1/song/generate' \
--header 'Authorization: Tempo-********************************-3w' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"prompt": "Dream Pop, shimmering synths, soft electronic beats, melancholic, dreamy, moderate tempo, ethereal female vocals, warm analog production",
"model": "TemPolor v4.5",
"lyrics": "[Intro: Bright fingerpicked acoustic guitar][Verse 1]...[Chorus]...[Bridge]...[Outro: Guitar fades with gentle harmonic chime]",
"callback_url": "https://**************/callback"
}'
Responses
application/json {
"status": 200000,
"message": "success",
"request_id": "b072a68c-4c1b-41be-bdd1-0a0309754de7",
"data": {
"item_ids": [
"123"
]
}
}
Modified at 2026-03-25 10:19:45