Skip to main content
POST
/
v1
/
speech
/
synthesize
Synthesize
curl --request POST \
  --url https://api.example.com/v1/speech/synthesize \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "voice": "<string>",
  "ref_audio": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Headers

authorization
string | null
X-API-Key
string | null

Body

application/json
text
string
required
Required string length: 1 - 2500
voice
string | null
ref_audio
string | null

Response

Successful Response