Skip to content

SpeechData

This content is not available in your language yet.

TextToSpeech 产物。端侧按形状识别:audio.mime 在场 → Speech 型 产物。错误形 audio 缺席(恒不伪造音频对象),billedChars 为 0。

optional audio?: SpeechAudio;

billedChars: number;

计费字符数(= 上游成功报量;错误时 0)。


optional errorCode?: string;

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


model: string;

optional taskId?: string;

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