时间戳预测
请求参数
名称 | 类型 | 示例 | 描述 |
---|---|---|---|
Url | string | https://api.aicisl.org.cn/asr/timestamp | 访问地址 |
body | form-data | 上传的音频文件和输入的文本 | |
audio | bytes | 音频文件 | |
text | string | 测试时间戳 | 输入的文本 |
请求示例
curl --location 'https://api.aicisl.org.cn/asr/timestamp' \
--header 'X-API-KEY: ••••••' \
--form 'audio=@"/path/to/file"' \
--form 'text="测试时间戳"'
返回参数
名称 | 类型 | 描述 |
---|---|---|
text | string | 输入文本的音素 |
timestamp | list | 每个音素的时间戳(ms) |
返回示例
{
"text": "测 试 时 间 戳",
"timestamp": [
[290, 410],
[410, 570],
[570, 730],
[730, 850],
[850, 1050]
]
}