Skip to content

Built-in Supported Third-Party API Interfaces

Custom TTS API Interface Requirements

A POST request will be sent to the filled API address with application/www-urlencode data:

text: The text/string to be synthesized

language: Language code of the text (zh-cn,zh-tw,en,ja,ko,ru,de,fr,tr,th,vi,ar,hi,hu,es,pt,it) / string

voice: Name of the voice actor / string

rate: Speed up or slow down value, 0 or '+number%' '-number%', representing the percentage of acceleration or deceleration based on normal speed / string

ostype: Operating system type win32 or mac or linux / string

extra: Extra parameters / string

Expect JSON format data to be returned from the interface:

{

code: 0 = success, > 0 number represents failure

msg: ok = success, others are the reason for failure

data: When synthesis is successful, return the complete URL address of the mp3 file for download in the software. Empty when failed

}


OpenVoice-v2 Third-Party Implementation of Custom API

https://github.com/kungful/openvoice-api