API Reference
Generate Lyrics
POST
/
tts
/
lyrics
Authorization
Body
curl --request POST \
--url https://api.uberduck.ai/tts/lyrics \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"backing_track": "<string>",
"generate_title": true,
"lines": 123,
"subject": "<string>"
}'
{
"lyrics": [
[]
],
"title": "<string>"
}
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
backing_track
string
generate_title
boolean
default: truelines
Number of lines of lyrics to generate.
If a list is provided, generate one verse for each element of the list.
subject
string
Response
200 - application/json
lyrics
array
requiredtitle
string
curl --request POST \
--url https://api.uberduck.ai/tts/lyrics \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"backing_track": "<string>",
"generate_title": true,
"lines": 123,
"subject": "<string>"
}'
{
"lyrics": [
[]
],
"title": "<string>"
}