-
Notifications
You must be signed in to change notification settings - Fork 79
Request Parameters
When accessing the TikTok TTS API, there are multiple headers and parameters needed to be passed for the graceful status code 0.
As of recent, TikTok Voice and all other projects taking advantage of the TTS API went down due to changes in access. Just today (as of writing), a pull request was made and we now have success in making requests.
The user agent is not required for access but just in-case, we recommend keeping it.
com.zhiliaoapp.musically/2022600030 (Linux; U; Android 7.1.2; es_ES; SM-G988N; Build/NRD90M;tt-ok/3.12.13.1)
This is the most important part of the request, the sessionid. This has taken us weeks to figure out, and are still trying to get a consistent way of getting one, for now however, use this one.
57b7d8b3e04228a24cc1e6d25387603a
These are what make the voices come to life.
This is where the voice name goes, to see a list, visit the Wiki
Text that is read goes here, there is a server limit of 200 characters.
This is unknown, we use 0
.
This is also unknown, but if it is not 1233
, it does not succeed.