文字转语音API接口
三秋API接口站
>>
文字转语音API接口
接口地址
https://api.ghser.com/yuyin
返回格式
JSON
请求方式:
GET
请求示例:
https://api.ghser.com/yuyin?txt=内容
调用效果
参数说明
名称
必填
类型
说明
txt
是
string
输入内容
per
否
string
男声or女声(1-6)
返回数据
音频直接输出
调用实例
<audio src="https://api.ghser.com/yuyin/?txt=一叶三秋本人也太帅了吧!我简直爱了爱了呀!!" controls="controls">
评论