POST https://api.tokenhot.cn/v1/audio/transcriptionswhisper-1curl --location --request POST 'https://api.tokenhot.cn/v1/audio/transcriptions' \
--header 'Content-Type: application/json' \
--data-raw '{
"task": "transcribe",
"language": "chinese",
"duration": 5.24,
"text": "你好,这是一段测试音频。",
"words": [
{
"word": "你好",
"start": 0,
"end": 0.8
},
{
"word": "这是",
"start": 0.8,
"end": 1.5
}
],
"segments": [
{
"id": 0,
"start": 0,
"end": 5.24,
"text": "你好,这是一段测试音频。"
}
]
}'{
"text": "你好,这是一段测试音频。"
}