POST
/
tts
/
freestyle
Authorization
Body
curl --request POST \
  --url https://api.uberduck.ai/tts/freestyle \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "backing_track": "<string>",
  "bpm": 123,
  "format": "json",
  "generate_title": true,
  "lines": 123,
  "lyrics": [
    []
  ],
  "subject": "<string>",
  "title": "<string>",
  "voice": "<string>",
  "voicemodel_uuid": "<string>"
}'
"<any>"

Authorizations

Authorization
string
headerrequired

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

Body

application/json
backing_track
bpm
number
format
enum<string>
default: json
Available options:
json
generate_title
boolean
default: true
lines
integer
lyrics
array

Lyrics of the generated song. This is provided as list of lists of strings, where each inner list is a verse and each inner string is one line of a verse.

subject
string
title
string
voice
string
voicemodel_uuid
string

Response

200 - application/json

The response is of type any.