xfyun-nodejs-sdk
v1.0.0
Published
nodejs sdk for xfyun
Downloads
2
Readme
nodejs sdk for xfyun
功能模块
- 语音合成 tts
- 语音听写 iat
- 语音评测 ise
- 实时语音转写 rtasr
Installation
$ npm install --save xfyun-nodejs-sdk
Usage
const XFYun = require('xfyun-nodejs-sdk')
const xfYun = new XFYun(appId, appKey)
const result = await xfYun.tts('测试一下这个翻译', 'audio/L16;rate=16000', 'raw', 'xiaoyan')