Welcome to the TTS TikTok API documentation! This API allows you to generate TikTok-style voices for your applications. Simply pass a JSON payload to the endpoint with the following format:
{
"lang" : "string",
"voice": "string",
"text": "string"
}
Before making the request to the endpoint, you must provide a query parameter named response. This parameter can have two possible values:
The TTS TikTok API supports the following languages and their corresponding voices:
Lang | Voice |
---|---|
english_us | female_1, male_1, male_2, male_3, male_4 |
english_uk | male_1, male_2 |
english_au | female_1, male_1 |
french | male_1, male_2 |
german | female_1, male_1 |
spanish | male_1 |
spanish_mx | male_1, male_2, female_1, female_2, female_3 |
portuguese_br | female_1, female_2, male_1 |
indonesian | female_1 |
japanese | female_1, female_2, female_3, male_1 |
korean | female_1, male_1, male_2 |
The API will always return a JSON response in the following format:
{
"data": "object or null",
"errors": "array or null",
"message": "string",
"success": "boolean"
}