本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
curl --location 'https://www.yuntts.com/api/v1/indextts2_generate' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"text": "你好,这是一段测试文本",
"voice": "jay_klee",
"speed": 1.58,
"sample_rate": 15,
"gain": 5.12,
"interval_silence": 200,
"max_text_tokens_per_sentence": 120,
"stream_mode": false,
"emo_control_method": 1,
"emo_weight": 0.801516756720627,
"emo_vec": "[ 1.20 , 1.20 , 1.00 , 1.10 , 0.33 , 1.00 , 0.06 , 1.00 ]",
"emo_text": "incididunt in laborum eu",
"emo_random": false
}'{}