跳转到主要内容
GET
下载转写稿

授权

Authorization
string
header
必填

在 Authorization 请求头中传入 API Key(Bearer <api_key>)。见 鉴权。

查询参数

taskId
string
必填

转写任务 ID

format
enum<string>
默认值:srt

srt(默认)纯文本 SRT | json JSON 句段。不区分大小写,其他值返回 400。

可用选项:
srt,
json
speakers
boolean
默认值:false

为 true 时,有说话人信息的 SRT 条目前加 [Speaker N]。默认 false;true/false 以外的值返回 400。JSON 始终包含 speaker。

content
enum<string>
默认值:source

source(默认)原文转写稿 | translation 通过翻译转写稿得到的译文。译文每句的起止时间和说话人与原文相同。不区分大小写,其他值返回 400;还没有完成的译文时返回 409。

可用选项:
source,
translation

响应

默认返回 SRT 文本;format=json 时返回 JSON 结构。

The response is of type string.

示例:

"1\n00:00:00,000 --> 00:00:05,960\nWelcome to VMEG.\n\n2\n00:00:06,120 --> 00:00:09,480\nLet's get started.\n"