API Reference
Generate Freestyle
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
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
backing_track
bpm
number
format
enum<string>
default: jsonAvailable options:
json
generate_title
boolean
default: truelines
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
.
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>"