POST
/
speak
Authorization
Header
Body
curl --request POST \
  --url https://api.uberduck.ai/speak \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "duration": [
    123
  ],
  "model_type": "<string>",
  "pace": 123,
  "pitch": [
    123
  ],
  "speech": "<string>",
  "voice": "<string>",
  "voicemodel_uuid": "<string>"
}'
{
  "uuid": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Headers

uberduck-id
string
default: anonymous

Body

application/json
duration
number[]
model_type
string
pace
number
default: 1
pitch
number[]
speech
string
required
voice
string
default: lj
voicemodel_uuid
string

Response

200 - application/json
uuid
string
required