Skip to content

TranscriptData

This content is not available in your language yet.

SpeechToText 产物(错误时携错误码、text 为空串)。端侧按形状 识别:text + model 且无 images/videos/results/audio → Transcript 型产物。 空串 text 本身是合法转写(静音输入),不是零产物。

optional durationSec?: number;

optional errorCode?: string;

错误码(如 forbidden / asr_not_configured / model_not_authorized;成功缺席)。


optional language?: string;

model: string;

optional segments?: TranscriptSegment[];

optional taskId?: string;

异步任务号(平台任务径在场时恒携;GET /t1/asr/tasks/{taskId} 可找回)。


text: string;