FreeSWITCH ASR 接口
POST /freeswitch/asr
Content-Type: application/json
{
"audio_data": "base64编码的音频数据",
"format": "pcm",
"sample_rate": 16000,
"channels": 1,
"language": "zh-CN"
}
FreeSWITCH TTS 接口
POST /freeswitch/tts
Content-Type: application/json
{
"text": "要转换的文本",
"voice": "female",
"rate": 0,
"pitch": 0,
"volume": 0,
"format": "wav",
"sample_rate": 16000
}