from aip import AipImageSearch
#安装模块
#pip install baidu_aip
app_id = ""
api_key = ""
secret_key = ""
client = AipImageSearch(app_id,api_key,secret_key)
txt = '惊鸿快来抢红包了,惊鸿快来啊!'
result = client.synthesis(txt,"zh",1,{
"vol":15,#音量
"spd":4,#语速
"pit":7,#音调
"per":4#萝莉音
})
with open("hb.mp3","wb") as qhb :
qhb.write(result)
疑问:AipImageSearch对象没这个属性synthesis?
大神们有知道的麽?