Python调用百度AI合成语音
# -*-coding = utf-8 -*-
from aip import AipSpeech
APP_ID = ''
APP_Key = ''
Secret_Key = ''
client = AipSpeech(APP_ID,APP_Key,Secret_Key)
result = client.synthesis('他是您儿子张张张','zh',1,{'vol':5,'per':3,'spd':3,})
if not isinstance(result, dict):
with o
原创
2021-07-27 17:06:41 ·
332 阅读 ·
0 评论