阿里云的TTS比较便宜,效果比不了开源克隆的那种,比纯机器人效果好一点点
阿里云sambert
   https://help.aliyun.com/zh/dashscope/developer-reference/quick-start-13 
 
 
 
   Sambert系列模型 1万字1元 ,每主账号每模型每月3万字免费 
 
 
 创建API-KEY
    https://dashscope.console.aliyun.com/apiKey 
  
 
  调用代码生成音频文件
    pip install dashscope 
  
 
  import dashscope
from dashscope.audio.tts import SpeechSynthesizer
dashscope.api_key='sk-xxx'
result = SpeechSynthesizer.call(model='sambert-zhimao-v1',
                                text='今天天气怎么样',
                                sample_rate=48000)
if result.get_audio_data() is not None:
    with open('output.wav', 'wb') as f:
        f.write(result.get_audio_data())
整合成工具软件
      适合直播场景下的循环播放录音 
    
 
    
      适合在循环录音队列里,临时插队播放录音 
    
 
    
      适合AI合成语音,使用阿里云TTS合成语音 
    
 
    
联系方式
vx: llike620



















