Authorization: Bearer ********************curl --location --request POST 'https://ai.tikhub.io/v1/audio/transcriptions' \
--header 'Authorization: Bearer <token>' \
--form 'file=@""' \
--form 'model=""' \
--form 'prompt=""' \
--form 'response_format="json"' \
--form 'temperature="0"' \
--form 'language=""' \
--form 'timestamp_granularities=""'{
"task": "transcribe",
"language": "en",
"duration": 8.52,
"text": "Hello everyone, welcome to the TikHub API demo. Today we will show how Whisper works.",
"segments": [
{
"id": 0,
"seek": 0,
"start": 0,
"end": 3.42,
"text": "Hello everyone, welcome to the TikHub API demo.",
"tokens": [
50364,
2425,
1134,
11,
3037,
281,
264,
2487,
6815,
4707,
13,
50514
],
"temperature": 0,
"avg_logprob": -0.21,
"compression_ratio": 1.12,
"no_speech_prob": 0.01,
"words": [
{
"word": "Hello",
"start": 0,
"end": 0.48
},
{
"word": "everyone,",
"start": 0.48,
"end": 1.12
},
{
"word": "welcome",
"start": 1.12,
"end": 1.78
},
{
"word": "to",
"start": 1.78,
"end": 1.95
},
{
"word": "the",
"start": 1.95,
"end": 2.12
},
{
"word": "TikHub",
"start": 2.12,
"end": 2.65
},
{
"word": "API",
"start": 2.65,
"end": 2.95
},
{
"word": "demo.",
"start": 2.95,
"end": 3.42
}
]
},
{
"id": 1,
"seek": 342,
"start": 3.42,
"end": 8.52,
"text": "Today we will show how Whisper works.",
"tokens": [
50514,
4280,
321,
486,
855,
577,
12355,
1987,
13,
50764
],
"temperature": 0,
"avg_logprob": -0.18,
"compression_ratio": 1.05,
"no_speech_prob": 0,
"words": [
{
"word": "Today",
"start": 3.42,
"end": 3.88
},
{
"word": "we",
"start": 3.88,
"end": 4.05
},
{
"word": "will",
"start": 4.05,
"end": 4.32
},
{
"word": "show",
"start": 4.32,
"end": 4.78
},
{
"word": "how",
"start": 4.78,
"end": 5.02
},
{
"word": "Whisper",
"start": 5.02,
"end": 5.75
},
{
"word": "works.",
"start": 5.75,
"end": 6.42
}
]
}
]
}