POST
/
v2
/
speech
Generate Speech
curl --request POST \
  --url https://tavusapi.com/v2/speech \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "script": "Hi, this is my first speech.",
  "replica_id": "r665388ec672"
}'
{
  "speech_id": "sda06a0f4256",
  "speech_name": "<string>",
  "speech_file_url": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

The response is of type object.