文字转语音,我们致力于为用户提供专业的免费API数据接口服务
文字转语音
https://qhapi.com/api/texttospeech/api.php
https://qhapi.com/api/texttospeech/api.php?apikey=你的API密钥(登录后获取)&text=文本内容&voice=voice&speed=speed
点击右侧按钮复制完整请求地址,参数值请替换为实际有效值
| 参数名 | 是否必填 | 参数类型 | 参数说明 |
|---|---|---|---|
|
apikey
|
是 | string |
你的API密钥(登录后获取)
点击登录获取秘钥 |
|
text
|
否 | string | 文本内容 |
|
voice
|
否 | string | voice |
|
speed
|
否 | string | speed |
| 参数名 | 参数类型 | 参数说明 |
|---|---|---|
|
text
|
string | 文本内容 |
|
voice
|
string | voice |
|
speed
|
string | speed |
|
audio_url
|
string | audio_url |
{
"code": 200,
"msg": "success",
"data": {
"text": "文本内容",
"voice": "示例值",
"speed": "示例值",
"audio_url": "示例值"
}
}