POST
/
v1
/
speech
curl --request POST \
  --url https://api.spi-tch.com/v1/speech \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>",
  "voice": "sade",
  "language": "yo"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

stream
boolean
default:false

Body

application/json
text
string
required
voice
enum<string>
required
Available options:
sade,
segun,
femi,
funmi,
amina,
aliyu,
hasan,
zainab,
ngozi,
amara,
ebuka,
obinna,
lucy,
lina,
john,
jude,
henry,
kani
language
enum<string>
required
Available options:
yo,
en,
ha,
ig

Response

200
audio/wav
Successful Response

The response is of type any.