curl --location --request POST 'https://api.uniapi.io/v1/audio/transcriptions' \
--form 'file=@""' \
--form 'model="gpt-4o-transcribe"'
{
"text": "string",
"logprobs": [
{
"token": "string",
"logprob": 0,
"bytes": [
0
]
}
]
}
gpt-4o-transcribe
、gpt-4o-mini-transcribe
和 whisper-1
en
)格式提供输入语言将提高准确性和延迟。logprobs
将返回响应中标记的对数概率,以了解模型对转录的置信度。logprobs
仅在将 response_format
设置为 json
时有效,并且仅与 gpt-4o-transcribe
和 gpt-4o-mini-transcribe
模型一起使用。response_format
设置为verbose_json
才能 使用时间戳粒度。支持以下一个或两个选项:word
或segment
。注意:分段时间戳不会增加额外延迟,但生成单词时间戳会增加额外延迟。