语音合成
文本合成规范说明
Authorization: Bearer ********************
{ "speakerId": 0, "text": "string", "speedRatio": 0, "volumeRatio": 0, "pitchRatio": 0 }
curl --location 'https://api.16ai.chat/api/v1/speaker/tts' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "speakerId": 0, "text": "string", "speedRatio": 0, "volumeRatio": 0, "pitchRatio": 0 }'
{"code":0,"data":{"audio":"//PkxAA......VVVVV","length":1616},"msg":""}