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
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
backing_track
string
generate_title
boolean
default: true
lines

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
required
title
string