vits 语音合成服务
imort { Context, h } form 'koishi'
import Vits from '@initencounter/vits'
class Xxx extends Vits {
constructor(ctx: Context) {
super(ctx)
}
async say(option: BaiduTts.Result): Promise<h> {}
}
import {} from "@initencounter/vits";
ctx.vits.say(text);
NPM | REPO |
---|---|
Baidu-TTS | 百度智能云语音合成 |
Tencent-TTS | 腾讯云语音合成 |
Open-Vits | Vits 语音合成 |