HELP.md 752 B

关于tts语言生成的配置注意

  1. 需要实现 这个接口

    @Slf4j
    // 服务的名字就是配置文件中的名字
    @Service(value = "xf")
    public class XfTtsApi implements Tts {
            
    }
    
    1. 配置文件中 yaml thyy: tts: directory: D:\a.snapshot\resource\voice #文件存放的路径 speech-url: http://172.16.32.160:8080/resource/voice # 生成的地址 config: xf: # 这个key就是上面服务的名字不要写错 app-id: fdde4cef api-key: 95a78dd3cfcc4863e3c003352ca8ec65 api-secret: OWZjZGE4NjI3MDdkYzg4ZjllY2VjNGQ0 xxx: app-id: xxxx api-key: xxxxx api-secret: xxxxx