curl --location --request POST 'http://dev-cn.your-api-server.comhttp(s): //api-dx.xf-yun.com/v1/private/dts_create' \
--header 'Content-Type: application/json' \
--data-raw '{
"header": {
"app_id": "your_appid"
},
"parameter": {
"dts": {
"vcn": "x3_mingge",
"language": "zh",
"speed": 50,
"volume": 50,
"pitch": 50,
"rhy": 1,
"audio": {
"encoding": "lame",
"sample_rate": 16000,
},
"pybuf": {
"encoding": "utf8",
"compress": "raw",
"format": "plain"
}
}
},
"payload": {
"text": {
"encoding": "utf8",
"compress": "raw",
"format": "plain",
"text": "6L+Z5piv5LiA5q615rWL6K+V5paH5pys\n"
}
}
}'