Text To Speech

Convert a text to voice and download the voiceId

POST https://api.bitel.rest/api/v2/files/tts

Headers

Name
Type
Description

content-type

string

application/json

Request Body

Name
Type
Description

text

string

the message to be converted

speaker

string

whether the speaker is "male" or "female", default is "female"

{
  "result": {
    "id": "9e8b2e5565774d3ebfa29082a7c61e6f",
    "dateCreated": 1564642810
  },
  "error": null
}

Sample Request

{
    "text": "Hi, there"
}

Last updated